スポンサード リンク
shuffle links(http://blog.fkoji.com/shufflelinks.user.js)
ページ内のリンクをシャッフルするお遊びGreasemonkeyスクリプト。
思い通りのリンク先に飛べずにイライラしたい人にオススメです。
// ==UserScript==
// @name shuffle links
// @namespace http://blog.fkoji.com/
// @description we wanna shuffle
// @include http://*
// ==/UserScript==
(function() { var a = document.getElementsByTagName("a"); for (i = 0; i < a.length; i++) { var j = Math.floor(Math.random() * a.length); var k = Math.floor(Math.random() * a.length); var tmp = a[j].href; a[j].href = a[k].href; a[k].href = tmp; } })();
// @name shuffle links
// @namespace http://blog.fkoji.com/
// @description we wanna shuffle
// @include http://*
// ==/UserScript==
(function() { var a = document.getElementsByTagName("a"); for (i = 0; i < a.length; i++) { var j = Math.floor(Math.random() * a.length); var k = Math.floor(Math.random() * a.length); var tmp = a[j].href; a[j].href = a[k].href; a[k].href = tmp; } })();
[2010-01-12] RSS フィードの URL が変わりました。お手数ですが RSS リーダーへの再登録をお願いします。
前のエントリー: « マイミクシィ最新日記チェック用のGreasemonkeyスクリプト
次のエントリー: 今年の秋は『ただ、君を愛してる』で泣きましょう »
トラックバック
このエントリーのトラックバックURL:
タイトル:
URL:
リンク用HTMLタグ:




