|
-
Aug 14th, 2000, 10:41 PM
#1
Thread Starter
Junior Member
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.
-
Aug 15th, 2000, 12:08 AM
#2
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.
-
Aug 15th, 2000, 12:56 PM
#3
Hyperactive Member
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."
-
Aug 15th, 2000, 05:15 PM
#4
Monday Morning Lunatic
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
-
Aug 15th, 2000, 08:22 PM
#5
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"
-
Aug 16th, 2000, 03:37 PM
#6
Hyperactive Member
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."
-
Aug 16th, 2000, 09:24 PM
#7
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.
-
Aug 16th, 2000, 09:44 PM
#8
Hyperactive Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|