Google site: Tool (Site results / Exclude sites)

Easily add site: or -site: to modify your current Google query. v1.5.3 2025-03-22

< Feedback on Google site: Tool (Site results / Exclude sites)

Review: Bad - script does not work

§
Posted: 22.03.2025
Edited: 22.03.2025

The script has stopped working since the last google redesign.

§
Posted: 23.03.2025

Hopefully fixed in v1.5.3, posted just now.

§
Posted: 23.03.2025

Works great, thanks for your lightning fast response solving the issue.

§
Posted: 08.05.2025

It has stopped working again.

§
Posted: 08.05.2025

Yes, it seems that the event I attach to the cite line is being ignored now, but I'm not sure why.

§
Posted: 29.05.2025

Do you think right now it is impossible to fix? Have you tried using an AI to guess what could happen to the code?

Thanks.

§
Posted: 29.05.2025

I discussed it with ChatGPT but none of its suggestions worked. https://chatgpt.com/share/6837d748-3410-800c-879f-66ea21767f65

Ultimately, I decided it was necessary to move the whole block containing the icon, site name and cite out of the link. This caused various things to turn upside down until I could figure out how to turn that off. What a nightmare. Can you test a patch? It goes just before this line:

cite.addEventListener("click", gst_showSiteForm, false);

Create a new line before that and paste:

              // BEGIN PATCH for unclickable cite in link 5/28/2025
                var parentA = cite.closest('A, a');
                if (parentA) var parDiv = parentA.querySelector('h3 + br + div');
                if (parDiv){
                  // Move cite above the link (visually, no change, hopefully)
                  parDiv.parentNode.before(parDiv);
                  // Fix the position switching styles
                  parDiv.style.transform = 'none';
                  parDiv.parentNode.style.transform = 'none';
                  parentA.querySelector('h3').style.transform = 'none';
                }
              // END PATCH
§
Posted: 29.05.2025

Thanks! I have tested the patch, the script works again but the results are not being displayed well, the title/link to the result appears on the right side, as if there was no line break, here are two screenshots for the same result (with and without the script enabled):

§
Posted: 29.05.2025

Hi Floyd, I just noticed that this morning, too. It seems that Google's layout rules try to get them on one line if they could fit. More to work on after hours.

Post reply

Sign in to post a reply.