Google site: Tool (Site results / Exclude sites)

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

< Rückmeldungen auf Google site: Tool (Site results / Exclude sites)

Rezension: Fehler - Skript funktioniert nicht

§
Veröffentlicht: 22.03.2025
Bearbeitet: 22.03.2025

The script has stopped working since the last google redesign.

Jefferson ScherVerfasser
§
Veröffentlicht: 23.03.2025

Hopefully fixed in v1.5.3, posted just now.

§
Veröffentlicht: 23.03.2025

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

§
Veröffentlicht: 08.05.2025

It has stopped working again.

Jefferson ScherVerfasser
§
Veröffentlicht: 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.

§
Veröffentlicht: 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.

Jefferson ScherVerfasser
§
Veröffentlicht: 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
§
Veröffentlicht: 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):

Jefferson ScherVerfasser
§
Veröffentlicht: 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.

§
Veröffentlicht: 02.06.2025
Bearbeitet: 02.06.2025

Here are the results from my conversation with Google AI Studio, which is currently working as expected.

This output includes references to your conversation with ChatGPT and the discussion thread mentioned.

It's usable at the moment, and I've provided the conversation history for your reference.

Since English isn't my native language, I really appreciate you creating this helpful little tool that allows us to enjoy using Google! ^^

https://aistudio.google.com/app/prompts?state=%7B%22ids%22%3A%5B%221uV2VD2s9iJxBETwfJQf_jnahj10cLBtz%22%5D%2C%22action%22%3A%22open%22%2C%22userId%22%3A%22112144974410804356191%22%2C%22resourceKeys%22%3A%7B%7D%7D&usp=drive_link

Antwort schreiben

Anmelden um eine Antwort zu senden.