Forum Moderators: open

Message Too Old, No Replies

Turning off warning

Can I turn off the warning

         

Adam5000

8:02 pm on Jan 11, 2009 (gmt 0)

10+ Year Member



Every time I open a test page, I get a security warning. I'm sure you've seen it before.

"In order to protect your security, Internet Explorer has restricted this page from running scripts . . . blah blah blah."

I know I don't need to be protected from myself, and I'm wearing out my mouse (and my finger too) clicking through the security warnings.

Is there a way to turn them off?

birdbrain

9:11 pm on Jan 11, 2009 (gmt 0)



Hi there Adam5000,

This only happens locally. To effect a cure for the page add this snippet of code directly after the DOCTYPE...

[blue]
<!-- saved from url=(0014)about:internet -->

[/blue]

To permanently disable this information do this...

  1. open IE.
  2. click 'Tools'.
  3. click 'Internet Options'.
  4. click 'Advanced' tab.
  5. scroll down to 'Security'.
  6. check 'Allow active content to run on My Computer'.
  7. click 'Apply'.
  8. click 'OK'
  9. have a beer. ;)

Further reading:-
[msdn.microsoft.com ]

birdbrain

Adam5000

3:55 am on Jan 12, 2009 (gmt 0)

10+ Year Member



That worked fine birdbrain. Now that I'm DONE with the Javascript part of my website, I finally get that infernal warning turned off.

And you're right. It is just a local thing. I got a chuckle out of that. I'm sure I've been to sites with Javascript on them before, but no warnings have ever come up. It's like the only person who's script is trouble enough for my computer to warn me about is me. I'd better keep an eye on myself. Tee hee. Snicker snicker. Cracks me up.

You're fabulous and thanks for your help.
Or rather,

<!-- saved from url=(0014)about:internet -->
<html>
<head>
<title>Thanks</title>

<script type="text/javascript">

function t()
{
document.write('Thanks for your help.')
}

</script>
</head>

<body>

<script type="text/javascript">

t()

</script>

</body>
</html>

Oh, and when I went to buy a beer, I found out they only sold them in two packs. So here's one for you too. Smile.

birdbrain

9:03 am on Jan 12, 2009 (gmt 0)



No problem, you're very welcome. ;)

p.s. You should really consider using document.getElementById() instead of document.write().