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 NoiseMP3.com Player | |
// @namespace http://userscripts.org/users/40991 | |
// @include http://www.noisemp3.com/* | |
// @include http://noisemp3.com/* | |
// @require http://gist.github.com/3242.txt | |
// ==/UserScript== | |
var NoiseMP3Player = { | |
id: 'NoiseMP3Player', |
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
[ | |
{ | |
'name': 'LiveJournal (General)', | |
'updated_at': '2008-12-17T15:32:17', | |
'created_by': 'ucnv', | |
'data': { | |
'url': '^http://[a-z0-9-]+\.livejournal\.com', | |
'nextLink': '//a[contains(text(),"earlier") or contains(text(),"Previous") or contains(text(),"back")]', | |
'pageElement': 'id("lj_controlstrip")/following-sibling::*[not(contains(@id,"autopagerize"))] | (//div[@align="center"])[1]', | |
'exampleUrl': 'http://brad.livejournal.com/', |
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 AutoPagerize | |
// @namespace http://swdyh.yu.to/ | |
// @include http://* | |
// @include https://* | |
// @require http://github.com/swdyh/autopagerize/raw/master/autopagerize.user.js | |
// ==/UserScript== |
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 Twitter Carp | |
// @namespace http://userscripts.org/users/40991 | |
// @include http://twitter.com/home | |
// ==/UserScript== | |
// Stolen from http://userscripts.org/scripts/show/22404 | |
(function() { | |
var replacements = ['鮎', '鯵', '鮎', '鮑', '鰒', '鰯', '鰻', '鰓', '鰍', '鰹', | |
'鰈', '鱚', '鯨', '鯉', '鯒', '鮗', '鮭', '鯖', '鮫', '鰆', |
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
--- 30_Tombloo.Service.js 2009-02-15 21:26:10.000000000 +0900 | |
+++ 30_Tombloo.Service.js.modified 2009-02-16 01:21:21.000000000 +0900 | |
@@ -37,6 +37,8 @@ | |
if(ps.type == 'quote'&& ctx.window.getSelection().rangeCount) | |
ctx.window.getSelection().collapseToStart(); | |
+ if(ctx.window['ps'] && ctx.window['ps'].type == ps.type) ps = ctx.window['ps']; | |
+ | |
debug(ps); | |
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 Tokyo Kafun Twitter | |
// @namespace http://userscripts.org/users/40991 | |
// @include http://twitter.com/home | |
// @include http://twitter.com/ | |
// ==/UserScript== | |
var kafunUrl = 'http://pollen.tokyo-kafun.jp/kafun/index.php?action=KafunMapNew'; | |
GM_xmlhttpRequest({ method:"GET", url: kafunUrl, onload: function(res) { | |
var match = /src="(Data\/bunpuzu\/\d+\/polmpp_\d+\.jpeg\?\d+)"/.exec(res.responseText); |
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 Diff for AppJet IDE | |
// @description Provides the view of unified diff between published app and saved one. | |
// @namespace http://userscripts.org/users/40991 | |
// @include http://appjet.com/app/*/ide | |
// @require http://svn.coderepos.org/share/lang/javascript/jsdeferred/trunk/jsdeferred.userscript.js | |
// @require http://gist.github.com/105908.txt | |
// ==/UserScript== | |
// thanks to jsdeferred by cho45 |
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 makeSquareWaveSound(hz, sampleRate) { | |
var sampleRate = sampleRate || 44100; | |
var data = new Array(sampleRate); | |
var amplitude = sampleRate / hz / 2; | |
for(var i = 0; i < data.length; i++){ | |
if(parseInt(i / amplitude % 2)) data[i] = '%00'; | |
else data[i] = '%FF'; | |
} | |
var writeSize = function(size) { | |
return [ |
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 GlitchMonkey | |
// @namespace http://d.hatena.ne.jp/youpy/ | |
// @include * | |
// @require http://www.onicos.com/staff/iz/amuse/javascript/expert/inflate.txt | |
// ==/UserScript== | |
var Corruptions = { | |
'image/jpeg': function() { | |
return this.replace(/0/g, Math.floor(Math.random() * 10)); |
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 glitchPNG(data, glitchBy) { | |
var png = new PNG(data); | |
png.decompressed = glitchBy(png.decompressed); | |
return png.output(); | |
} | |
function PNG() { this.initialize.apply(this, arguments); } | |
PNG.prototype = { | |
initialize: function(data) { | |
this.splitter = 'IDAT'; |
OlderNewer