1300

移行用のテストです

西野ブログ対策改訂版

// ==UserScript==
// @name         nishino_ameblo_br
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  try to take over the world!
// @author       You
// @match        https://ameblo.jp/nishino-akihiro/entry*
// @grant        none
// ==/UserScript==
while(document.getElementById("test1")==null)
{
var result = document.evaluate('//div[@class="skin-entryBody"]//div[not(.//text() or .//img or .//iframe)]',document, null, 7, null);
for(var i=0;i<result.snapshotLength;i++)
	{
  		result.snapshotItem(i).classList.add("div_br");
    }
    var result3= document.evaluate('descendant::div[@class="div_br"][last()]',document, null, 7, null);
    result3.snapshotItem(0).id="test1";
}

    var result2 = document.evaluate('//div[@class="skin-entryBody"]//div[not(@class)][last()]/following-sibling::div[@class="div_br"]',document, null, 7, null);
    for(var j=0;j<result2.snapshotLength;j++)
	{
  		//result2.snapshotItem(j).remove()
        result2.snapshotItem(j).style.display='none';
    }
// ==UserScript==
// @name         nishino_ameblo_kdiv
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  try to take over the world!
// @author       You
// @match        https://ameblo.jp/nishino-akihiro/entry*
// @grant        none
// ==/UserScript==
while(document.getElementById("test2")==null)
{
var result = document.evaluate('//div[@class="skin-entryBody"]//div',document, null, 7, null);
for(var i=0;i<result.snapshotLength;i++)
	{
  		result.snapshotItem(i).dataset.content=result.snapshotItem(i).firstChild.nodeValue;
    }
var result2= document.evaluate('descendant::div[@data-content][1]',document, null, 7, null);
    result2.snapshotItem(0).id="test2";
}
.div_br+.div_br{display:none;}
.div_br+*[data-content=" "] {display:none;}
*[data-content=" "]+.div_br{display:none;}
*[data-content=" "]+*[data-content=" "]{display:none;}
.div_br+*[data-content="null"]>.div_br:first-child{display:none;}
/*.skin-entryBody *{font-size:medium !important;}
.hashtag-module__item {line-height:1;}
*/

.LazyLoad{display:none;}
.js-blogGenreRank{display:none;}
.skin-entryBody{margin:0;padding:0;}
.skin-entryHead{margin:0;padding:0;}
.hashtag-module-borderTop{margin:0;padding:0;}