ポップアップ
javascript:var u=encodeURI(location.href);var ti=encodeURIComponent(document.title);var te=encodeURIComponent((window.getSelection&&window.getSelection())||(document.getSelection&&document.getSelection())||(document.selection &&document.selection.createRange&&document.selection.createRange().text));window.open((te!='')?'http://www.google.com/bookmarks/mark?op=add&bkmk='+u+'&title='+ti+'&annotation='+te:'http://www.google.com/bookmarks/mark?op=add&bkmk='+u+'&title='+ti);undefined;
非ポップアップ
javascript:var u=encodeURI(location.href);var ti=encodeURIComponent(document.title);var te=encodeURIComponent((window.getSelection&&window.getSelection())||(document.getSelection&&document.getSelection())||(document.selection &&document.selection.createRange&&document.selection.createRange().text));location.href=(te!='')?'http://www.google.com/bookmarks/mark?op=add&bkmk='+u+'&title='+ti+'&annotation='+te:'http://www.google.com/bookmarks/mark?op=add&bkmk='+u+'&title='+ti;