PDA

View Full Version : disabling javascript promote



meltedtoons
28 Oct 2010, 10:43 PM
on IE the password script I use for Javascript always asks you to allow the script before it runs it is there a way to stop this?
Code:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html><head>

<title>Answer My Homework</title><link rel="stylesheet" type="text/css" href="http://answermyhw.webs.com/stylesheet2.css">
<SCRIPT language="JavaScript">
function GateKeeper() {
var password = prompt("Password required:", "Type in your password");
if (password) { this.location.href = password + ".html"; }}

//--></SCRIPT>
</head>
<body>
<div id="wrapper">
<div id="header"> </div>
<div id="content">
</div>
<br>

</div></div>
</div></body></html>

trollger
28 Oct 2010, 10:48 PM
It always does that for me and I thought it was just annoying. Is it more serous then that. I believe the only way to fix it is in the IE settings, which are overcomplicated.