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.3 2024-12-08

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

Review: قالتىس - قوليازما ئىشلەيدۇ

Deleted user 22768
§
يوللانغان ۋاقتى: 2020-10-30
تەھرىرلەنگەن ۋاقتى: 2020-10-30

The block button has vanished on goggle fix it please

Jefferson Scherئاپتور
§
يوللانغان ۋاقتى: 2020-10-30

Hi, two questions:

(1) What browser and user script extension do you use? For example: Firefox + Violentmonkey, Chrome + Tampermonkey

(2) In case Google has changed the layout of the results page, but I don't see the change yet, can you share some page code from a basic search (nothing personal)? Here's how:

After running your search, right-click a little to the left of the first organic web result and choose Inspect. This should open the Developer Tools with that element highlighted in the HTML panel.

When you hover the mouse over that HTML tag, a blue overlay in the page should show that it contains the organic search results.

Right-click that HTML tag > Copy > outerHTML

Then create a new paste on https://pastebin.com/ and in the "Syntax Highlighting" selector, choose HTML. You can give it a name if you like. Here's an example of what you could expect to see after the submission appears with its unique URL:

https://pastebin.com/aQvQ2N12

Hopefully I can figure out what is different on yours and update the script.

Deleted user 22768
§
يوللانغان ۋاقتى: 2020-10-31

Microsoft Edge Tampermonkey

https://pastebin.com/1AYp1giT

Jefferson Scherئاپتور
§
يوللانغان ۋاقتى: 2020-10-31

Thank you for testing on Edge. (I don't.)

What I see in the Pastebin is something like part of the interior content of one result. I am interested in seeing the structure of the entire results section. Could you post more code? You may need to scroll up in the HTML tree to find the outer elements. For me, a typical Google organic results section currently has this general structure:

...
<div id="rcnt">
  ...
    <div id="res">
      ...
        <div id="rso">
          <div class="g"> (one of these for each result)

This information feeds into the code on a line like this to try to match all the variations of Google results pages we've seen over the years:

liels = document.querySelectorAll("#res li.g, #res div.srg div.g, #res div._NId div.g, #res div._bkWMgd div.g, #res #rso div.g, #res #GTR div.g, #res #isr_mc, g-section-with-header g-scrolling-carousel g-inner-card, g-card div.dbsr, g-card");

Thanks.

Deleted user 22768
§
يوللانغان ۋاقتى: 2020-11-01

ok THIS time i made sure it was next to

https://pastebin.com/bWTmv4K8

Jefferson Scherئاپتور
§
يوللانغان ۋاقتى: 2020-11-01

Thanks, but could you try copying from a few more levels up because my code is trying to match these patterns and I need to see where the difference is:

  • <div id="res"> ... <div class="srg"> ... <div class="g">
  • <div id="res"> ... <div class="_NId"> ... <div class="g">
  • <div id="res"> ... <div class="_bkWMgd"> ... <div class="g">
  • <div id="res"> ... <div id="rso"> ... <div class="g">
  • <div id="res"> ... <div id="GTR"> ... <div class="g">

(For reference, when I search multiverse unstable in Firefox with Violentmonkey, there's a block button for the main headline of the result, but not the individual pages grouped below it.)

Deleted user 22768
§
يوللانغان ۋاقتى: 2020-11-11
Jefferson Scherئاپتور
§
يوللانغان ۋاقتى: 2020-11-11

Sorry, but this is the same thing. The paste starts with <div class="g"> and as mentioned in an earlier reply, I need you to click further up in the HTML tree to get the structure of the results section.

Deleted user 22768
§
يوللانغان ۋاقتى: 2020-11-12

https://pastebin.com/ZfnNwtnx

and THIS time i'm including a screen grab of where i'm clicking

Deleted user 22768
§
يوللانغان ۋاقتى: 2020-11-12

screen grab 1

Deleted user 22768
§
يوللانغان ۋاقتى: 2020-11-12

screen grab 2

Jefferson Scherئاپتور
§
يوللانغان ۋاقتى: 2020-11-12

Thanks for the screenshots. As you glace up the HTML tree, you see the <div> element with id="rso". I think this is starting to look normal, but to confirm that, keep working your way up and look for the <div> element with id="res". You can compare with another browser.

If that is all normal, there might be some difference in the way Edge/Tampermonkey works compared with Chrome/Tampermonkey.

Deleted user 22768
§
يوللانغان ۋاقتى: 2020-11-18
تەھرىرلەنگەن ۋاقتى: 2020-11-18

I don't what happened but it's working on Google on Edge again

sorry if bothered but thanks for the help and having patience

Jefferson Scherئاپتور
§
يوللانغان ۋاقتى: 2020-11-18

Maybe it was a Google experiment? We waste so much time with those.

جاۋاب قايتۇرۇش

جاۋاب قايتۇرۇش ئۈچۈن كىرىش.