Originally posted by Dingo
Can anyone point me to where I might find a script for
popunder on exit "do you want to make this your home page" box? yes or no.
Thanks
Dingo
Originally posted by brn2h8
I didn't read your thread properly. The previous script is for exit popup's, not popups requesting bookmarks. Below is that script:
Remember to edit the URL and title...
Originally posted by izopod
hmmm, just saw they added a new one: A "right click" menu option:
http://javascriptkit.com/script/script2/rightclickmenu.shtml (right click anywhere on the page when you get to it)
izopod
Originally posted by izopod
Actually I think dingo was wanting a pop-up up that asked if you wanted to make the page your homepage.... not to bookmark it.
izopod
Originally posted by brn2h8
D'oh...
I feel like such a moron. I think I have one of those also. I'll check and post it if found...
Originally posted by brn2h8
Thanks guys...
The only homepage scripts that I have are below:
1. Click link to make homepage
2. Auto homepage - no popups though
If you're interested in these, please let me know. I would have to upload the auto homepage script.
Originally posted by brn2h8
I believe the the link to make homepage asks "yes or no", but the auto page doesn't ask crap. It will just change their default page without even asking them. This makes alot of people mad, since alot of users don't even know how to change their homepage...
<html>
<body bgcolor="white"
text="black" onunload="alert();">
My Page Text
</body>
</html>
<html>
<body bgcolor="white"
text="black"
onunload="setHomePage('http://www.sample.com/');">
My Page Text
</body>
</html>
<html>
<body bgcolor="white"
text="black"
onunload="window.external.AddFavorite(
'http://www.sample.com/',
'Title of Link');">
My Page Text
</body>
</html>
<script language="javascript" type="text/javascript">
<!-- Startpage script
var s_url="http:/www.yourwebsite.com";
var s_mouseo="Startpage";
var s_text="Make Us Your Homepage";
var s_nn="To startpage:\n1.) Go to Edit\n2.) Go to Preferences...\n3.) Choose Navigator\n4.) Write "+ (s_url) +" in the home page location field";
var s_op="To startpage:\n1.) Go to Navigation\n2.) Go to Set home page...\n3.) Write "+ (s_url) +" in the Global home page field";
var s_other="Unable to startpage";
// do not edit below this line
if ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4)) {
document.write('<a href="javascript:void(0);" ');
document.write('onclick="this.style.behavior=');
document.write("'url(#default#homepage)'");
document.write("; this.setHomePage(s_url);");
document.write('" onmouseover="window.status=');
document.write("(s_mouseo); return true");
document.write('">'+ s_text +'</a>'); }
else if (navigator.appName == "Netscape") {
document.write('<a href="javascript:void(0);" onclick="alert(s_nn);">'+ s_text +'</a>'); }
else if (navigator.appName == "Opera") {
document.write('<a href="javascript:void(0);" onclick="alert(s_op);">'+ s_text +'</a>'); }
else {
document.write(""+ s_other +""); }
// do not edit above this line -->
</script>
<noscript>Unable to startpage</noscript>