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?

adamluiAuthor
§
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

adamluiAuthor
§
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?

adamluiAuthor
§
Posted: 2024-06-11

No just around here

§
Posted: 2024-06-11

Does this help you?

adamluiAuthor
§
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.

Post reply

Sign in to post a reply.