Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 01-07-2008, 05:07 PM   #1
Marshal
Biz Dev and SEO
 
Marshal's Avatar
 
Industry Role:
Join Date: Jun 2005
Posts: 15,182
JavaScript code for Bookmarking for FF

Anyone got a working bookmarking code for both IE and FF? I expect Smokey the Bear to come up with the solution soon...
__________________
---
Busy ranking websites on Google...
Marshal is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-07-2008, 05:19 PM   #2
calmlikeabomb
Confirmed User
 
calmlikeabomb's Avatar
 
Join Date: May 2004
Location: SW Palm Bay, Florida
Posts: 1,323
Yes. Will I share it? No.
__________________
subarus.
calmlikeabomb is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-07-2008, 05:26 PM   #3
teg0
Confirmed User
 
teg0's Avatar
 
Join Date: Jan 2006
Location: Gringo in Puerto Rico
Posts: 4,204
I see this used sometimes. Seems to work:

Code:
<script type="text/javascript">
function bookmarksite(title,url){
if (window.sidebar) // firefox
	window.sidebar.addPanel(title, url, "");
else if(window.opera && window.print){ // opera
	var elem = document.createElement('a');
	elem.setAttribute('href',url);
	elem.setAttribute('title',title);
	elem.setAttribute('rel','sidebar');
	elem.click();
} 
else if(document.all)// ie
	window.external.AddFavorite(url, title);
}
</script>
Code:
<a href="javascript:bookmarksite('Domain Name', 'http://www.domainname.com')">Bookmark Link</a>
teg0 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-08-2008, 01:22 PM   #4
Marshal
Biz Dev and SEO
 
Marshal's Avatar
 
Industry Role:
Join Date: Jun 2005
Posts: 15,182
i'll give it a shot... thanks!
__________________
---
Busy ranking websites on Google...
Marshal is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-13-2008, 02:27 AM   #5
Marshal
Biz Dev and SEO
 
Marshal's Avatar
 
Industry Role:
Join Date: Jun 2005
Posts: 15,182
anyone have "Make Homepage" JScript for FF?
__________________
---
Busy ranking websites on Google...
Marshal is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-13-2008, 03:34 AM   #6
SmokeyTheBear
►SouthOfHeaven
 
SmokeyTheBear's Avatar
 
Join Date: Jun 2004
Location: PlanetEarth MyBoardRank: GerbilMaster My-Penis-Size: extralarge MyWeapon: Computer
Posts: 28,609
i have both but to be honest i prefer the "addthis" button from www.addthis.com

they give you a small bookmark button and it lets users add to favourites in both firefox and ie , and lets users add your page to many social bookmark sites like "digg" and such
__________________
hatisblack at yahoo.com
SmokeyTheBear is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-13-2008, 03:41 AM   #7
SmokeyTheBear
►SouthOfHeaven
 
SmokeyTheBear's Avatar
 
Join Date: Jun 2004
Location: PlanetEarth MyBoardRank: GerbilMaster My-Penis-Size: extralarge MyWeapon: Computer
Posts: 28,609
heres a basic add to favourites for ie and firefox and "set as homepage" in ie

Code:
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>hello world</title>

<script language="JavaScript1.2" type="text/javascript"> 
function CreateBookmarkLink() { 
title = "gfy kicks ass"; 
url = "http://www.gfy.com/"; 
if (window.sidebar) { 
// Mozilla Firefox Bookmark 

window.sidebar.addPanel(title, url,""); 
} else if( window.external ) { 
// IE Favorite 

window.external.AddFavorite( url, title); 
} 
else if(window.opera && window.print) { 
// Opera Hotlist 
return true; } 
}
</script>

</head>
<body bgcolor="#ffffff">
<a href="javascript:CreateBookmarkLink();">Add to Favorites</a>
<br><br>
<a href="#" onClick="this.style.behavior='url(#default#homepage)'; this.setHomePage('http://www.google.com');">Set homepage </a>
</body>
</html>
__________________
hatisblack at yahoo.com
SmokeyTheBear is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-13-2008, 03:42 AM   #8
VicD
ICQ: 304-611-162
 
VicD's Avatar
 
Join Date: Feb 2005
Location: Masterdam
Posts: 13,245
yep,'i'am using add this too on almost all my sites
VicD is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-13-2008, 04:25 AM   #9
V_RocKs
Damn Right I Kiss Ass!
 
Industry Role:
Join Date: Dec 2003
Location: Cowtown, USA
Posts: 32,422
Quote:
Originally Posted by SmokeyTheBear View Post
i have both but to be honest i prefer the "addthis" button from www.addthis.com

they give you a small bookmark button and it lets users add to favourites in both firefox and ie , and lets users add your page to many social bookmark sites like "digg" and such
Anyone ever Digg your page?

I wonder how many FF users don't realize the Favorites is the Bookmarks for them... and how many end up not bookmarking because it all just seems to complicated and web 1.5
V_RocKs is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-13-2008, 08:01 AM   #10
Twisted Dave
Confirmed User
 
Twisted Dave's Avatar
 
Join Date: Mar 2006
Posts: 3,635
Code:
<script language="JavaScript1.2">
			function addbookmark()
			{
		 		url="http://www.sitenamehere.com";
				title="Site Name Here";
				if (window.sidebar)
				{
					window.sidebar.addPanel(title, url, "");
				}
				else if(window.external)
				{
					window.external.AddFavorite(url, title)	;
				}
				
			}
		</script>
Code:
<a href="javascript:addbookmark()">
__________________


Custom Cartoon Mascots - ICQ: 243355699, Email: [email protected] or Click Sig - 15% referrals. Send me clients, make money!
Twisted Dave is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-13-2008, 10:19 AM   #11
LFCII
Confirmed User
 
Join Date: Feb 2004
Location: U.S / Brasil
Posts: 124
<script type="text/javascript">

/***********************************************
* Bookmark site script- ? Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/

function bookmarksite(title, url){
if (document.all)
window.external.AddFavorite(url, title);
else if (window.sidebar)
window.sidebar.addPanel(title, url, "")
}

</script>

<a href="javascript:bookmarksite('title', 'http://www.yourdomain.com')">Bookmark Us!</a>
__________________
Tchau
LFCII is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-13-2008, 12:32 PM   #12
SmokeyTheBear
►SouthOfHeaven
 
SmokeyTheBear's Avatar
 
Join Date: Jun 2004
Location: PlanetEarth MyBoardRank: GerbilMaster My-Penis-Size: extralarge MyWeapon: Computer
Posts: 28,609
Quote:
Originally Posted by V_RocKs View Post
Anyone ever Digg your page?

I wonder how many FF users don't realize the Favorites is the Bookmarks for them... and how many end up not bookmarking because it all just seems to complicated and web 1.5
yup lots , they include a sweet tool to record how many people are clicking the "addthis" button and what bookmarking site they chose
__________________
hatisblack at yahoo.com
SmokeyTheBear is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.