runs the first time before the @ surrogate:
test page:
Code: Select all
<script src="http://domain.invalid/"></script>
Code: Select all
noscript.surrogate.normal.sources=*
noscript.surrogate.normal.replacement=console.log('normal surrogate');
noscript.surrogate.@.sources=@*
noscript.surrogate.@.replacement=console.log('@ surrogate');
Code: Select all
[05:56:03.622] normal surrogate @ chrome://noscript/content/ScriptSurrogate.js:193
[05:56:03.627] @ surrogate @ http://localhost/tests/surrogates/normal-simple.htm:10
[05:56:03.631] normal surrogate @ http://localhost/tests/surrogates/normal-simple.htm