nishino_ameblo_only Fork

    @@ -1,73 +1 @@ - // ==UserScript== + var _0x4960=['snapshotItem','nodeValue','replace','remove','.skin-entryBody\x20a:not([href])','contents','.fbi','wrap','<span\x20class=\x27s_fbi\x27></span>','unwrap','.skin-entryBody\x20span>span','parent','.skin-entryBody\x20span>br','//div[@class=\x22skin-entryBody\x22]//div[contains(text(),\x22━\x22)\x20or\x20contains(text(),\x22==\x22)]|//div[@class=\x22skin-entryBody\x22]//div[./span[contains(text(),\x22━\x22)\x20or\x20contains(text(),\x22==\x22)]]','l_yoko','//div[@class=\x22skin-entryBody\x22]//div[./text()=\x22\u3000\x22][not(./*)]|//div[@class=\x22skin-entryBody\x22]//div[./span[./text()=\x22\u3000\x22][not(./*)]]','div_br','//div[@class=\x22skin-entryBody\x22]//*[self::div\x20or\x20self::p]/br[not(./preceding-sibling::*)\x20and\x20string-length(./preceding-sibling::text())<1]','br_first','.skin-entryBody\x20div>div,.skin-entryBody\x20p>div,.skin-entryBody\x20div>p','.skin-entryBody','nodeType','<span\x20class=\x27n_text\x27></span>','<div\x20class=\x27div_br\x27></div>','//div[@class=\x22skin-entryBody\x22]/*[not(@class=\x22div_br\x22)][last()]','node_last','//div[@class=\x22skin-entryBody\x22]/*[not(self::iframe)\x20and\x20not(./*)][string-length(./text())<52\x20and\x20string-length(./text())>0]','.e:not(.node_last)','.skin-entryBody>div>table','addClass','div_table','.l_yoko','sun','querySelectorAll','.skin-entryBody\x20*[style]','length','removeAttribute','style','.skin-entryBody\x20font[color],.skin-entryBody\x20font[face]','face','.skin-entryBody\x20b,.skin-entryBody\x20i,.skin-entryBody\x20font,.skin-entryBody\x20u','classList','add','fbi','evaluate','//div[@class=\x22skin-entryBody\x22]//text()','snapshotLength','test'];(function(_0x696343,_0x56e7c5){var _0x310618=function(_0x1b28fe){while(--_0x1b28fe){_0x696343['push'](_0x696343['shift']());}};_0x310618(++_0x56e7c5);}(_0x4960,0x141));var _0x19e4=function(_0x2d8f05,_0x4b81bb){_0x2d8f05=_0x2d8f05-0x0;var _0x4d74cb=_0x4960[_0x2d8f05];return _0x4d74cb;};var listArray=document[_0x19e4('0x0')](_0x19e4('0x1'));for(var i=0x0;i<listArray[_0x19e4('0x2')];i++){listArray[i][_0x19e4('0x3')](_0x19e4('0x4'));}var listArray2=document[_0x19e4('0x0')](_0x19e4('0x5'));for(var j=0x0;j<listArray2['length'];j++){listArray2[j][_0x19e4('0x3')]('color');listArray2[j]['removeAttribute'](_0x19e4('0x6'));}var listArray3=document[_0x19e4('0x0')](_0x19e4('0x7'));for(var k=0x0;k<listArray3[_0x19e4('0x2')];k++){listArray3[k][_0x19e4('0x8')][_0x19e4('0x9')](_0x19e4('0xa'));}var result5=document[_0x19e4('0xb')](_0x19e4('0xc'),document,null,0x7,null);for(var b=0x0;b<result5[_0x19e4('0xd')];b++){if(/^\s+$/g[_0x19e4('0xe')](result5[_0x19e4('0xf')](b)[_0x19e4('0x10')])){if(/ /g[_0x19e4('0xe')](result5[_0x19e4('0xf')](b)[_0x19e4('0x10')])){result5[_0x19e4('0xf')](b)[_0x19e4('0x10')]='\u3000';}else{result5['snapshotItem'](b)['nodeValue']=result5[_0x19e4('0xf')](b)['nodeValue'][_0x19e4('0x11')](/^\s+/g,'');}}}var listArray4=document[_0x19e4('0x0')]('.skin-entryBody\x20div:empty');for(var l=0x0;l<listArray4[_0x19e4('0x2')];l++){listArray4[l][_0x19e4('0x12')]();}$(_0x19e4('0x13'))[_0x19e4('0x14')]()['unwrap']();$(_0x19e4('0x15'))[_0x19e4('0x16')](_0x19e4('0x17'));$('.fbi')[_0x19e4('0x14')]()[_0x19e4('0x18')]();$(_0x19e4('0x19'))[_0x19e4('0x1a')]()[_0x19e4('0x14')]()['unwrap']();$(_0x19e4('0x1b'))[_0x19e4('0x1a')]()[_0x19e4('0x14')]()['unwrap']();var result4=document[_0x19e4('0xb')](_0x19e4('0x1c'),document,null,0x7,null);for(var a=0x0;a<result4['snapshotLength'];a++){result4[_0x19e4('0xf')](a)[_0x19e4('0x8')][_0x19e4('0x9')](_0x19e4('0x1d'));}var result6=document[_0x19e4('0xb')](_0x19e4('0x1e'),document,null,0x7,null);for(var c=0x0;c<result6['snapshotLength'];c++){result6[_0x19e4('0xf')](c)[_0x19e4('0x8')][_0x19e4('0x9')](_0x19e4('0x1f'));}var result=document[_0x19e4('0xb')](_0x19e4('0x20'),document,null,0x7,null);for(var x=0x0;x<result[_0x19e4('0xd')];x++){result['snapshotItem'](x)[_0x19e4('0x8')][_0x19e4('0x9')](_0x19e4('0x21'));}$('.br_first')[_0x19e4('0x16')]('<div\x20class=\x27div_br\x27></div>');$(_0x19e4('0x22'))[_0x19e4('0x1a')]()['contents']()[_0x19e4('0x18')]();$(_0x19e4('0x23'))[_0x19e4('0x14')]()['filter'](function(){return this[_0x19e4('0x24')]===0x3;})[_0x19e4('0x16')](_0x19e4('0x25'));$('.skin-entryBody\x20div+br')['wrap'](_0x19e4('0x26'));var result3=document[_0x19e4('0xb')](_0x19e4('0x27'),document,null,0x7,null);result3[_0x19e4('0xf')](0x0)[_0x19e4('0x8')]['add'](_0x19e4('0x28'));var result7=document[_0x19e4('0xb')](_0x19e4('0x29'),document,null,0x7,null);for(var d=0x0;d<result7[_0x19e4('0xd')];d++){result7[_0x19e4('0xf')](d)[_0x19e4('0x8')][_0x19e4('0x9')]('e');}var listArray5=document[_0x19e4('0x0')](_0x19e4('0x2a'));for(var m=0x0;m<listArray5[_0x19e4('0x2')];m++){listArray5[m]['classList']['remove']('e');}$(_0x19e4('0x2b'))[_0x19e4('0x1a')]()[_0x19e4('0x2c')](_0x19e4('0x2d'));$(_0x19e4('0x2e'))['prev']()[_0x19e4('0x2c')](_0x19e4('0x2f'));- // @title nishino_ameblo_only - // @name nishino_ameblo_only - // @namespace http://tampermonkey.net/ - // @version 0.1 - // @description try to take over the world! - // @author You - // @match https://ameblo.jp/nishino-akihiro/* - // @grant none - // @require http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js - // ==/UserScript== - var listArray = document.querySelectorAll('.skin-entryBody *[style]'); - for (var i = 0; i < listArray.length; i++) { - listArray[i].removeAttribute("style"); - } - var listArray2 = document.querySelectorAll('.skin-entryBody font[color],.skin-entryBody font[face]'); - for (var j = 0; j < listArray2.length; j++) { - listArray2[j].removeAttribute("color"); - listArray2[j].removeAttribute("face"); - } - var listArray3 = document.querySelectorAll('.skin-entryBody b,.skin-entryBody i,.skin-entryBody font,.skin-entryBody u'); - for (var k = 0; k < listArray3.length; k++) { - listArray3[k].classList.add("fbi"); - } - var result5 = document.evaluate('//div[@class="skin-entryBody"]//text()', document, null, 7, null); - for (var b = 0; b < result5.snapshotLength; b++) { - if (/^\s+$/g.test(result5.snapshotItem(b).nodeValue)) { - if (/ /g.test(result5.snapshotItem(b).nodeValue)) { - result5.snapshotItem(b).nodeValue = " "; - } else { - result5.snapshotItem(b).nodeValue = result5.snapshotItem(b).nodeValue.replace(/^\s+/g, ""); - } - } - } - var listArray4 = document.querySelectorAll('.skin-entryBody div:empty'); - for (var l = 0; l < listArray4.length; l++) { - listArray4[l].remove(); - } - $('.skin-entryBody a:not([href])').contents().unwrap(); - $('.fbi').wrap("<span class='s_fbi'></span>"); - $('.fbi').contents().unwrap(); - $('.skin-entryBody span>span').parent().contents().unwrap(); - $('.skin-entryBody span>br').parent().contents().unwrap(); - var result4 = document.evaluate('//div[@class="skin-entryBody"]//div[contains(text(),"━") or contains(text(),"==")]|//div[@class="skin-entryBody"]//div[./span[contains(text(),"━") or contains(text(),"==")]]', document, null, 7, null); - for (var a = 0; a < result4.snapshotLength; a++) { - result4.snapshotItem(a).classList.add("l_yoko"); - } - var result6 = document.evaluate('//div[@class="skin-entryBody"]//div[./text()=" "][not(./*)]|//div[@class="skin-entryBody"]//div[./span[./text()=" "][not(./*)]]', document, null, 7, null); - for (var c = 0; c < result6.snapshotLength; c++) { - result6.snapshotItem(c).classList.add("div_br"); - } - var result = document.evaluate('//div[@class="skin-entryBody"]//*[self::div or self::p]/br[not(./preceding-sibling::*) and string-length(./preceding-sibling::text())<1]', document, null, 7, null); - for (var x = 0; x < result.snapshotLength; x++) { - result.snapshotItem(x).classList.add("br_first"); - } - $(".br_first").wrap("<div class='div_br'></div>"); - $('.skin-entryBody div>div,.skin-entryBody p>div,.skin-entryBody div>p').parent().contents().unwrap(); - $(".skin-entryBody").contents().filter(function () { - return this.nodeType === 3; - }).wrap("<span class='n_text'></span>"); - $(".skin-entryBody div+br").wrap("<div class='div_br'></div>"); - var result3 = document.evaluate('//div[@class="skin-entryBody"]/*[not(@class="div_br")][last()]', document, null, 7, null); - result3.snapshotItem(0).classList.add("node_last"); - var result7 = document.evaluate('//div[@class="skin-entryBody"]/*[not(self::iframe) and not(./*)][string-length(./text())<52 and string-length(./text())>0]', document, null, 7, null); - for (var d = 0; d < result7.snapshotLength; d++) { - result7.snapshotItem(d).classList.add("e"); - } - var listArray5 = document.querySelectorAll('.e:not(.node_last)'); - for (var m = 0; m < listArray5.length; m++) { - listArray5[m].classList.remove("e"); - } - $('.skin-entryBody>div>table').parent().addClass("div_table"); - $('.l_yoko').prev().addClass("sun");
  • var _0x4960=['snapshotItem','nodeValue','replace','remove','.skin-entryBody\x20a:not([href])','contents','.fbi','wrap','<span\x20class=\x27s_fbi\x27></span>','unwrap','.skin-entryBody\x20span>span','parent','.skin-entryBody\x20span>br','//div[@class=\x22skin-entryBody\x22]//div[contains(text(),\x22━\x22)\x20or\x20contains(text(),\x22==\x22)]|//div[@class=\x22skin-entryBody\x22]//div[./span[contains(text(),\x22━\x22)\x20or\x20contains(text(),\x22==\x22)]]','l_yoko','//div[@class=\x22skin-entryBody\x22]//div[./text()=\x22\u3000\x22][not(./*)]|//div[@class=\x22skin-entryBody\x22]//div[./span[./text()=\x22\u3000\x22][not(./*)]]','div_br','//div[@class=\x22skin-entryBody\x22]//*[self::div\x20or\x20self::p]/br[not(./preceding-sibling::*)\x20and\x20string-length(./preceding-sibling::text())<1]','br_first','.skin-entryBody\x20div>div,.skin-entryBody\x20p>div,.skin-entryBody\x20div>p','.skin-entryBody','nodeType','<span\x20class=\x27n_text\x27></span>','<div\x20class=\x27div_br\x27></div>','//div[@class=\x22skin-entryBody\x22]/*[not(@class=\x22div_br\x22)][last()]','node_last','//div[@class=\x22skin-entryBody\x22]/*[not(self::iframe)\x20and\x20not(./*)][string-length(./text())<52\x20and\x20string-length(./text())>0]','.e:not(.node_last)','.skin-entryBody>div>table','addClass','div_table','.l_yoko','sun','querySelectorAll','.skin-entryBody\x20*[style]','length','removeAttribute','style','.skin-entryBody\x20font[color],.skin-entryBody\x20font[face]','face','.skin-entryBody\x20b,.skin-entryBody\x20i,.skin-entryBody\x20font,.skin-entryBody\x20u','classList','add','fbi','evaluate','//div[@class=\x22skin-entryBody\x22]//text()','snapshotLength','test'];(function(_0x696343,_0x56e7c5){var _0x310618=function(_0x1b28fe){while(--_0x1b28fe){_0x696343['push'](_0x696343['shift']());}};_0x310618(++_0x56e7c5);}(_0x4960,0x141));var _0x19e4=function(_0x2d8f05,_0x4b81bb){_0x2d8f05=_0x2d8f05-0x0;var _0x4d74cb=_0x4960[_0x2d8f05];return _0x4d74cb;};var listArray=document[_0x19e4('0x0')](_0x19e4('0x1'));for(var i=0x0;i<listArray[_0x19e4('0x2')];i++){listArray[i][_0x19e4('0x3')](_0x19e4('0x4'));}var listArray2=document[_0x19e4('0x0')](_0x19e4('0x5'));for(var j=0x0;j<listArray2['length'];j++){listArray2[j][_0x19e4('0x3')]('color');listArray2[j]['removeAttribute'](_0x19e4('0x6'));}var listArray3=document[_0x19e4('0x0')](_0x19e4('0x7'));for(var k=0x0;k<listArray3[_0x19e4('0x2')];k++){listArray3[k][_0x19e4('0x8')][_0x19e4('0x9')](_0x19e4('0xa'));}var result5=document[_0x19e4('0xb')](_0x19e4('0xc'),document,null,0x7,null);for(var b=0x0;b<result5[_0x19e4('0xd')];b++){if(/^\s+$/g[_0x19e4('0xe')](result5[_0x19e4('0xf')](b)[_0x19e4('0x10')])){if(/ /g[_0x19e4('0xe')](result5[_0x19e4('0xf')](b)[_0x19e4('0x10')])){result5[_0x19e4('0xf')](b)[_0x19e4('0x10')]='\u3000';}else{result5['snapshotItem'](b)['nodeValue']=result5[_0x19e4('0xf')](b)['nodeValue'][_0x19e4('0x11')](/^\s+/g,'');}}}var listArray4=document[_0x19e4('0x0')]('.skin-entryBody\x20div:empty');for(var l=0x0;l<listArray4[_0x19e4('0x2')];l++){listArray4[l][_0x19e4('0x12')]();}$(_0x19e4('0x13'))[_0x19e4('0x14')]()['unwrap']();$(_0x19e4('0x15'))[_0x19e4('0x16')](_0x19e4('0x17'));$('.fbi')[_0x19e4('0x14')]()[_0x19e4('0x18')]();$(_0x19e4('0x19'))[_0x19e4('0x1a')]()[_0x19e4('0x14')]()['unwrap']();$(_0x19e4('0x1b'))[_0x19e4('0x1a')]()[_0x19e4('0x14')]()['unwrap']();var result4=document[_0x19e4('0xb')](_0x19e4('0x1c'),document,null,0x7,null);for(var a=0x0;a<result4['snapshotLength'];a++){result4[_0x19e4('0xf')](a)[_0x19e4('0x8')][_0x19e4('0x9')](_0x19e4('0x1d'));}var result6=document[_0x19e4('0xb')](_0x19e4('0x1e'),document,null,0x7,null);for(var c=0x0;c<result6['snapshotLength'];c++){result6[_0x19e4('0xf')](c)[_0x19e4('0x8')][_0x19e4('0x9')](_0x19e4('0x1f'));}var result=document[_0x19e4('0xb')](_0x19e4('0x20'),document,null,0x7,null);for(var x=0x0;x<result[_0x19e4('0xd')];x++){result['snapshotItem'](x)[_0x19e4('0x8')][_0x19e4('0x9')](_0x19e4('0x21'));}$('.br_first')[_0x19e4('0x16')]('<div\x20class=\x27div_br\x27></div>');$(_0x19e4('0x22'))[_0x19e4('0x1a')]()['contents']()[_0x19e4('0x18')]();$(_0x19e4('0x23'))[_0x19e4('0x14')]()['filter'](function(){return this[_0x19e4('0x24')]===0x3;})[_0x19e4('0x16')](_0x19e4('0x25'));$('.skin-entryBody\x20div+br')['wrap'](_0x19e4('0x26'));var result3=document[_0x19e4('0xb')](_0x19e4('0x27'),document,null,0x7,null);result3[_0x19e4('0xf')](0x0)[_0x19e4('0x8')]['add'](_0x19e4('0x28'));var result7=document[_0x19e4('0xb')](_0x19e4('0x29'),document,null,0x7,null);for(var d=0x0;d<result7[_0x19e4('0xd')];d++){result7[_0x19e4('0xf')](d)[_0x19e4('0x8')][_0x19e4('0x9')]('e');}var listArray5=document[_0x19e4('0x0')](_0x19e4('0x2a'));for(var m=0x0;m<listArray5[_0x19e4('0x2')];m++){listArray5[m]['classList']['remove']('e');}$(_0x19e4('0x2b'))[_0x19e4('0x1a')]()[_0x19e4('0x2c')](_0x19e4('0x2d'));$(_0x19e4('0x2e'))['prev']()[_0x19e4('0x2c')](_0x19e4('0x2f'));
  • Permalink
    このページへの個別リンクです。
    RAW
    書かれたコードへの直接のリンクです。
    Packed
    文字列が圧縮された書かれたコードへのリンクです。
    Userscript
    Greasemonkey 等で利用する場合の .user.js へのリンクです。
    Loader
    @require やソースコードが長い場合に多段ロードする Loader コミのコードへのリンクです。
    Metadata
    コード中にコメントで @xxx と書かれたメタデータの JSON です。

