Important! This is an automatic machine translated page. If you can read english, you should Click Here to read the original English version of the article.

Automate Adding Bookmarks to del.icio.us Tự động hoá Thêm Bookmarks to del.icio.us

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. Del.icio.us tôi sử dụng để lưu trữ tất cả các dấu trang của tôi thường xuyên được sử dụng, nhưng tôi đã nhận thấy rằng duyệt bằng thẻ chỉ cần không phải là rất hiệu quả cho tôi. I always use a Tôi luôn luôn sử dụng một full text search tìm kiếm toàn văn 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. thông qua các dấu trang của tôi để tìm thấy những gì tôi đang tìm kiếm, do đó, những gì tôi đang thực sự tìm được một nhấp chuột duy nhất cứu giải pháp tương tự như các nút ngôi sao trên trình duyệt Flock.

Greasemonkey comes to the rescue with the Greasemonkey nói đến cứu hộ với del.icio.us autotag 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. người sử dụng kịch bản, nhưng vấn đề là bạn không thể chỉnh sửa các trang đánh dấu bằng cách bấm vào nút thẻ del.icio.us, vì đó là kịch bản luôn luôn ngay lập tức nộp mẫu đơn, và cũng có bản sao các thẻ.

I've created an upgrade to the script that fixes those problems. Tôi đã tạo ra một bản nâng cấp cho các tập lệnh mà sửa chữa những vấn đề. Just like the first script, it will automatically add the popular and recommended tags: Cũng giống như kịch bản đầu tiên, nó sẽ tự động thêm các thẻ phổ biến và được đề nghị:

hình ảnh

Here's the details: Dưới đây là chi tiết:

  • Automatically enters in popular or recommended tags, submits the form and closes the pop-up window. Tự động nhập vào trong thẻ phổ biến hay khuyến cáo, nộp đơn và đóng cửa sổ bật lên.
  • If the bookmark has already been saved, it will leave the edit window as is. Nếu đánh dấu đã được lưu, nó sẽ rời khỏi cửa sổ như là.
  • Doesn't duplicate the tags if you use the tag button more than once. Không trùng lặp các thẻ nếu bạn sử dụng nút từ khóa nhiều hơn một lần.

And here's the source code, in case you are interested: Và đây là mã nguồn, trong trường hợp bạn quan tâm:

var poptags = unsafeWindow['tagPop']; poptags var = unsafeWindow [ 'tagPop'];
if (poptags) { // test to make sure we're on the post page nếu (poptags) (/ / kiểm tra để chắc chắn rằng chúng tôi đang trên trang đăng bài
if (poptags == “”) { nếu (poptags == "") (
var rectags = unsafeWindow['tagRec']; rectags var = unsafeWindow [ 'tagRec'];
var finaltags = rectags.toString(); finaltags var = rectags.toString ();
} else { ) Else (
var finaltags = poptags.toString(); finaltags var = poptags.toString ();
} )
if(document.getElementById('tags').value.length > 4){ if (document.getElementById ( 'tags') value.length>. 4) (
editmode = 1; editmode = 1;
}else{ ) else (
editmode = 0; editmode = 0;
var myarray = finaltags.split(”,”); var myarray = finaltags.split (",");
for (var tag in myarray) { cho thẻ (var trong myarray) (
if (document.getElementById('tags').value.search(/myarray[tag]/) == -1) { if (document.getElementById ( 'tags') value.search (/ myarray [tag] /) == -1). (
document.getElementById('tags').value += myarray[tag] + ” “; tags document.getElementById ( '') giá trị +. = myarray [tag] + "";
} )
} )
} )
if(finaltags.length > 4 && editmode == 0){ nếu (finaltags.length> 4 & & editmode == 0) (
document.getElementById('delForm').submit(); 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. Tôi chỉ đơn giản là không thể sống mà không có kịch bản này, nhưng tôi sẽ không khuyên bạn sử dụng nó nếu bạn thích để trình duyệt bằng thẻ.

Install del.icio.us automater Greasemonkey script Cài đặt del.icio.us automater Greasemonkey script

This article was originally written on 08/20/07 Tagged with: Bài viết này ban đầu được viết ngày 08/20/07 Tagged với: Firefox Firefox , , Firefox & Web Firefox & Web

Daily Email Updates Email cập nhật hàng ngày

You can get our how-to articles in your inbox each day for free. Bạn có thể làm thế nào chúng tôi vào các bài viết trong hộp thư của bạn mỗi ngày miễn phí. Just enter your name and email below: Chỉ cần nhập tên và email của bạn dưới đây:


Name: Tên:
Email: Email:

Comments (6) Comment (6)

  1. engtech @ IDT engtech @ IDT

    You should submit these scripts over at Bạn nên gửi các tập lệnh trên tại http://userscripts.org http://userscripts.org as well. là tốt.

    That's usually where I go to find Greasemonkey hacks. Đó là nơi tôi thường đi tìm Greasemonkey hacks. :)

    You can still host on your own website. Bạn vẫn có thể lưu trữ trên trang web của riêng bạn.

  2. The Geek The Geek

    Yeah, I was meaning to upload it there too… just hadn't gotten around to it. Yeah, tôi đã được tải lên có nghĩa là nó có quá ... chỉ có không nhận xung quanh nó.

  3. Alejandro Alejandro

    I didn't get how to install (automaticaly) this app… is its install for advanced users only?.. Tôi đã không nhận được làm thế nào để cài đặt (automaticaly) này ... được cài đặt ứng dụng của nó cho người dùng cấp cao chỉ? ..

    I hope you can give me an answer. Tôi hy vọng bạn có thể cho tôi một câu trả lời. Thanks Cảm ơn

  4. decembre décembre

    :-(
    Seems that is don't work with the last Delicious extension …. Có vẻ như là không hoạt động với phần mở rộng Delicious cuối ....

  5. bnwklr bnwklr

    … please do update for the new del.icio.us! ... Xin hãy làm cho del.icio.us cập nhật mới!

  6. Erik Erik

    I'd like to add my voice to the list of people calling for an update to this great greasemonkey script Tôi muốn thêm tiếng nói của tôi vào danh sách những người gọi điện thoại cho một kịch bản cập nhật này greasemonkey lớn :)


Our Friends Bạn bè của chúng tôi
Getting Started Bắt đầu


About How-To Geek Giới How-To Geek
What Is That Process? Quá trình đó là gì?
svchost.exe svchost.exe
jusched.exe jusched.exe
dwm.exe dwm.exe
ctfmon.exe ctfmon.exe
wmpnetwk.exe wmpnetwk.exe
wmpnscfg.exe wmpnscfg.exe
rundll32.exe rundll32.exe
wfcrun32.exe wfcrun32.exe
Ipoint.exe Ipoint.exe
Itype.exe Itype.exe
Wfica32.exe Wfica32.exe
Mobsync.exe Mobsync.exe
conhost.exe conhost.exe
Dpupdchk.exe Dpupdchk.exe Adobe_Updater.exe Adobe_Updater.exe

Copyright © 2006-2009 HowToGeek.com. Bản quyền © 2006-2009 HowToGeek.com. All Rights Reserved. Tất cả các quyền.