Block unwanted sites from your Google, DuckDuckGo, Startpage.com, Bing and Yahoo search results. v2.1.9 2021-01-12
< Feedback on Google Hit Hider by Domain (Search Filter / Block Sites)
I stopped testing with GM version 3.x quite a while ago, but I have a thought.
You probably know that Greasemonkey 4.x changed the API names. For example, GM_getValue changed to GM.getValue. In order to accommodate both, there is a line of code that sets a switch for Greasemonkey 4.x to treat it differently from Greasemonkey 3.x, Tampermonkey, and Violentmonkey.
In version 2.1.5, I modified that code to provide initial support for the new FireMonkey extension. That change remains in version 2.1.9, and is the only thing I can think of that might be causing a complete script failure on GM 3.x.
As a test, try installing version 2.1.9 and then manually editing the following line in the script from its version 2.1.5+ code to its version 2.1.4 code:
Line 57 in 2.1.9 (changed in version 2.1.5):
var GM4 = (typeof GM_getValue === "undefined") ? true : false;
Replace current Line 57 with the code from version 2.1.4:
var GM4 = (typeof GM.getValue === "undefined") ? false : true;
Does that let version 2.1.9 work on GM 3.11 ?
Sign in to post a reply.