Results 1 to 8 of 8

Thread: default homepage

  1. #1

    Thread Starter
    Junior Member
    Join Date
    May 2000
    Location
    Milwaukee, Wi
    Posts
    28

    Question

    Hello!


    here is a quickie for ya:


    is there a way to set the default homepage of a browser (IE & Netscape) through javascript?



    -shaheeb R.


  2. #2
    Guest
    This is how to set the default homepage to whatever you want:

    Code:
    <u><b><a class="chlnk"
    style="cursor:hand" HREF onClick="this.style.behavior='url(#default#homepage)'; this.setHomePage('http://www.vb-world.net');">
    Click Me!</a></u></b><P>
    I don't know hwo to do it through Netscape though.

  3. #3
    Hyperactive Member
    Join Date
    Mar 2000
    Posts
    292
    I don't believe Netscape will let you set the homepage through code, and IMHO with good reason.
    "People who think they know everything are a great annoyance to those of us who do."

  4. #4
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    Even more worrying, I think that you can make IE do it by automatically downloading a .reg file. They may have fixed that flaw, though.
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  5. #5
    Guest
    Correct parksie. With the registry file, you can add your homepage to both IE and Netscape.

    Open Notepad and add this and when you save it, make sure the extension is .reg.

    Code:
    REGEDIT4
    [HKEY_USERS\.DEFAULT\Software\Microsoft\Internet Explorer\Main]
    "NoUpdateCheck"="1"
    [HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main]
    "NoUpdateCheck"="1"
    [HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer\AdvancedOptions\BROWSE\IEUPDATECHECK]
    "DefaultValue"="1"
    [HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main]
    "Start Page"="http://www.vb-world.net"
    [HKEY_CURRENT_USER\Software\Netscape\Netscape Navigator\Home]
    "Home Page"="http://www.vb-world.net"
    [HKEY_CURRENT_USER\Software\Netscape\Netscape Navigator\Main]
    "Home Page"="http://www.vb-world.net"
    [HKEY_CURRENT_USER\Software\Netscape Navigator\Home]
    "Home Page"="http://www.vb-world.net"
    [HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer\Main]
    "Default_Page_URL"="http://www.vb-world.net"
    [HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer\Main]
    "Start Page"="http://www.vb-world.net"
    [HKEY_USERS\.DEFAULT\Software\Microsoft\Internet Explorer\Main]
    "Start Page"="http://www.vb-world.net"
    [HKEY_USERS\.DEFAULT\Software\Netscape\Netscape Navigator\Home]
    "Home Page"="http://www.vb-world.net"
    [HKEY_USERS\.DEFAULT\Software\Netscape\Netscape Navigator\Main]
    "Home Page"="http://www.vb-world.net"
    [HKEY_USERS\.DEFAULT\Software\Netscape Navigator\Home]
    "Home Page"="http://www.vb-world.net"

  6. #6
    Hyperactive Member
    Join Date
    Mar 2000
    Posts
    292
    In Netscape when I click on the REG file link I simply see the whole thing in my webbrowser like anyother textfile.
    "People who think they know everything are a great annoyance to those of us who do."

  7. #7
    Guest
    parksie, I have IE 5.5 and it automatically downloads it. But I guess, all versions are different.

    noone, I don't have Netscape so I wouldn't know, I thought it would work in Netscape since it adds the information to the Netscape homepage registry.

    I used to have Netscape, but I didn't really like it. It kept timing out and was a waste of space, so I just deleted it.

    But those are probably the only two ways that you can add information to change the default homepage. I may be wrong, but that's all I found and both work for me.

  8. #8
    Hyperactive Member
    Join Date
    Mar 2000
    Posts
    292
    Microsoft programs sometimes have a nasty habit of autimatically running files. Thats why a virus like the I Love You Virus wouldn't affect other mail readers, instead of running the file automatically they would simply ask you to save it to disk.
    "People who think they know everything are a great annoyance to those of us who do."

Posting Permissions

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



Click Here to Expand Forum to Full Width