你正在訪問的內容是外部程式的映像位址,僅用於使用者加速訪問,本站無法保證其可靠性。當前的連結位址(單點即可複製)為 https://greasyfork.org.cn/zh-CN/scripts/12182-better-google/discussions/21122,源站連結 點此以跳轉

Better Google

Add 'quick search' input and 'go to top' button for Google. Also highlight search terms.

< 脚本 Better Google 的反馈

提问 / 留言

§
发布于:2018-02-12

Broken

The main thing this script is supposed to do is highlight and it's flat out broken. These lines do NOT properly set the foreground color leaving the "highlighting" to be unreadable white text with light highlight colors:

style.color = '#000000' + '!important';

I think you need to rework the way you're attempting to override the foreground color because the above simply does not work.

§
发布于:2018-02-12

Update:

Line 52 and 110 to this:

em.style.setProperty ("color", "#000000", "important");

And the script highlighting will now work properly.

If you use this change please credit me in the script comments since I had to go through the work of debugging this to come up with the resolution.

发布留言

登录以发布留言。