Skip to content

Instantly share code, notes, and snippets.

@phatograph
Last active October 13, 2015 08:28
Show Gist options
  • Save phatograph/4167553 to your computer and use it in GitHub Desktop.
Save phatograph/4167553 to your computer and use it in GitHub Desktop.
Popup Google Bookmark in Chrome
javascript:(function(){var a=window,b=document,c=encodeURIComponent,d=a.open('http://www.google.com/bookmarks/mark?op=edit&output=popup&bkmk='+c((b.location.protocol + '//' + b.location.host + b.location.pathname))+'&title='+c(b.title),'bkmk_popup','left='+((a.screenX||a.screenLeft)+10)+',top='+((a.screenY||a.screenTop)+10)+',height=620px,width=550px,resizable=1,alwaysRaised=1');a.setTimeout(function(){d.focus()},300)})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment