How to change a websites content with an addon?
Additional System Details
- User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0
What kind of changes were you thinking of making? If you want to block content by domain, an extension like uBlock Origin or uMatrix might be useful, although I don't use them regularly myself.
> What kind of changes were you thinking of making? If you want to block content by domain, an extension like uBlock Origin or uMatrix might be useful, although I don't use them regularly myself.
some of the scripts are loaded form an external source. other are not ,depends on the page. Often the scipts are embedded right into the original html page right next to the 'useful' scripts in this case addons like noscript and adbock cannot block then without also blocking the useful scripts. Often those scripts are executed on-load so in order to prevent thme form starting i need to remove them from the orginal page source as earily as possible.
> Try: FoxReplace: https://addons.mozilla.org/firefox/addon/foxreplace/
Thx, i tried a but it seems like this replaced the text after the page is loaded and (the original text appears for a half second before it got automatically replaced when i tested it) unlike the proxy solution i previously used (which changed the page before any html parsing was done on it). Not sure yet whether that it a problem im my case.
You would have to use a proxy filter application (e.g. privoxy) if you want to intercept and modify content before this arrives in Firefox.
> You would have to use a proxy filter application (e.g. privoxy)
well yes i am using privixity now, and im 100% happy with it except that it doesn't work for https, and i thought fixefoix might allow to inject preprocessing directly after the content is decrypted but before it is processed otherwise.