はてダを更新しようとして灰色になって止まった時用
by
mafucode
2014-05-26 [2014/05/26 01:17:17]
少なくともコピーできるように無効になったところをなんとかするだけ(←うるさい)
-
/*
* @title はてダを更新しようとして灰色になって止まった時用
* @description 少なくともコピーできるように無効になったところをなんとかするだけ(←うるさい)
* @include http://d.hatena.ne.jp*
* @license http://h.hatena.ne.jp/mafucode/13376882252532368
*/
(function(){
b=(function(){
var e = document.querySelectorAll('#days div.day div.body div.section form *[disabled]');
while(0<e.length){
e[0].removeAttribute('disabled')
e = document.querySelectorAll('#days div.day div.body div.section form *[disabled]');
}
});
var a=(function(s,f){
try{
GM_registerMenuCommand(s.toString(),f);
}catch(e){
f();
}
});
a("はてダを更新しようとして灰色になって止まった時用",b);
})();
-
- Permalink
- このページへの個別リンクです。
- RAW
- 書かれたコードへの直接のリンクです。
- Packed
- 文字列が圧縮された書かれたコードへのリンクです。
- Userscript
- Greasemonkey 等で利用する場合の .user.js へのリンクです。
- Loader
- @require やソースコードが長い場合に多段ロードする Loader コミのコードへのリンクです。
- Metadata
- コード中にコメントで @xxx と書かれたメタデータの JSON です。