blomagaを見やすくする

    @@ -15,17 +15,15 @@ return j; } var h= - ['html.gecko body.ja.channel.personal section.site_body article.content.white div#blog section.content_body.article_watch.blog_background.user_blog article.main div.ads_list_area' - ,'html.gecko body.ja.channel.personal footer.site' - ,'html.gecko body.ja.channel.personal section.site_body article.content.white footer.content' - ,'html.gecko body.ja.channel.personal section.site_body article.content.white div.notice_container div.notice_article_container_bg' - ,'html.gecko body.ja.channel.personal section.site_body article.content.white header.content div#article_blog_title_area div.article_blog_title_area_r div.btn_position']; - var g; - while(g=h.shift()){ - var f=c(document.querySelectorAll(g)); - var e; - while(e=f.shift()){ - e.parentNode.removeChild(e); - } + '#blog section.content_body.article_watch.blog_background.user_blog article.main div.ads_list_area' + +',html.gecko body.ja.channel.personal footer.site' + +',html.gecko body.ja.channel.personal section.site_body article.content.white footer.content' + +',html.gecko body.ja.channel.personal section.site_body article.content.white div.notice_container div.notice_article_container_bg' + +',#article_blog_title_area div.article_blog_title_area_r div.btn_position'; + + var f=c(document.querySelectorAll(h)); + var e; + while(e=f.shift()){ + e.parentNode.removeChild(e); } })();
  • /*
     * @title blomagaを見やすくする
     * @description 白いのが邪魔だったからいい機会なので広告も消すようにしておいた
     * @include http://ch.nicovideo.jp/*
     * @license 未定
     * @require 
     */
    
    (function(){
    	if(!(location.href.match(/ch\.nicovideo\.jp\/\w+\/blomaga\/ar\w+/))){return null;}
    	c=function(w){
    		var i=0;
    		var j=[];
    		while(i<w.length){j.push(w[i]);i+=1;}
    		return j;
    	}
    	var h=
    		'#blog section.content_body.article_watch.blog_background.user_blog article.main div.ads_list_area'
    		+',html.gecko body.ja.channel.personal footer.site'
    		+',html.gecko body.ja.channel.personal section.site_body article.content.white footer.content'
    		+',html.gecko body.ja.channel.personal section.site_body article.content.white div.notice_container div.notice_article_container_bg'
    		+',#article_blog_title_area div.article_blog_title_area_r div.btn_position';
    
    	var f=c(document.querySelectorAll(h));
    	var e;
    	while(e=f.shift()){
    		e.parentNode.removeChild(e);
    	}
    })();
  • Permalink
    このページへの個別リンクです。
    RAW
    書かれたコードへの直接のリンクです。
    Packed
    文字列が圧縮された書かれたコードへのリンクです。
    Userscript
    Greasemonkey 等で利用する場合の .user.js へのリンクです。
    Loader
    @require やソースコードが長い場合に多段ロードする Loader コミのコードへのリンクです。
    Metadata
    コード中にコメントで @xxx と書かれたメタデータの JSON です。

History

  1. 2014/08/15 00:55:29 - 2014-08-15
  2. 2014/08/14 22:09:31 - 2014-08-14
  3. 2014/08/09 12:44:05 - 2014-08-09
  4. 2014/08/09 12:43:30 - 2014-08-09