Skip to content

Instantly share code, notes, and snippets.

// ==UserScript==
// @name NicoNicoLoginSupporter
// @namespace http://mitc.xrea.jp/
// @author miff
// @include http://www.nicovideo.jp/
// @include http://www.nicovideo.jp/index.php
// @description ニコニコ動画へのログインを支援します.
// ==/UserScript==
//-------------------------------------
javascript:
if (window.hah){
hah.removeHints();
}
window.hah = {
hintKeys : new String('asdfghjkl'),
selector: 'a[href]:not([href^="mailto:"]), input:not([type="hidden"]), textarea, select, img[onclick], button',
xpath: '//a[@href]|//input[not(@type=\x22hidden\x22)]|//textarea|//select|//img[@onclick]|//button',
xpathMode : true,
hintColorLink : '#FFFF00',
// ==UserScript==
// @name Nicoranking_eve_filter
// @namespace http://web.zgo.jp/
// @author azu
// @include http://www.nicovideo.jp/ranking/*
// @description ニコニコ動画のランキングで直前にみたランキングと比較して、被ったものを非表示にする。
// ==/UserScript==
(function(){
function getElementsByXPath(xpath, node) {
var node = node || document
ary_normal: 1525ms
ary_normal_kai: 1364ms
ary_normal: 1532ms
ary_normal_kai: 1343ms
ary_normal: 1523ms
ary_normal_kai: 1374ms
ary_normal: 1527ms
ary_normal_kai: 1398ms
ary_normal: 1539ms
ary_normal_kai: 1388ms
// 絶対値はMath.absよりシフト演算の方が早い
// http://actionscript.g.hatena.ne.jp/ConquestArrow/20070621/1182359767
abs = function(x){
return (x ^ (x >> 31)) - (x >> 31);
};
console.time("1");
for(i=0;i<100000;i++){
abs(-i);
}
// ==UserScript==
// @name Twitter Search Results on Google
// @namespace markcarey
// @description Shows results from Twitter on Google search pages
// @include http://www.google.*/search?*q=*
// @include http://www.google.*/*
// @date 2009-03-02
// @version 1.0+
// @GM_version 0.8.20080609.0
// ==/UserScript==
// ==UserScript==
// @name nicovideo Thumbinfo popup
// @namespace http://d.hatena.ne.jp/gifnksm/
// @description Get information about nicovideo movies before going to watch page.
// @include *
// @exclude http://ext.nicovideo.jp/thumb/*
// @exclude http://ext.nicovideo.jp/thumb_mylist/*
// @exclude http://ichiba.nicovideo.jp/parts/*
// ==/UserScript==
いわゆるレンタルサーバというヤツで[ http://www.abelproject.com/ ] さんの無料サーバを使わせてもらってます。
機能性とかは充実してますが、管理人は学生さんなので、安定性は借りてる身ではありますが安定は約束できないかな。
(安定を求めるなら素直に有料サーバを)
この辺は参考になるかも
ものすごい勢いで誰かが無料サーバを探してあげるスレ11
http://pc11.2ch.net/test/read.cgi/hosting/1226192251/
ブログは>WordPressで大抵の改造は既存のプラグインとかで解決する事が多いですね。
// ==UserScript==
// @name save selection
// @namespace http://web.zgo.jp/
// @description 選択範囲のテキストをファイルとして保存する
// @include main
// @compatibility Firefox 2.0 3.0
// @Last Change: 2009-03-08
// ==/UserScript==
var saveSelection = {