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.5 2025-03-21

< 腳本Google Hit Hider by Domain (Search Filter / Block Sites)的回應

提問/評論

§
發表於: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.

§
發表於:2019-09-16

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

§
發表於: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.

§
發表於: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.

§
發表於:2019-12-29

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

發表回覆

登入以回復

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址