Skip to content

Instantly share code, notes, and snippets.

@twnaing
Created March 23, 2012 05:50
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save twnaing/2167389 to your computer and use it in GitHub Desktop.
Save twnaing/2167389 to your computer and use it in GitHub Desktop.
Bookmarklet code to add delicious bookmark in iPad
javascript:(
function(){
f=’http://delicious.com/save?url=’+encodeURIComponent(window.location.href)+’&title=’+encodeURIComponent(document.title)+’&v=5&’;
a=function()
{
if(!window.open(f+’jump=doclose’,'deliciousuiv5′,’location=yes,links=no,scrollbars=no,toolbar=no,width=550,height=550′))
location.href=f+’jump=yes’
};
if(/Firefox/.test(navigator.userAgent))
{
setTimeout(a,0);
}
else
{
a();
}
}
)()
@twnaing
Copy link
Author

twnaing commented Mar 23, 2012

Code from (How to add a Delicious Bookmarklet on my iPad with Safari)[http://www.thomasecook.com/how-tos/how-to-add-a-delicious-bookmarklet-on-my-ipad-with-safari/]

@nguyenduong2402
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment