ゼロと無限の間に

フリーでオープンソースなJavaScriptとかPHPとか。

ユーザ用ツール

サイト用ツール


greasemonkey:delecious-open-tab-greasemonkey

Delicious.comでブックマークしたリンクを新しいタブで開くGreasemonkey

更新履歴とコメントはゼロと無限の間のログ » delicious_opentabでどうぞ。

以前はdel.icio.usのリンクを新しいwindowで開くGreasemonkey - かせいさんとこを使っていたんだけど、Delicious.comにリニューアルしてから効かなくなったので自分で作ることにした。

ダウンロード

ソースコード

// ==UserScript==
// @name        delecius_opentab
// @namespace   http://0-oo.net/
// @description A script to open a page in the new tab on Delicious.com.
// @homepage    http://0-oo.net/sbox/greasemonkey/delecious-open-tab-greasemonkey
// @version     0.1.1
// @include     http://delicious.com/*
// @include     http://www.delicious.com/*
// ==/UserScript==
//
// ( The MIT License )
//
(function(){
    var links = document.getElementsByTagName("a");
    for (var i = 0; i < links.length; i++) {
        if (links[i].href.split("/")[2] != "www.delicious.com") {
            links[i].target = "_blank";
        }
    }
})();
greasemonkey/delecious-open-tab-greasemonkey.txt · 最終更新: 2010/09/17 01:42 by dgbadmin

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki