Injection Method
|
|
Instead of wrapping all your code in a function and appending it to the page you could put this at the top of your script:
if(window.wrappedJSObject){location.href='javascript:('+arguments.callee+')()';return}
|
|
|
Instead of wrapping all your code in a function and appending it to the page you could put this at the top of your script:
if(window.wrappedJSObject){location.href='javascript:('+arguments.callee+')()';return}
|