D
D
del9937882019-12-22 10:35:26
JavaScript
del993788, 2019-12-22 10:35:26

How to disable certain scripts on the site?

Hello. Is there an add-on "User javascript and css" with which you can add a script, but is it possible to disable certain scripts on the site? I just wanted to replace the script with my own, but first I need to disable the script from the site

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Aetae, 2019-12-22
@del993788

The script can be blocked with an ad blocker. (you don't use blockers? are you crazy?)
In most cases, you don't need to block anything, just change the necessary parts at the js level:
1. run the script on document-start;
2. hang up a getter on a global variable (if any) or replace standard things (eg XMLHttpRequest).

V
Vladimir Korotenko, 2019-12-22
@firedragon

Use the noscript extension.
Well, or use https://www.telerik.com/fiddler
There you can do a lot of things to replace scripts, cookies, tokens, forms and other things

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question