• Welcome to Tux Reports: Where Penguins Fly. We hope you find the topics varied, interesting, and worthy of your time. Please become a member and join in the discussions.

Script blocked in IE7

G

Gianni

Flightless Bird
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.
 
D

Dan

Flightless Bird
"Gianni" <gianni@gianni.com> wrote in message
news:#tHvXW#ALHA.4308@TK2MSFTNGP04.phx.gbl...
> 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/library/ms537628(VS.85).aspx

--
Dan
 
G

Gianni

Flightless Bird
Dan wrote:
> "Gianni" <gianni@gianni.com> wrote in message
> news:#tHvXW#ALHA.4308@TK2MSFTNGP04.phx.gbl...
>> 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/library/ms537628(VS.85).aspx
>

Yes. That works.
Thank you.
 
Top