Search code examples
javascriptinternet-explorer-8blockingsiebel

Is there a way to block foreign javascript/bookmarklet execution from within a html page?


For example: Would it be possible to prevent the execution of a bookmarklet with the help of javascript?

Background: I'm testing Oracle Siebel with IE8 and since the new version, bookmarklets simply do not work. No feedback, no error. Verified on multiple clients. If running the code in question via script console, it works.

I believe Siebel might be blocking bookmarklets somehow due to security, but how?


Solution

  • That's not possible. Bookmarklets run in the context of the active website. Probably they simply changed something breaking the bookmarklet.