This file contains 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 hatener_script | |
// @namespace http://d.hatena.ne.jp/Cherenkov/ | |
// @description userscript for hatener. | |
// @include http://*.hatena.ne.jp/* | |
// ==/UserScript== | |
var url; | |
if (/^http\:\/\/d\.hatena\.ne\.jp/.test(location.href)) {url = 'd.hatena.ne.jp'} |
This file contains 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
#!/usr/bin/perl | |
use strict; | |
use warnings; | |
use Encode; | |
use Getopt::Long; | |
use URI; | |
use LWP::UserAgent; | |
use HTTP::Cookies::Guess; |
This file contains 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 Expand star | |
// @namespace http://rails2u.com/ | |
// @include http://* | |
// @include https://* | |
// ==/UserScript== | |
location.href = "javascript:"+encodeURIComponent(uneval(function () { | |
(function (Global) { |
This file contains 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
http://d.hatena.ne.jp/Hamachiya2/20090109/fallingirl | |
javascript:H='http://hamachiya.com/g';g='.gif';D=document;B=D.body;I=setInterval;Q=new Image;Q.src=H+1+g;scroll(I(function(Y,V,s,t){s=B.appendChild(V=Q.cloneNode(Y=99)).style,t=I(function(){Y-=t&7|1;s.bottom=(Y<1?setTimeout(function(){V.src=H+3+g;V.onclick=function(){D.title-=~B.removeChild(V)}},m,V.src=H+2+g)&clearInterval(t):Y)+'%'},Y);s.cssText='position:absolute;bottom:99%;left:'+(new Date&63)+'%'},m=800),D.title=0) |
This file contains 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 Hatena: Ignore Ids | |
// @description Remove the id from our world. | |
// @namespace http://lowreal.net/ | |
// @include http://d.hatena.ne.jp/* | |
// @include http://h.hatena.ne.jp/* | |
// @include http://h1beta.hatena.ne.jp/* | |
// @include http://b.hatena.ne.jp/* | |
// @include http://q.hatena.ne.jp/* | |
// @require http://svn.coderepos.org/share/lang/javascript/jsdeferred/trunk/jsdeferred.userscript.js |
This file contains 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
var orig_setTimeout = window.setTimeout; | |
window.setTimeout = function (fun, wait) { | |
if (wait < 15) { | |
orig_setTimeout(fun, wait); | |
} else { | |
var img = new Image(); | |
img.onload = img.onerror = function () { | |
fun(); | |
}; | |
img.src = "data:,foo"; |
This file contains 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
function addCSS (css){ | |
if (document.createStyleSheet) { // for IE | |
var sheet = document.createStyleSheet(); | |
sheet.cssText = css; | |
return sheet; | |
} else { | |
var sheet = document.createElement('style'); | |
sheet.type = 'text/css'; | |
var _root = document.getElementsByTagName('head')[0] || document.documentElement; | |
sheet.textContent = css; |
This file contains 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 MDC link to en | |
// @namespace http://rails2u.ocm/ | |
// @include https://developer.mozilla.org/ja/* | |
// ==/UserScript== | |
(function () { | |
//var links = $X('//a[@rel="internal"]'); | |
var links = $X('//a'); |
This file contains 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 gist.user.js | |
// @namespace http://github.com/hotchpotch | |
// @description install greasemonkey (user.js) | |
// @include http://gist.github.com/* | |
// @include https://gist.github.com/* | |
// @require https://gist.github.com/3242.txt | |
// ==/UserScript== | |
// http://gist.github.com/raw/1952/a5b92ec9ec7430f3c3b5e69ee4e5f6d173f35df8/gist_link_user_js.user.js >>> http://gist.github.com/1952.txt?gist_link_user_js.user.js |
This file contains 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 gist diff | |
// @namespace http://github.com/satyr | |
// @description Shows diffs on Gist with google-diff-match-patch. | |
// @include https://gist.github.com/* | |
// @require https://raw.github.com/gist/105908 | |
// @require https://google-diff-match-patch.googlecode.com/svn/trunk/javascript/diff_match_patch.js | |
// @fork_of http://gist.github.com/105913 | |
// @check_also http://gist.github.com/107780 | |
// ==/UserScript== |