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
| <!doctype html> | |
| <html> | |
| <head> | |
| <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.3/jquery.js"></script> | |
| <script> | |
| $(function() { | |
| try { | |
| $('form').find(':text').val('ok'); | |
| } catch(e) { | |
| $(':text').val('ng'); |
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 Hatebu count on Google Reader | |
| // @namespace http://twitter.com/xulapp | |
| // @include http://www.google.tld/reader/view/* | |
| // @include https://www.google.tld/reader/view/* | |
| // @author xulapp | |
| // @license MIT License | |
| // @version 2010/10/11 15:50 +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
| var store = (function() { | |
| var keys = []; | |
| var values = []; | |
| return function store(key, value) { | |
| var index = keys.indexOf(key); | |
| if (1 < arguments.length) { | |
| if (index === -1) | |
| index = keys.push(key) - 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
| <!doctype html> | |
| <html> | |
| <head> | |
| <title>JS1k, 1k demo submission</title> | |
| <meta charset="utf-8" /> | |
| </head> | |
| <body> | |
| <canvas id="c"></canvas> | |
| <script type="text/javascript" src="innocencer.js1k.js"></script> | |
| </body> |
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
| :: 1枚の画像と音声から動画を作成するバッチ | |
| :: makemov [image [audio [output]]] | |
| @echo off | |
| :main | |
| setlocal | |
| call :cdt | |
| ffmpeg > nul 2> nul |
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
| function Arraz() { | |
| var self = []; | |
| self.__proto__ = Arraz.prototype; | |
| return self; | |
| } | |
| Arraz.prototype = { | |
| __proto__: Array.prototype, | |
| constructor: Arraz, | |
| last: function() this[this.length - 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
| http://pc12.2ch.net/test/read.cgi/software/1205894776/427 の自分用改造版 | |
| /[-./=_](?: | |
| a(?: | |
| ccess(?:trade)?| | |
| d(?: | |
| click| | |
| frame| | |
| im(?: | |
| age| |
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 viewLinkSource.uc.js | |
| // @description リンクのソースを表示 | |
| // @include main | |
| // @compatibility Firefox | |
| // @namespace http://twitter.com/xulapp | |
| // @author xulapp | |
| // @license MIT License | |
| // @version 2010/04/19 01:50 +09:00 | |
| // @note リファラ送らず |