Google site: Tool (Site results / Exclude sites)

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

< 脚本 Google site: Tool (Site results / Exclude sites) 的反馈

评价:差评 - 脚本失效或无法使用

§
发布于:2025-03-22
编辑于:2025-03-22

The script has stopped working since the last google redesign.

§
发布于:2025-03-23

Hopefully fixed in v1.5.3, posted just now.

§
发布于:2025-03-23

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

§
发布于:2025-05-08

It has stopped working again.

§
发布于:2025-05-08

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

§
发布于:2025-05-29

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.

§
发布于:2025-05-29

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
§
发布于:2025-05-29

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):

§
发布于:2025-05-29

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.

§
发布于:2025-06-02
编辑于:2025-06-02

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

发布留言

登录(不可用)以发布留言。

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址