2010-11-01から1ヶ月間の記事一覧

例: 無名再帰関数内での arguments.callee の使用

再帰関数は自分自身を参照する必要があります。関数が自分自身を参照するには、一般的には関数の名前を使用します。しかしながら、無名関数には名前がありません。さらにその無名関数を参照するアクセス可能な変数も無い (関数がどの変数にも代入されていな…

password_gen.bookmarklet.js

javascript: 'password_gen.bookmarklet.js'; (function password(){ if(!prompt("password", Math.random().toString(36).slice(-8))){ password(); } } )() 初めての再帰 javascript: 'password_gen.bookmarklet.js'; (function(){ if(!prompt("password",…

下品

こんな「下品」な教育目的で活性化するほど人間の知性は「下品」に作られていない http://blog.tatsuru.com/2010/11/09_0945.php

神聖にして不可侵

どちらの場合も、インターネットの反応は素早かった。 http://jp.techcrunch.com/archives/20101107abundans-cautela-non-nocet/ 多くのブロガーたちや、Twitterユーザ、Facebookユーザらが彼女の主張を再投稿/リツイートし、 http://jp.techcrunch.com/arch…

twitter_embed_instgram.user.js

twitter の web page で instagr.am を展開するヤツ https://gist.github.com/667600.txt?twitter_embed_instgram.user.js http://twitter.com/#!/taizooo/status/1595625518927872 こんな風に http://twitter.com/#!/taizooo/status/1595674181238784 コレ…

API Check

http://d.hatena.ne.jp/Constellation/20090928/1254125755 という話ですー. http://d.hatena.ne.jp/taizooo/20101108/1289214694#c 具体的には, GM_apiLeakCheck関数でのcheckが入りました. このcheckはComponents.stack https://developer.mozilla.org/en/…

Greasemonkey access violation: unsafeWindow cannot call GM_xmlhttpRequest.

http://userscripts.org/scripts/review/9653 document.addEventListener("DOMNodeInserted", function(e){ if (!e.target.tagName) return; Array.filter(e.target.getElementsByTagName('img'), is_glitchable).forEach(function(el){ // Greasemonkey acc…

43&44

run

第43週と第44週。風邪引いて体調崩した。もう一回態勢立て直し。4日間も続けて走らなかったのは走り出してから初めて。促成栽培だから1週間も抜いてしまうともう全然走れなくなっちゃう。まあしょうがない。

element.click

http://www.webdeveloper.com/forum/archive/index.php/t-102595.html if(typeof HTMLElement!='undefined'&&!HTMLElement.prototype.click) HTMLElement.prototype.click=function(){ var evt = this.ownerDocument.createEvent('MouseEvents'); evt.initMo…

Reblog for the Rest of us

見れないヒトやその場に居ないヒトを惑わすような、冷酷で一言で痺れ記憶を揺がす毒のある言葉を

Photography for the Rest of us

撮れないヒトやその場に居ないヒトが見られるように、冷酷で一枚でわかり記憶に残る強さのある写真を http://www.optimagraphics.org/dannna_o/blog/2010/10/16309/

AutoPagerize_DOMNodeInserted 使用時のテンプレート

http://d.hatena.ne.jp/os0x/20090829/1251556449 http://coderepos.org/share/browser/lang/javascript/userscripts/ldrize.user.js?rev=38627#L142 var nantoka = function(node){ // nannka suru } var addFilterHandler = function(evt){ var node = evt…

kokudoGazoZyohoPhotoHighRes

kokudoGazoZyohoPhotoHighRes.user.js

tombloo error

channel : [xpconnect wrapped (nsISupports, nsIChannel, nsICachingChannel, nsIPropertyBag2, nsIApplicationCacheChannel, nsIProxiedChannel, nsITransportEventSink, nsIApplicationCacheContainer, nsIRequest, nsICacheListener, nsIProtocolProxyCa…