`
open2ye
  • 浏览: 99050 次
  • 性别: Icon_minigender_1
  • 来自: 温州
社区版块
存档分类
最新评论

让 chrome 支持 google bookmarks

阅读更多
1 任意将一个连接拖到 chrome 的 toolbar 上
2 右单击 修改, 将网址改为
 
javascript:void(function(){var d=document,e=encodeURIComponent,s1=window.getSelection,s2=d.getSelection,s3=d.selection,s=s1?s1():s2?s2():s3?s3.createRange().text:'',r='http://www.google.com/bookmarks/mark?op=add&title=&bkmk='+e(d.location.href)+'&title='+e(d.title)+'&sel='+e(s)+'&v=1',x=function(){if(!window.open(r,'bookmarks','toolbar=0,resizable=1,scrollbars=yes,status=1,width=680,height=500'))location.href=r+'&r=1'};if(/Firefox/.test(navigator.userAgent)){setTimeout(x,0)}else{x()}})()



另外 测试过 firefox, opera

并可以自动生成 title
1
0
分享到:
评论
1 楼 alang 2009-04-26  
chrome也可以。

相关推荐

Global site tag (gtag.js) - Google Analytics