Subscribe to How-To Geek Підписатись на How-To Geek

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 Автоматично додавати закладки на 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 зберігати всі свої закладки рідко використовуються, але я виявив, що перегляд по тегам просто не дуже ефективним для мене. 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. через мої закладки, щоб знайти те, що я шукаю, так що я дійсно шукає є однією кнопкою зберегти рішення, аналогічне зірка кнопки браузера Flock.

Greasemonkey comes to the rescue with the Greasemonkey приходить на допомогу з 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. User Script, але проблема в тому, що ви не можете змінити закладки, натиснувши на 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: Як і в першому сценарії, воно буде автоматично додати популярні і рекомендував Теги:

зображення

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']; VAR poptags = unsafeWindow tagPop [ '];
if (poptags) { // test to make sure we're on the post page якщо (poptags) (/ / тест, щоб переконатися, що ми знаходимося на сторінку повідомлення
if (poptags == “”) { якщо (poptags == "") (
var rectags = unsafeWindow['tagRec']; VAR rectags = unsafeWindow tagRec [ '];
var finaltags = rectags.toString(); VAR finaltags = rectags.toString ();
} else { () Інше
var finaltags = poptags.toString(); VAR finaltags = poptags.toString ();
} )
if(document.getElementById('tags').value.length > 4){ якщо (document.getElementById ( 'мітки'). value.length> 4) (
editmode = 1; режим редагування = 1;
}else{ () Інше
editmode = 0; режим редагування = 0;
var myarray = finaltags.split(”,”); VAR MyArray = finaltags.split (",");
for (var tag in myarray) { для (VAR тег в MyArray) (
if (document.getElementById('tags').value.search(/myarray[tag]/) == -1) { якщо (document.getElementById ( 'мітки'). value.search (/ MyArray [TAG] /) == -1) (
document.getElementById('tags').value += myarray[tag] + ” “; document.getElementById ( 'мітки'). значення + = MyArray [TAG] + "";
} )
} )
} )
if(finaltags.length > 4 && editmode == 0){ якщо (finaltags.length> 4 & & режим редагування == 0) (
document.getElementById('delForm').submit(); document.getElementById ( 'delForm'). уявити ();
} )
} )

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 automater Greasemonkey Script

This article was originally written on 08/20/07 Tagged with: Ця стаття була спочатку написана на 08/20/07 тегами: Firefox Firefox , , Firefox & Web Firefox & Web

Daily Email Updates Email Щоденні оновлення

You can get our how-to articles in your inbox each day for free. Ви можете отримати наші довідкові статті у Вашу поштову скриньку щодня безкоштовно. Just enter your name and email below: Просто введіть ваші ім'я та адресу електронної пошти нижче:


Name: Ім'я:
Email: Електронна пошта:

Comments (6) Коментарі (6)

  1. engtech @ IDT engtech @ IDT

    You should submit these scripts over at Ви повинні представити ці сценарії в більш http://userscripts.org http://userscripts.org as well. також.

    That's usually where I go to find Greasemonkey hacks. Це звичайно, де я йду, щоб знайти Greasemonkey хакі. :)

    You can still host on your own website. Ви все ще можете приймають на вашому власному сайті.

  2. The Geek Грайте та вигравайте

    Yeah, I was meaning to upload it there too… just hadn't gotten around to it. Так, я був сенс завантажити його там ... просто не спромігся його.

  3. Alejandro Алехандро

    I didn't get how to install (automaticaly) this app… is its install for advanced users only?.. Я не отримав, як встановити (автоматично), це ... ок є її встановити тільки для просунутих користувачів? ..

    I hope you can give me an answer. Я сподіваюся, що ви можете дати мені відповідь. Thanks Спасибо

  4. decembre Decembre

    :-(
    Seems that is don't work with the last Delicious extension …. Схоже, що це не працює з останнім розширенням Delicious ....

  5. bnwklr bnwklr

    … please do update for the new del.icio.us! ... Будь ласка оновлення для нової del.icio.us!

  6. Erik Ерік

    I'd like to add my voice to the list of people calling for an update to this great greasemonkey script Я хотів би приєднати свій голос до списку людей, які закликають до оновлення цього великого сценарію Greasemonkey :)


Our Friends Наші друзі
Getting Started Приступаючи до роботи


About How-To Geek Про How-To Geek
What Is That Process? Що це за процес?
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. Copyright © 2006-2009 HowToGeek.com. All Rights Reserved. Всі права захищені.