Reputation: 12194
I have some HTML pages that need to be run from a local DVD. The HTML pages use jQuery and knockout.js.
They run fine on Firefox, Safari, Chrome but from IE9, for every page, I get an Internet Explorer restricted this webpage from running scripts or ActiveX Controls
message. The pages need to be executed from the local DVD so that I cannot be sure that users change the security level of their browser. Is there a way to avoid the message from HTML pages/script?
Upvotes: 3
Views: 8789
Reputation: 14279
Moves scripts down-path from your HTML. ../scipts/ will not work. {yourhtmlpageroot}/scripts/
if they are upstream from the DOM page, security violations occur because the browser thinks the page is trying to access scripts somewhere else on your machine since it is up-stream of the document path.
Upvotes: 4