LMAO, Fail?

Status
Not open for further replies.

CyberJ37

Active Member
1,493
2008
2
0
Tried clicking the bookmark link on GTFO.ws today and look at this.

24Untitled_1.gif
 
6 comments
pmsl he took the script and never made the edits hahaha

geez there are loads of them scripts around free and easy to get what take katz??
 
:P (L)

Katz one was broken, when it opens in the actual favorites sidebar.
(Katz admins check that out)
I mustn't of selected save haha.
 
Step 1: Add the below code to the <head> section of your page:
PHP:
<script type="text/javascript">
/* Modified to support Opera */
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>
Step 2: Create either an image or text link that will be used as the Bookmark Site link. For the href attribute, use the following code:

PHP:
javascript:bookmarksite('title_of_site', 'url_of_site')
Here's an example:
PHP:
<a href="javascript:bookmarksite('Dynamic 
    Drive', 'http://www.dynamicdrive.com')">Bookmark this site!</a>
Remember, if your site's
title contains apostrophes, they need to be backslashed when entered:

PHP:
<a href="javascript:bookmarksite('Mike\'s 
    Place', 'http://www.google.com')">Bookmark this site!</a>

ahhhh sits back and watches more pr0n :P
 
Status
Not open for further replies.
Back
Top