Click to See Complete Forum and Search --> : default homepage
shaba
Aug 14th, 2000, 10:41 PM
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.
This is how to set the default homepage to whatever you want:
<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.
noone
Aug 15th, 2000, 12:56 PM
I don't believe Netscape will let you set the homepage through code, and IMHO with good reason.
parksie
Aug 15th, 2000, 05:15 PM
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.
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.
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"
noone
Aug 16th, 2000, 03:37 PM
In Netscape when I click on the REG file link I simply see the whole thing in my webbrowser like anyother textfile.
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.
noone
Aug 16th, 2000, 09:44 PM
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.
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.