Didn't one of those extensions had an option to regexp replace content of JS files ? (Now how to do that: with parsing - or with magical chains ??:)
Right, that could be nice use of AI to extract only the good parts - or, at least, to adjust the rules for https://addons.mozilla.org/en-GB/firefox/addon/requestcontro... by function.