Skip to content

Instantly share code, notes, and snippets.

@edertech
Created November 24, 2011 12:54
Show Gist options
  • Save edertech/1391295 to your computer and use it in GitHub Desktop.
Save edertech/1391295 to your computer and use it in GitHub Desktop.
Script to add a Google Bookmark. Paste this code into a new link button in your browser's toolbar
javascript:(function()%7Bvar%20a=window,b=document,c=encodeURIComponent,d=a.open(%22http://www.google.com/bookmarks/mark?op=edit&output=popup&bkmk=%22+c(b.location)+%22&title=%22+c(b.title),%22bkmk_popup%22,%22left=%22+((a.screenX%7C%7Ca.screenLeft)+10)+%22,top=%22+((a.screenY%7C%7Ca.screenTop)+10)+%22,height=420px,width=550px,resizable=1,alwaysRaised=1%22);a.setTimeout(function()%7Bd.focus()%7D,300)%7D)();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment