浏览代码

.keysnail.js: update delicious bookmarklet

pull/1/head
10sr 13 年前
父节点
当前提交
1b9bc2c088
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      .keysnail.js

+ 1
- 1
.keysnail.js 查看文件

@@ -622,7 +622,7 @@ key.setViewKey('m', function (ev, arg) {

key.setViewKey('d', function (ev, arg) {
if (window.loadURI) {
loadURI("javascript:(function(){f='http://delicious.com/save?url='+encodeURIComponent(window.location.href)+'&title='+encodeURIComponent(document.title)+'&v=5&';a=function(){if(!window.open(f+'noui=1&jump=doclose','deliciousuiv5','location=no,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()}})()");
loadURI("javascript:(function(){f='http://www.delicious.com/save?url='+encodeURIComponent(window.location.href)+'&title='+encodeURIComponent(document.title)+'&notes='+encodeURIComponent(''+(window.getSelection?window.getSelection():document.getSelection?document.getSelection():document.selection.createRange().text))+'&v=6&';a=function(){if(!window.open(f+'noui=1&jump=doclose','deliciousuiv6','location=1,links=0,scrollbars=0,toolbar=0,width=550,height=585'))location.href=f+'jump=yes'};if(/Firefox/.test(navigator.userAgent)){setTimeout(a,0)}else{a()}})()");
}
}, 'deliciousでブックマーク');



正在加载...
取消
保存