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

Block unwanted sites from your Google, DuckDuckGo, Startpage.com, Bing and Yahoo search results. v2.2.8 2023-07-19

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

Review: Good - script works

§
Posted: 2018-08-27

Adjust partial domain does nothing

Hi Jefferson,

when searching for certain domains, you may have results like example.com.websiteoutlook.com. Now I wanted to block websiteoutlook.com but couldn't as only com.websiteoutlook.com is offered as alternative and clicking the "adjust partial domain" button on the right (labeled with ~) didn't do anything visible.

As manually adding to the list in the manager also doesn't work, I just used "import" as a workaround which went well.

Example: https://www.google.com/search?q=kodi.com+websiteoutlook.com

So what should "adjust partial domain" actually do? And is the button liberately labeled ~ only which is ambiguous?

Thank you for this excellent and essential script!

Using latest stable software: Firefox 61.0.2 x64 Tampermonkey 4.7.5788 GHHD 1.9.8

§
Posted: 2018-08-27

Sorry, I introduced an error on January 20th and I didn't notice it at the time. The code at line 1080-1082 is:

function adjpartdom(e){ // v1.8.1
  var pspan = document.getElementById("ghhpartdom").replace('...', '');
  var parts = pspan.textContent.split(".");

but it should be

function adjpartdom(e){ // v1.8.1
  var pspan = document.getElementById("ghhpartdom");
  var parts = pspan.textContent.replace('...', '').split(".");

So I'll need to fix that in the next release, maybe overnight.

Historical reference: https://greasyfork.org/en/scripts/1682-google-hit-hider-by-domain-search-filter-block-sites/diff?v1=244685&v2=236855

§
Posted: 2018-08-27

Thank you for the fast response and fast fix!

§
Posted: 2018-08-28

Okay, version 1.9.9 should fix this. Thanks!

§
Posted: 2018-08-28

Installed, tested, works! thumbsup

Post reply

Sign in to post a reply.