Entries from 2008-01-25 to 1 day
~/mozilla/content/base/src/nsDOMFile.cpp nsresult nsDOMFile::GuessCharset(nsIInputStream *aStream, nsACString &aCharset) { if (!mCharset.IsEmpty()) { aCharset = mCharset; return NS_OK; } // First try the universal charset detector nsCOMPtr<nsICharsetDetector></nsicharsetdetector>…
~/mozilla/intl/chardet/public/nsICharsetDetector.h NS_IMETHOD DoIt(const char* aBytesArray, PRUint32 aLen, PRBool* oDontFeedMe) = 0; ~/mozilla/intl/chardet/public/nsICharsetDetectionObserver.h /* Used to inform answer by nsICharsetDetector…
fx3だとGreasemonkeyからunsafeWindow.consoleにアクセスすると Security Manager vetoed action って出る。 これはべつにunsafeWindowのプロパティにアクセスできなくなったわけじゃなくてprincipalでjsのセキュリティが管理されていることによる結果。 uns…
中国語->英語 http://209.85.135.104/translate_c?hl=en&langpair=zh|en&u=%s 英語->日本語 http://translate.google.com/translate?u=%s&langpair=en|ja&hl=en&ie=UTF8中国語->英語は便利。ほとんど使わないけど。
MCSG SYM - 【SAGより告知】無断転載チャンネル参加者募集ムーブメントとしてはおもしろい。名前が直截的すぎてイライラがおさまったらしぼんじゃいそう。あと、tumblrでチャンネル使ってるひとたちが、無断転載元の人たちと同じジレンマに陥るところがおも…