This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 以下のコードをテキトウな RCファイル 等に書く | |
// RC ファイルに | |
// :cabbrev -javascript gitio userContenx.gitio() | |
userContext.gitio = function gitioShortener (aURL, aCode, aCallback) { | |
var xhr = new XMLHttpRequest, | |
form = new FormData; | |
xhr.open("POST", "http://git.io", !!aCallback); | |
if (aCallback) { | |
xhr.onreadystatechange = function () { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name textarea character count | |
// @namespace http://tokyoenvious.net/ | |
// @include * | |
// ==/UserScript== | |
var Counter = {}; | |
Counter.modeIndex = 0; | |
Counter.MODES = [ 'simple', 'genko' ]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @match *://*/* | |
// ==/UserScript== | |
(function (anchors) { | |
for (var i = 0, l = anchors.length; i < l; i++) { | |
anchors[i].target = "_blank"; | |
} | |
})(document.querySelectorAll("a[href^='http']:not([href^='" + location.href + "'])")); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name newmouse | |
// @namespace http://www.hatena.ne.jp/hitode909 | |
// @include * | |
// ==UserScript== | |
var Nears = function(x, y) { | |
this.centerX = x; | |
this.centerY = y; | |
this.i = 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name CrossFireModoki.uc.js | |
// @description Opera の空間ナビゲーションのまねごと | |
// @namespace http://d.hatena.ne.jp/Griever/ | |
// @author Griever | |
// @license MIT License | |
// @compatibility Firefox 16 | |
// @charset UTF-8 | |
// @include main | |
// @version 0.0.1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name removeSelection.uc.js | |
// @description 選択範囲を削除 | |
// @include main | |
// @compatibility Firefox | |
// @namespace http://twitter.com/xulapp | |
// @author xulapp | |
// @license MIT License | |
// @version 2010/04/30 14:00 +09:00 | |
// ==/UserScript== |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name OperaStyle_linkDragSelection.uc.js | |
// @author Griever | |
// @include main | |
// @include chrome://global/content/viewSource.xul | |
// @include chrome://global/content/viewPartialSource.xul | |
// @version 0.0.4 | |
// @note 複数選択時の手抜きを修正 | |
// @note リンクの mousedown イベントが起きない問題を修正 | |
// @note その他微修正 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name IMESign.uc.js | |
// @description changes background image of active textbox if IME state is open. | |
// @include * | |
// @compatibility Firefox 3.6+ | |
// @namespace http://twitter.com/xulapp | |
// @author xulapp | |
// @license MIT License | |
// @version 2010/10/11 22:20 +09:00 | |
// ==/UserScript== |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//改変元:リンク画像を保存.s.js http://loda.jp/script/?id=203 | |
/* | |
FireGesturesやKeyConfigなどに設定して実行するとページ内のjpegとpngをまとめて | |
zipにしてダウンロードする。 | |
保存場所は決めうちか毎回ダイアログで指定 | |
*/ | |
(function () { | |
// 保存ディレクトリのパスがない場合は毎回ダイアログで決める | |
//var path = "C:\\Users\\azu\\Downloads"; // エスケープしたディレクトリのパス | |
var path = ""; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name ImageContentTypeFix | |
// @namespace http://d.hatena.ne.jp/Cherenkov/ | |
// @include http://img.blogs.yahoo.co.jp/ybi/* | |
// @include http://ca.c.yimg.jp/* | |
// @include http://*.blogzine.jp/photos/* | |
// @description 画像のContent-Typeがtext/plainでも正しく表示させる。 | |
// ==/UserScript== | |
(function(){ |