Results 1 to 2 of 2

Thread: disabling javascript promote

  1. #1
    Join Date
    Jan 2010
    Posts
    115

    disabling javascript promote

    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>

  2. #2
    Join Date
    Sep 2010
    Location
    USA > Seatle > at my computer
    Posts
    220
    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.
    and thou shall not dual boot for ye can only serve one OS.

    Just to be clear Linux is a Kernel not an operating system.

Similar Threads

  1. Replies: 0
    Last Post: 29 Jan 2010, 02:25 PM
  2. JavaScript Collector
    By JavaScriptBank in forum Client & Server Side Scripting (PHP, ASP, JavaScript)
    Replies: 0
    Last Post: 09 Jul 2009, 03:28 AM
  3. JavaScript library
    By JavaScriptBank in forum Client & Server Side Scripting (PHP, ASP, JavaScript)
    Replies: 0
    Last Post: 09 Jul 2009, 01:26 AM
  4. element specific javascript
    By gumbo in forum Client & Server Side Scripting (PHP, ASP, JavaScript)
    Replies: 0
    Last Post: 04 Dec 2005, 06:25 PM
  5. element specific javascript
    By gumbo in forum Web Design, HTML Reference and CSS
    Replies: 0
    Last Post: 04 Dec 2005, 06:23 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •