X
Tap here to go to the mobile version of the site.

Support Forum

How to change a websites content with an addon?

Posted

Is there an addon that enables me to change a websites content (with some regex replace or similar) before it loads to get rid of annoying javascripts that steal my pcs hw resources? I was previously using Privoxy filters but that doesn't work with https which became quite more common recently, but since the browser should be able to edit the page after its decrypted i thought there could be an addon for that.

Is there an addon that enables me to change a websites content (with some regex replace or similar) before it loads to get rid of annoying javascripts that steal my pcs hw resources? I was previously using Privoxy filters but that doesn't work with https which became quite more common recently, but since the browser should be able to edit the page after its decrypted i thought there could be an addon for that.
Quote

Additional System Details

Application

  • User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0

More Information

jscher2000
  • Top 10 Contributor
6008 solutions 49351 answers

Helpful Reply

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.
Was this helpful to you? 2
Quote
cor-el
  • Top 10 Contributor
  • Moderator
14917 solutions 135379 answers
Try; *FoxReplace: https://addons.mozilla.org/firefox/addon/foxreplace/
Was this helpful to you?
Quote

Question owner

> 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.

> 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.
Was this helpful to you?
Quote
cor-el
  • Top 10 Contributor
  • Moderator
14917 solutions 135379 answers

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) if you want to intercept and modify content before this arrives in Firefox.
Was this helpful to you?
Quote

Question owner

> 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.

> 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.
Was this helpful to you?
Quote
Ask a question

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.