I'm working on a project that requires my user script be run on pages as they are rendered without executing any of the page's JavaScript. That is to say, we need to browse with JavaScript disabled.
I've encountered a problem though when I try to delay execution of a function within my script. Whenever I make a call to window.setTimeout
, the function I pass in never gets executed.
I think maybe this function is actually getting called on unsafeWindow
instead of window. Is there any workaround for this?
I should mention that calls to setTimeout
work fine when JavaScript is enabled and everything else in my script is working fine without enabling JavaScript.
Thanks for your help!