Google Hit Hider by Domain (Search Filter / Block Sites)

Block unwanted sites from your Google, DuckDuckGo, Startpage.com, Bing and Yahoo search results. v2.3.2 2024-08-31

< 脚本Google Hit Hider by Domain (Search Filter / Block Sites)的反馈

评价:好评 - 脚本运行良好

§
发表于:2015-07-23

Compatibility fix for GoogleMonkeyR

Not sure if it changed recently, but the "block" button was appearing all over the place with my particular copy of GoogleMonkeyR. I fixed by commenting out these GoogleMonkeyR-specific lines:

// if (linkwidth > 509) linkwidth = 509; // fix rare weirdness 2/4/2013
// btn.setAttribute("style","position:absolute;top:0;right:"+((-1 * btn.offsetWidth)+(apar.parentNode.offsetWidth-linkwidth)-3)+"px;margin-right:0;z-index:100;"); // position past end of link
// if (apar.parentNode.nodeName=="LI"||apar.parentNode.nodeName=="DIV") apar.parentNode.style.position="relative";

I also use this custom style rule to make the button even more unobtrusive (I have #e5ecf9 as my GoogleMonkeyR background color):

button.ghhider{background-color:#e5ecf9;position:absolute;top:0;right:0px;margin-right:0;}

Thanks for the amazing script.

§
发表于:2015-07-23

Thank you for the report. Was this caused by last night's update of this script, or yesterday's change to Google, or was it an issue that existed before yesterday? I haven't used GoogleMonkeyR for at least six months, so I haven't been paying attention to the interaction.

§
发表于:2015-07-25

I believe it was yesterday's change to Google.

§
发表于:2015-08-03

Hi,
Thank you for update Jefferson :)

发表回复

登录以发表回复。