Answer the question
In order to leave comments, you need to log in
How can I change the script download address with an extension?
The general task is this: you need to redefine js functions on a specific page using an extension.
In Chrome, the issue is solved using the function chrome.webRequest.onBeforeRequest.addListener
For example, there is a page:
<head>
<script type="text/javascript" src="http://mozilla.org/script.js" />
</head>
<body>
..
</body>
http://my-mozilla.org/script.js
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question