Greasy Fork is available in English.
يضيف إجابات AI إلى Google Search (مدعوم بواسطة Google Gemma + GPT-4o!)
hey @dong wei can you scroll to GoogleGPT so I can see?
This is already at the top of the page and does not show the GoogleGPT
@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?
I'm not a programmer. Do you need all the source code of the current page when this situation occurs?
No just around here
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)
I'm sorry, I can't complete this operation on my phone. I can only view some source code.
@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?
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
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
Here is the URL where this issue occurs: https://www.google.com/search?q=meddlemonkey. I don't know if this helps.
thank you @dong wei I fixed it
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 adam@kudoai.com ?
I'm using it on my phone, see picture, and sometimes it does this, a blank section appears on the right side?