pipeline.del_自动将书签添加到del.icio.us

pipeline.del

pipeline.del

I use del.icio.us to store all of my infrequently used bookmarks, but I’ve found that browsing by tag just isn’t very efficient for me. I always use a full text search through my bookmarks to find what I’m looking for, so what I’m really looking for is a single-click save solution similar to the star button on the Flock browser.

我使用del.icio.us存储了所有我不经常使用的书签,但是我发现按标签浏览对我来说不是很有效。 我总是在书签中使用全文本搜索来查找所需内容,因此,我真正需要的是单击单击保存解决方案,类似于Flock浏览器上的星形按钮。

Greasemonkey comes to the rescue with the del.icio.us autotag user script, but the problem is that you can’t edit the bookmarks by clicking on the del.icio.us tag button, because that script always immediately submits the form, and also duplicates the tags.

Greasemonkey可以使用del.icio.us自动标记用户脚本来进行救援,但是问题在于您无法通过单击del.icio.us标记按钮来编辑书签,因为该脚本始终会立即提交表单,并且还重复标签。

I’ve created an upgrade to the script that fixes those problems. Just like the first script, it will automatically add the popular and recommended tags:

我已经创建了解决这些问题的脚本升级。 就像第一个脚本一样,它将自动添加流行标签和推荐标签:

image

Here’s the details:

详细信息如下:

  • Automatically enters in popular or recommended tags, submits the form and closes the pop-up window.

    自动输入受欢迎或推荐的标签,提交表单并关闭弹出窗口。
  • If the bookmark has already been saved, it will leave the edit window as is.

    如果书签已经保存,它将按原样离开编辑窗口。
  • Doesn’t duplicate the tags if you use the tag button more than once.

    如果您多次使用标签按钮,则不会重复标签。

And here’s the source code, in case you are interested:

如果您有兴趣,这里是源代码:

var poptags = unsafeWindow[‘tagPop’];if (poptags) { // test to make sure we’re on the post page  if (poptags == “”) {    var rectags = unsafeWindow[‘tagRec’];    var finaltags = rectags.toString();  } else {    var finaltags = poptags.toString();  }  if(document.getElementById(‘tags’).value.length > 4){    editmode = 1;  }else{    editmode = 0;    var myarray = finaltags.split(“,”);      for (var tag in myarray) {            if (document.getElementById(‘tags’).value.search(/myarray[tag]/) == -1) {            document.getElementById(‘tags’).value += myarray[tag] + ” “;        }      }  }  if(finaltags.length > 4 && editmode == 0){      document.getElementById(‘delForm’).submit();  }}

var poptags = unsafeWindow ['tagPop']; if(poptags){//测试以确保我们在帖子页上if(poptags ==“”){var rectags = unsafeWindow ['tagRec']; var finaltags = rectags.toString(); } else {var finaltags = poptags.toString(); } if(document.getElementById('tags')。value.length> 4){editmode = 1; } else {editmode = 0; var myarray = finaltags.split(“,”); for(myarray中的var标签){if(document.getElementById('tags')。value.search(/ myarray [tag] /)== -1){document.getElementById('tags')。value + = myarray [标签] +”“; }}} if(finaltags.length> 4 && editmode == 0){document.getElementById('delForm')。submit(); }}

I simply couldn’t live without this script, but I wouldn’t recommend using it if you like to browse by tag.

如果没有此脚本,我简直无法生存,但如果您想按标签浏览,我不建议您使用它。

Install del.icio.us automater Greasemonkey script

安装del.icio.us自动机Greasemonkey脚本

翻译自: https://www.howtogeek.com/howto/internet/firefox/automate-adding-bookmarks-to-delicious/

pipeline.del

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值