Getting “net::ERR_BLOCKED_BY_CLIENT” error on some AJAX calls

AdBlockers usually have some rules, i.e. they match the URIs against some type of expression (sometimes they also match the DOM against expressions, not that this matters in this case). Having rules and expressions that just operate on a tiny bit of text (the URI) is prone to create some false-positives… Besides instructing your users … Read more

Accessing Variables from Greasemonkey to Page & vice versa

Greasemonkey scripts operate in a separate scope and may also operate in a sandbox, depending on the @grant settings. Additionally, the question code isolates greasy in a function scope (as gladoscc said). Finally, by default, test.js will fire before the Greasemonkey script does, so it won’t see any set variables, anyway. Use @run-at document-start to … Read more

How to open the correct devtools console to see output from an extension script?

Your code is correct as written, it works and outputs to console. If you are not seeing it, then you are, probably, looking at the wrong console. 1. Firefox Mozilla describes what extension output can be seen in which console in their Debugging article. Browser Console The Browser Console no longer shows output from WebExtensions … Read more