Posted By

dvdrtrgn on 07/25/09


Tagged

url js snipplr safari Firefox bookmarklet


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

wirenaught


A Better Snipplr Bookmark


 / Published in: JavaScript
 

Keeps your page intact if you don't wish to add to (just visit) Snipplr, by opening a new tab... also, this one works in both, Firefox + Safari/Opera.

  1. javascript:if(!confirm('Add%20to%20Snipplr?'))window.open('http://snipplr.com').focus();else(function()%7Bvar%20x=document.getElementsByTagName('head').item(0);var%20o=document.createElement('script');if(typeof%20o!='object')o=document.standardCreateElement('script');o.setAttribute('src','http://snipplr.com/bookmarklets/'+(navigator.userAgent.indexOf('Firefox')+1?'firefox':'safari')+'.js');o.setAttribute('type','text/javascript');x.appendChild(o);%7D)();

Report this snippet  

You need to login to post a comment.