Block unwanted sites from your Google, DuckDuckGo, Startpage.com, Bing and Yahoo search results. v2.3.5 2025-03-21
< Commentaires sur Google Hit Hider by Domain (Search Filter / Block Sites)
I have fixed the issue on my system by doing this:
encapsulate the whole code inside
var inited;
function init() {
if (inited++) return;
[... your code here ...]
}
if (document.readyState != 'loading') init();
else {
document.addEventListener('DOMContentLoaded', init);
window.addEventListener('load', init);
}
And set the userscript to run at document-start
It doesn't work properly on duckduckgo.
The "block" button only appears in one out of 5-10 pages (re)load. Also, hidden hosts are not hidden when the button doesn't appear.