no title [bookmarklet] Fork

  • var _0x5c33=['fbi','.fbi','wrap','contents','.entry-text\x20span>span','parent','unwrap','.entry-text\x20span>br','//div[@class=\x22entry-text\x22]//text()','test','nodeValue','replace','//div[@class=\x22entry-text\x22]//div[./text()=\x22\u3000\x22][not(./*)]|//div[@class=\x22entry-text\x22]//div[./span[./text()=\x22\u3000\x22][not(./*)]]','snapshotLength','//div[@class=\x22entry-text\x22]//div[contains(text(),\x22━\x22)\x20or\x20contains(text(),\x22==\x22)]|//div[@class=\x22entry-text\x22]//div[./span[contains(text(),\x22━\x22)\x20or\x20contains(text(),\x22==\x22)]]','l_yoko','//div[@class=\x22entry-text\x22]//*[self::div\x20or\x20self::p]/br[not(./preceding-sibling::*)\x20and\x20string-length(./preceding-sibling::text())<1]','.br_first','filter','nodeType','.entry-text\x20span:empty','.entry-text\x20div+br','<div\x20class=\x27div_br\x27></div>','//div[@class=\x22entry-text\x22]/*[not(@class=\x22div_br\x22)\x20and\x20not(self::td)][last()]','prev','addClass','tomeo','evaluate','//div[@class=\x22entry-text\x22]//td/ancestor::*[./ancestor::div[@class=\x22entry-text\x22]]','snapshotItem','classList','add','anc','.anc','replaceWith','.entry-text','children','td:lt(2)','<div\x20class=\x22tb_cell\x22></div>','length','removeClass','querySelectorAll','.entry-text\x20b,.entry-text\x20i,.entry-text\x20font,.entry-text\x20u,.entry-text\x20em'];(function(_0x3dc786,_0x3a0921){var _0x5d4a74=function(_0x38c3fd){while(--_0x38c3fd){_0x3dc786['push'](_0x3dc786['shift']());}};_0x5d4a74(++_0x3a0921);}(_0x5c33,0xf2));var _0x5752=function(_0x21385e,_0x2ced9a){_0x21385e=_0x21385e-0x0;var _0x4d86b5=_0x5c33[_0x21385e];return _0x4d86b5;};var result2=document[_0x5752('0x0')](_0x5752('0x1'),document,null,0x7,null);for(var i=0x0;i<result2['snapshotLength'];i++){result2[_0x5752('0x2')](i)[_0x5752('0x3')][_0x5752('0x4')](_0x5752('0x5'));}$(_0x5752('0x6'))[_0x5752('0x7')](function(){return $(this)['contents']();});$(function(){do{$(_0x5752('0x8'))[_0x5752('0x9')](_0x5752('0xa'))['wrapAll'](_0x5752('0xb'));}while($(_0x5752('0x8'))[_0x5752('0x9')]('td')[_0x5752('0xc')]);});$('.entry-text\x20span')[_0x5752('0xd')]();var listArray3=document[_0x5752('0xe')](_0x5752('0xf'));for(var k=0x0;k<listArray3[_0x5752('0xc')];k++){listArray3[k]['classList'][_0x5752('0x4')](_0x5752('0x10'));}$(_0x5752('0x11'))[_0x5752('0x12')]('<span\x20class=\x27s_fbi\x27></span>');$('.fbi')[_0x5752('0x13')]()['unwrap']();$(_0x5752('0x14'))[_0x5752('0x15')]()[_0x5752('0x13')]()[_0x5752('0x16')]();$(_0x5752('0x17'))[_0x5752('0x15')]()[_0x5752('0x13')]()[_0x5752('0x16')]();var result5=document[_0x5752('0x0')](_0x5752('0x18'),document,null,0x7,null);for(var b=0x0;b<result5['snapshotLength'];b++){if(/^\s+$/g[_0x5752('0x19')](result5[_0x5752('0x2')](b)[_0x5752('0x1a')])){if(/ /g['test'](result5[_0x5752('0x2')](b)[_0x5752('0x1a')])){result5[_0x5752('0x2')](b)['nodeValue']='\u3000';}else{result5[_0x5752('0x2')](b)[_0x5752('0x1a')]=result5[_0x5752('0x2')](b)[_0x5752('0x1a')][_0x5752('0x1b')](/^\s+/g,'');}}}var result6=document['evaluate'](_0x5752('0x1c'),document,null,0x7,null);for(var c=0x0;c<result6[_0x5752('0x1d')];c++){result6['snapshotItem'](c)[_0x5752('0x3')]['add']('div_br');}var result4=document[_0x5752('0x0')](_0x5752('0x1e'),document,null,0x7,null);for(var a=0x0;a<result4['snapshotLength'];a++){result4[_0x5752('0x2')](a)[_0x5752('0x3')][_0x5752('0x4')](_0x5752('0x1f'));}var result=document[_0x5752('0x0')](_0x5752('0x20'),document,null,0x7,null);for(var x=0x0;x<result[_0x5752('0x1d')];x++){result[_0x5752('0x2')](x)[_0x5752('0x3')]['add']('br_first');}$(_0x5752('0x21'))[_0x5752('0x12')]('<div\x20class=\x27div_br\x27></div>');$('.entry-text\x20div>div,.entry-text\x20p>div,.entry-text\x20div>p')[_0x5752('0x15')]()[_0x5752('0x13')]()[_0x5752('0x16')]();$(_0x5752('0x8'))[_0x5752('0x13')]()[_0x5752('0x22')](function(){return this[_0x5752('0x23')]===0x3;})[_0x5752('0x12')]('<span\x20class=\x27n_text\x27></span>');var listArray4=document[_0x5752('0xe')](_0x5752('0x24'));for(var l=0x0;l<listArray4['length'];l++){listArray4[l]['remove']();}$(_0x5752('0x25'))[_0x5752('0x12')](_0x5752('0x26'));var result3=document['evaluate'](_0x5752('0x27'),document,null,0x7,null);result3[_0x5752('0x2')](0x0)[_0x5752('0x3')][_0x5752('0x4')]('node_last');$('.node_last~td')[_0x5752('0x28')]()[_0x5752('0x29')](_0x5752('0x2a'));
  • Permalink
    このページへの個別リンクです。
    RAW
    書かれたコードへの直接のリンクです。
    Packed
    文字列が圧縮された書かれたコードへのリンクです。
    Userscript
    Greasemonkey 等で利用する場合の .user.js へのリンクです。
    Loader
    @require やソースコードが長い場合に多段ロードする Loader コミのコードへのリンクです。
    Metadata
    コード中にコメントで @xxx と書かれたメタデータの JSON です。