Windows Vista Tips

Windows Vista Tips > Newsgroups > Internet Explorer > Script blocked in IE7

Reply
Thread Tools Display Modes

Script blocked in IE7

 
 
Gianni
Guest
Posts: n/a

 
      06-04-2010
I am running/testing JavaScript in IE7 and I get the
following message.

"To help protect your security IE has restricted this
webpage from running scripts or ActiveX controls that
could access your computer."

Is there some setting that I could change to not get
the blocking? The testing works fine in Firefox.
 
Reply With Quote
 
 
 
 
Dan
Guest
Posts: n/a

 
      06-04-2010

"Gianni" <> wrote in message
news:#tHvXW#...
> I am running/testing JavaScript in IE7 and I get the
> following message.
>
> "To help protect your security IE has restricted this
> webpage from running scripts or ActiveX controls that
> could access your computer."
>
> Is there some setting that I could change to not get
> the blocking? The testing works fine in Firefox.


Are you loading the page with the script from your hard disk? This is
expected behaviour if so, as IE will restrict script access for pages loaded
from the My Computer security zone. You can add a "Mark of the Web" to the
HTML so that IE will run it in the Internet security zone which will let you
test code as if it was loaded from a website.

http://msdn.microsoft.com/en-us/libr...28(VS.85).aspx

--
Dan

 
Reply With Quote
 
Gianni
Guest
Posts: n/a

 
      06-04-2010
Dan wrote:
> "Gianni" <> wrote in message
> news:#tHvXW#...
>> I am running/testing JavaScript in IE7 and I get the
>> following message.
>>
>> "To help protect your security IE has restricted this
>> webpage from running scripts or ActiveX controls that
>> could access your computer."
>>
>> Is there some setting that I could change to not get
>> the blocking? The testing works fine in Firefox.

>
> Are you loading the page with the script from your hard disk? This is
> expected behaviour if so, as IE will restrict script access for pages loaded
> from the My Computer security zone. You can add a "Mark of the Web" to the
> HTML so that IE will run it in the Internet security zone which will let you
> test code as if it was loaded from a website.
>
> http://msdn.microsoft.com/en-us/libr...28(VS.85).aspx
>

Yes. That works.
Thank you.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
VB Startup Script to move Computer Object Raghu Active Directory 1 05-31-2010 01:38 PM
logon script for mapping Bonno Bloksma Scripting 1 11-27-2009 05:18 PM
Trivial startup script won't run in Vista Jeff Vandervoort Windows Vista Administration 1 10-07-2008 08:23 PM
Vista Startup Script problem (loading registry hive issue) ejmichaud@hotmail.com Windows Vista Administration 5 03-11-2008 11:27 AM
Script blocked Mike Truman Windows Vista Performance 3 02-25-2008 05:06 AM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59