Better Google

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

< Feedback on Better Google

Question/comment

§
Posted: 12.2.2018

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.

§
Posted: 12.2.2018

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.

Post reply

Sign in to post a reply.