But that doesn't seem to work. Testcase:Giorgio Maone wrote:Rather than putting the code in the noscript.surrogate.xyz.replacement preference, put there a file:/// URL pointing at your local external script.
NS 2.6.8.8rc1
create the following prefs:
Code: Select all
noscript.surrogate.foo.sources : @noscript.net
noscript.surrogate.foo.replacement : file:///full/path/to/Dummy.js
Code: Select all
alert("Cuckoo from local file");