continuing to fail at surrogates
Posted: Sat Jul 17, 2010 3:41 pm
i want to simply alert "test" using a fallback surrogate. i created an HTML file on my desktop and added the following line to my user.js file:
the reason it's formatted that way is because i was trying to use something provided to me in this thread:
http://forums.informaction.com/viewtopi ... 370#p18370
of course, since the file is on my desktop, noscript defaultly automatically blocks JS from running (which i dont like, but i digress)
why can i never get these to work!!! (rhretorical final statement)
Code: Select all
user_pref("noscript.surrogate.test.replacement", "addEventListener('DOMContentLoaded', function(ev) { alert('test')}, true)");
user_pref("noscript.surrogate.test.sources", "!*");
http://forums.informaction.com/viewtopi ... 370#p18370
of course, since the file is on my desktop, noscript defaultly automatically blocks JS from running (which i dont like, but i digress)
why can i never get these to work!!! (rhretorical final statement)