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 All bbeta | |
// @namespace http://d.hatena.ne.jp/javascripter/ | |
// @include http* | |
// ==/UserScript== | |
function replace(parent) { | |
Array.forEach( | |
parent.querySelectorAll('a[href^="http://b.hatena.ne.jp/"]'), | |
function (elem) { |
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 loadScripts(scripts, allOK) { | |
var head = document.getElementsByTagName('head').item(0); | |
var i = 0; | |
(function load() { | |
var script = document.createElement('script'); | |
script.type = 'text/javascript'; | |
script.src = scripts[i]; | |
script.addEventListener('load', function () { | |
(++i == scripts.length) ? AllOK() : load(); | |
}, false); |
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
<?xml version="1.0"?> | |
<bindings xmlns="http://www.mozilla.org/xbl"> | |
<binding id="behavior"> | |
<implementation><constructor><![CDATA[ | |
this.parentNode.removeChild(this); | |
]]></constructor></implementation> | |
</binding> | |
<!-- var head = document.getElementsByTagName('head').item(0); | |
head.appendChild( | |
document.createElement('style')) |
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 FastLDR | |
// @namespace http://d.hatena.ne.jp/javascripter/ | |
// @include http://fastladder.com/reader/ | |
// ==/UserScript== | |
var native_post = unsafeWindow.API.prototype.post; | |
var api_key = null; | |
GM_xmlhttpRequest({ |
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 fc2_img_referer_hack | |
// @namespace http://d.hatena.ne.jp/javascripter/ | |
// @include http* | |
// ==/UserScript== | |
function refhack(parent) { | |
Array.forEach( | |
parent.querySelectorAll('a[href^="http://blog-imgs-"]'), | |
function (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
<html> | |
<head> | |
<title>ad4u</title> | |
<style type="text/css"> | |
li { | |
list-style: none; | |
} | |
</style> | |
<style type="text/css" id="link_style"> | |
li > a:link { |
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/env ruby | |
# There is a critical bug in this script.Do not use this. | |
require "pathname" | |
PATH = "/Users/javascripter/Pictures/adult/" | |
Dir.chdir(PATH) | |
Pathname.glob("*").each_with_index {|file, i| | |
file.rename(i.to_s + file.extname) | |
} |
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 MarkovLDR | |
// @namespace http://d.hatena.ne.jp/javascripter/ | |
// @include http://reader.livedoor.com/reader/ | |
// @require http://chasen.org/~taku/software/TinySegmenter/tiny_segmenter-0.1.js | |
// ==/UserScript== | |
function Markov() { | |
this._dic = {}; | |
this._segment = null; |
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 functools = { | |
partial: function (fun, thisObject) { | |
var args = Array.slice(arguments, 2); | |
return function () { | |
Array.prototype.unshift.apply(arguments, args); | |
return fun.apply(thisObject, arguments); | |
} | |
}, | |
compose: function () { | |
var args = arguments; |
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 AllGyotaku | |
// @namespace http://d.hatena.ne.jp/javascripter/ | |
// @include http* | |
// ==/UserScript== | |
var url = location.href; | |
var form = document.createElement('form'); | |
form.method = 'post'; | |
form.action = 'http://s02.megalodon.jp/' + url; |