Greenguy's Board


Go Back   Greenguy's Board > I'm Looking For.......
Register FAQ Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 2005-12-10, 10:23 AM   #1
Vivaldi
I don't have to be careful. I got a gun
 
Vivaldi's Avatar
 
Join Date: Apr 2004
Posts: 367
Send a message via ICQ to Vivaldi
Script for home page setup!?

Does anyone know a script for setting Your page as surfers home page if they click to certain text link!?
Vivaldi is offline   Reply With Quote
Old 2005-12-10, 11:29 AM   #2
Useless
Certified Nice Person
 
Useless's Avatar
 
Join Date: Oct 2003
Location: Dirty Undies, NY
Posts: 11,268
Send a message via ICQ to Useless
I think this only works in IE. If Firefox, the text appears but there is no clickability.

<!--Paste this where the link will appear -->
<a style="cursor:hand;font-family:arial"onclick="this.style.behavior='url(#default#homepage)';this.setHomePage('http://yourdomain.com');"><b>Make Us Your Homepage</b></a>
__________________
Click here to purchase a bridge I'm selling.
Useless is offline   Reply With Quote
Old 2005-12-12, 05:50 AM   #3
Vivaldi
I don't have to be careful. I got a gun
 
Vivaldi's Avatar
 
Join Date: Apr 2004
Posts: 367
Send a message via ICQ to Vivaldi
Good enough for me ... BIG thanks Useless

I guess You're not so useless after all :-)
Vivaldi is offline   Reply With Quote
Old 2005-12-12, 07:56 AM   #4
Mattinblack
Asleep at the switch? I wasn't asleep, I was drunk
 
Join Date: Nov 2005
Location: London UK in a house share with three 28 yr old girls...perv perv
Posts: 215
Not setting the home page but....

This is a bit more friendly - just adds to bookmark .... dont like setting homepages myself cos it pisses em off.

Heres off my http://ukescort.kwikfire.com/index.html - it means the user has to click but its easily modded to an inline call. If the browser not supported tells em to press control D. One of the nice things about this is that the bookmark does not have to be for the site they are on or page.

<script language="JavaScript">

browser = ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4 ));

function bookmark()
{
window.external.AddFavorite('http://ukescort.servik.com/','UK Escorts');
}
if (browser) {
document.write('<a href="#" onClick="exit=false; bookmark()"><font face="verdana,arial,helvetica,san-serif" size="1" color="#ffffff">Click To Bookmark</font></a></center>')
}
else {
document.write('<font face="verdana,arial,helvetica,san-serif" size="1" color="#ffffff">Press [CTRL-D] To Bookmark This site</font>')
}
</script>

BTW remember to change URL to your site else they will be visiting me instead...lol
__________________
Mattinblack - <a href="http://pornlinks.kwikfire.com">PornLinks</a> - <a href="http://strange-attractor.kwikfire.com">Strange Attractor</a> - <a href="pnav.kwikfire.com">PORNavigator</a> - <a href="http://ukescort.kwikfire.com/">Fem Escorts</a> - <a href="http://kwikfire.com/">Hosting</a>

Last edited by Mattinblack; 2005-12-12 at 08:01 AM..
Mattinblack is offline   Reply With Quote
Old 2005-12-12, 08:42 AM   #5
Vivaldi
I don't have to be careful. I got a gun
 
Vivaldi's Avatar
 
Join Date: Apr 2004
Posts: 367
Send a message via ICQ to Vivaldi
I already have one script for bookmarking but this is a nice one .... thanks!
Vivaldi is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:20 PM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc