GoogleGPT 🤖

Adds AI answers to Google Search (powered by Google Gemma + GPT-4o!)

< Feedback on GoogleGPT 🤖

Question/comment

§
Posted: 2024-06-11

I'm using it on my phone, see picture, and sometimes it does this, a blank section appears on the right side?

adamluiBanned
§
Posted: 2024-06-11
Edited: 2024-06-11

hey @dong wei can you scroll to GoogleGPT so I can see?

§
Posted: 2024-06-11

This is already at the top of the page and does not show the GoogleGPT

adamluiBanned
§
Posted: 2024-06-11

@dong wei I see, the cause appears to be sometimes on mobile, Google formats the page different when it shows extra info. So this part of my code:

// APPEND to Google
const centerCol = document.querySelector('#center_col')
const hostContainer = isMobile ? centerCol

... needs to be fixed, either #center_col exists but this special layout pushes it off-screen, or #center_col does not exist

Are you a programmer by the way? Do you know how to screenshot the source code of Google page?

§
Posted: 2024-06-11

I'm not a programmer. Do you need all the source code of the current page when this situation occurs?

adamluiBanned
§
Posted: 2024-06-11

No just around here

§
Posted: 2024-06-11

Does this help you?

adamluiBanned
§
Posted: 2024-06-11

Yes, can you paste/send this in the console, does it return true

/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)

§
Posted: 2024-06-12

I'm sorry, I can't complete this operation on my phone. I can only view some source code.

adamluiBanned
§
Posted: 2024-06-19

@dong wei the next time it happens, do you think you could share the URL so maybe it can preserve the special HTML and I can fix?

§
Posted: 2024-06-20

I can share the URL, but usually this happens randomly. That is, the same URL might show this issue on the first refresh, but it becomes normal after a few more refreshes

adamluiBanned
§
Posted: 2024-06-20

I see, this is actually a really easy fix as long as I can see the HTML, in fact it happened once to me before in Android Waterfox browser. Hopefully one of us ccan catch the HTML one day when it rarely occurs

§
Posted: 2024-06-21

Here is the URL where this issue occurs: https://www.google.com/search?q=meddlemonkey. I don't know if this helps.

adamluiBanned
§
Posted: 2024-06-22
Edited: 2024-06-22

thank you @dong wei I fixed it

adamluiBanned
§
Posted: 2024-06-22

Actually never mind I fixed it for yet a different special mobile view, yours is still different, can you tap the copy icon next time in source code, then email it to [email protected] ?

Post reply

Sign in to post a reply.