History

  1. 2019/08/20 01:15:59 - 2 days ago
  2. 2019/08/20 01:14:06 - 2 days ago
  3. 2019/06/30 03:28:19 - 06/30
  4. 2019/06/25 11:57:51 - 06/25
  5. 2019/06/09 04:33:41 - 06/09
  6. 2019/05/26 08:29:56 - 05/26
  7. 2019/05/26 02:36:02 - 05/26
  8. 2019/05/26 01:35:28 - 05/26
  9. 2019/05/26 01:34:55 - 05/26
  10. 2019/05/07 01:16:16 - 05/07
  11. 2019/05/07 01:14:50 - 05/07
  12. 2019/05/06 02:49:40 - 05/06
  13. 2019/05/06 02:49:14 - 05/06
  14. 2019/05/03 00:59:51 - 05/03
  15. 2019/05/03 00:58:12 - 05/03
  16. 2019/05/02 01:36:58 - 05/02
  17. 2019/05/02 01:35:17 - 05/02
  18. 2019/05/01 23:24:14 - 05/01
  19. 2019/05/01 23:22:29 - 05/01
  20. 2019/04/29 08:30:20 - 04/29
  21. 2019/04/29 08:29:03 - 04/29
  22. 2019/04/23 03:24:38 - 04/23
  23. 2019/04/23 03:22:38 - 04/23
  24. 2019/04/23 02:14:34 - 04/23
  25. 2019/04/23 02:10:45 - 04/23
  26. 2019/04/22 02:56:10 - 04/22
  27. 2019/04/22 02:13:07 - 04/22
  28. 2019/04/20 02:23:36 - 04/20
  29. 2019/04/19 04:14:40 - 04/19
  30. 2019/04/18 11:42:34 - 04/18
  31. 2019/04/17 02:24:23 - 04/17
  32. 2019/04/15 23:34:49 - 04/15
  33. 2019/04/15 00:53:29 - 04/15
  34. 2019/04/14 23:09:02 - 04/14
  35. 2019/04/10 03:29:30 - 04/10
  36. 2019/04/10 02:49:27 - 04/10
  37. 2019/04/10 02:47:10 - 04/10
  38. 2019/04/10 01:24:11 - 04/10
  39. 2019/04/10 01:23:47 - 04/10
  40. 2019/04/03 11:28:21 - 04/03
  41. 2019/03/30 00:48:13 - 03/30
  42. 2019/03/14 10:54:35 - 03/14
  43. 2019/03/14 10:28:42 - 03/14
  44. 2019/03/14 03:22:49 - 03/14
  45. 2019/03/14 03:03:31 - 03/14
  46. 2019/03/14 02:29:35 - 03/14
  47. 2019/03/14 02:00:36 - 03/14
  48. 2019/03/13 06:58:16 - 03/13
  49. 2019/03/13 03:13:04 - 03/13
  50. 2019/03/13 01:32:57 - 03/13
  51. 2019/03/12 01:39:41 - 03/12
  52. 2019/03/11 08:44:20 - 03/11
  53. 2019/03/04 00:54:34 - 03/04
  54. 2019/03/03 22:54:02 - 03/03
  55. 2019/03/03 22:48:29 - 03/03
  56. 2019/03/03 12:57:13 - 03/03
  57. 2019/03/03 11:56:41 - 03/03