Better Google (Updated)

Don't be evil

< 腳本Better Google (Updated)的回應

評論:正評 - 腳本一切正常

§
發表於:2025-03-19

v0.1.23 doesn't work

re11ding作者
§
發表於:2025-03-21

I'm working on it, but it seems Google broke something involving the MutationObserver and I'm not quite sure how to fix it right now.

re11ding作者
§
發表於:2025-03-21

Should be fixed now!

§
發表於:2025-03-21

Yes, it works. Of course together with Complete Google Search Font Fix.

But can you change Title first and URL below?

re11ding作者
§
發表於:2025-03-21

I just pushed out a fix that should have remedied that. If updating didn't fix it, I'm going to need you to upload a zip of a complete webpage save of any search you do, which includes the one you just screenshotted, so I can see why it works for me and not for you due to Google's A/B testing.

§
發表於:2025-03-21

Good thing you told me. I deleted "browsing data and cookies" from Firefox and now it works properly. Thanks for everything!

§
發表於:2025-03-21

One thing I noticed "Translate this page" looks strange.

re11ding作者
§
發表於:2025-03-21

That problem has existed for a while. I will be honest, I have struggled to fix it. From my understanding, it might have something to do with how the ... menu is moved, but I have tried so many different things to make it so the "Translate this page" option isn't all messed up. I'll keep working on it, but I don't know if I can guarantee a fix without help.

§
發表於:2025-03-21

I understand. Well, can you remove "Translate this page" completely?. I prefer to use this script without "Translate this page".

re11ding作者
§
發表於:2025-03-21
編輯:2025-03-21

Give me a little time. I might have a solution that works better. I might just remove the image that causes it to do that since it's rather useless anyway.
I don't want to hide them because there are plenty of people who do use the translation option, after all.

For now, add this to a new line after line 107:
style.sheet.insertRule('.eFM0qc.BCF2pd { display: none !important; }'); //For removing "Translate This Page"
That'll do as you're asking.

§
發表於:2025-03-21

Thanks. I don't know why images are shown in google search... I remember that in the past there were none.

re11ding作者
§
發表於:2025-03-21

Good news, I have fixed the issue. I decided to take a different approach. Instead of using CSS to try and fix it, I tried slotting it in with the url itself to see if it made a difference. It did! So I made that happen accordingly in the script.

§
發表於:2025-03-21

Yes, you did a good job. I appreciate you taking the time to solve the problem. Everything works as it should. Thanks!

發表回覆

登入以回復

QingJ © 2025

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