Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how do sites run in IE without asking for "allow scripts/activeX"?

I have tried googling this and have not come up with any good leads...

I have a webpage I'm testing (it's an html document on my local machine).

When loaded, IE asks if I want to allow scripts and activeX (I don't get why they are considered equally dangerous)

Popular sites like cnn.com and stackoverflow.com don't ask me if I want to run scripts, they just do. How and why does this occur? Do I have to do something special to keep this from happening? (There is a prompt, but I don't want this to appear for my normal users)

like image 994
sova Avatar asked Jan 11 '11 22:01

sova


2 Answers

Somehow IE trusts local documents less than the ones on the Internet. Which is counter intuitive. But I'm sure there is a reason... what has no reason or explanation, however, is that if you put the following

<!-- saved from url=(0017)http://localhost/ -->

at the top of your document, IE will trust it more.

(also how come there is no WTF tag on StackOverflow? Desperately needed)

like image 126
MK. Avatar answered Sep 23 '22 12:09

MK.


It's because those site aren't running locally, they are running on some other server somewhere else.

If you check out Tools->Internet Options for IE and look at Security, Privacy and especially "Advanced". You'll see a whole host of options.

like image 20
Jack Marchetti Avatar answered Sep 21 '22 12:09

Jack Marchetti