1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Set As Homepage Script - NS Compatible

Discussion in 'Software Development' started by AudioKal, Apr 28, 2004.

Thread Status:
Not open for further replies.
Advertisement
  1. AudioKal

    AudioKal Thread Starter

    Joined:
    Feb 11, 2004
    Messages:
    408
    I was wondering if anyone knows of a script that allows BOTH IE and NS to set the page as the Homepage. I have found lots of scripts that work with IE but none that are compatible with NS.

    Any assistance is appreciated. Thanks in advance!
     
  2. RandyG

    RandyG

    Joined:
    Jun 26, 2000
    Messages:
    7,762
    <SCRIPT language=JavaScript type=text/javascript>
    <!--
    function bookMark() {
    if ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4)){
    window.external.AddFavorite (window.location,document.title);
    }
    else {
    var msg = "Don't forget to bookmark us!";
    if(navigator.appName == "Netscape") msg += " (CTRL-D)";
    alert(msg);
    }
    </script>

    Closest thing I could find, and I use it on my site. Of course, only about 2 percent of my traffic is Netscape users, so no biggy!;):D
     
  3. AudioKal

    AudioKal Thread Starter

    Joined:
    Feb 11, 2004
    Messages:
    408
    Thanks for your assistance. I know that fewer people use Netscape, but I still wanted that option, thanks again.

    Bye the way, what is your site address? I'll check it out.
     
  4. RandyG

    RandyG

    Joined:
    Jun 26, 2000
    Messages:
    7,762
    Tis in the bottom of my signature!!;):D
     
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/224719

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice