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)

Question/comment

§
Posted: 2019-05-10

Unable to block ftp address

Hello,

The script does not provide a block button for the address of the ftp protocol.

Please try searching for the keyword "ftp://ftp" to view it.

Thank you.

§
Posted: 2019-09-16

For example, Search keyword ftp://192.192.140.250/AI/NLP/BosonNLPsentimentscore.txt

§
Posted: 2019-09-16

Yes, the script skips over URLs that do not not start with http or match certain other patterns (lines 491-494). It then extracts the relevant parts of the URL by looking for http in the result link (lines 495-502).

Those lines definitely need to be modified to match ftp:// links as well. Possibly some other lines would also need to be modified.

§
Posted: 2019-09-17

In preliminary testing, changing

ahref.indexOf("http")

to

ahref.search(/http|ftp/i)

on lines 491 and 495 solves it. However, I need to use it for several days to be confident. If you want to try that, you can make the edits on your installed copy of the script.

§
Posted: 2019-12-29

I assume that worked. It is included in today's 2.1.1 update.

Post reply

Sign in to post a reply.