Post Reply 
GM_function (+example) - Run Greasemonkey script on ALL browser with Privoxy
Aug. 06, 2018, 04:38 PM
Post: #13
RE: GM_function (+example) - Run Greasemonkey script on ALL browser with Privoxy
(Jul. 26, 2018 10:04 PM)ryszardzonk Wrote:  That try above resulted in "ReferenceError: unsafeWindow is not defined" leading me into https://developer.mozilla.org/en-US/docs...ot_defined so I tried below method. No error no appeared, but does that even work? No popops/pounders were blocked when I used it.

unsafeWindow is window in javascript, you can emulate unsafeWindow by adding

unsafeWindows = window;

This should fix the above error, and if I recall correctly, my GM_function.js should emulate unsafeWindow already...
Add Thank You Quote this message in a reply
Post Reply 


Messages In This Thread
RE: GM_function (+example) - Run Greasemonkey script on ALL browser with Privoxy - cattleyavns - Aug. 06, 2018 04:38 PM

Forum Jump: