Sponsored Link

userContent.css

僕の使っているuserContent.css(ユーザースタイルシート)です。これを使うと2chが見やすくなったり、ブラクラ耐性が上がったり(気休め程度ですけどね)、MIDI再生しなくなったりという珍妙な効果が現れますw しかし、副作用も少なからずありますので注意してください。(たとえば表示が崩れる、あるいは全く表示されない、無害な画像が消える、 など)

/*userContent.css*/
/*marquee いらね*/
marquee { -moz-binding: none; }

/*blockquote は blockquote である。それ以外の何ものでもない。(゚∀゚)*/
blockquote{border:dashed 1px gray}
blockquote:before{content: "(BLOCKQUOTE)";}

/*2ch用カスタマイズ これでメル欄の中身が見えるようになる。ついでにageとsageを色分け*/
dt a[href*="mailto:"]:after{content: "[" attr(href) "]";}
dt a[href*="mailto:"][href*="age"]{color:red !important;}
dt a[href*="mailto:"][href*="sage"]{color:gray !important;}

/*MIDIが何故か再生されなくなるおまじない。うまくいく保証はありません.*/
embed[src$=".mid"]{display:none}

/*ブラクラ対策(になるのか?)*/

/*kill_style_url 怪しい物があるstyle要素は排除*/
*[style*="javascript:"],*[style*="mailto:"],*[style*="telnet:"],*[style*="tn3270:"],*[style*="finger:"],*[style*="rlogin:"],*[style*="gopher:"],*[style*="shell:"],*[style*="snews:"],*[style*="file:"],*[style*="file:"],*[style*="news:"],*[style*="nntp:"],*[style*="wais:"],*[style*="cso:"],*[style*="ftp:"],*[style*="pnm:"],*[style*="mms:"]{display:none}

/*kill_BG_url*/
*[background*=":"]:not([background^="http"]){display: none;}

/*http,file,resource,googleイメージ検索は表示。他の「:」が含まれているURIは消去(「news://」みたいなのが書いてあると見なす)*/
[src*=":"]:not([src^="file"]):not([src^="http"]):not([src^="/images?q=tbn:"]):not([src^="resource:"]){display: none;}
[lowsrc*=":"]:not([src^="http"]){display:none;}

/*これってほとんどwww.strangeworld.org対策だよなw */
*[src$=":21"],*[src$=":23"],*[src$=":25"],*[src$=":110"],*[src$=":8585"]{display:none}


/*やばげなURIは消してしまえ*/
a[href*="mios.20m.com"],
a[href*="dildo-drive.porncity.net/122"],
a[href*="www.freemoviegalleries.com/asian/hankaku/mydvd/capture/yumenomaria/"],
a[href*="www.sidserver.no-ip.com/samurize/source/up0102.exe"],
a[href*="www.angelfire.com/sd2/voyage/images/list01.exe"],
a[href*="windows3000.virtualave.net/Toolz"],
a[href*="uk.briefcase.yahoo.com/bc/poke_1677"],
a[href*="strangeworld.org"],
a[href*="skyscraper.fortunecity.com/laser/928"],
a[href*="raus.de/crashme"],
a[href*="playstation2.hotgames.com/games/ringof"],
a[href*="smios.20m.com"],
a[href*="mariko.netfirms.com"],
a[href*="lounge.dip.jp/~yoshinoya_off/"],
a[href*="job.jpn.ph:591/cgi-bin/img-box/"],
a[href*="jbbs.shitaraba.com/computer/1348"],a[href*="easyweb.easynet.co.uk/~hiros"],a[href*="dms100.org/worksucks"],a[href*="www.geocities.com/jc173"],a[href*="www.kogalu.com/sou/girls"],a[href*="cgi.2chan.net/up/src/f2764.zip"],a[href*="ogrish.com"],a[href*="music.curio-city.com/curio-buzoo/users/sage/img/96.jpg"],a[href*="rotten.com"],a[href*="village.infoweb.ne.jp/~angie/image/mist/movie/kill.mpeg"],a[href*="www.ddanzi.com/ddanziilbo"],a[href*="www.eternal.rest.org.uk/58cy/flesh/3rd-ci53"],a[href*="www.stileproject.com/monkey_sugar.swf"],a[href*="www8u.kagoya.net/~ut-info/multi/abortion"],a[href*="www15.big.or.jp/~kaini/image/img-box/img20021111111348.jpg"],*[href*="dempa.2ch.net/prj/page/heisa"],a[href*="muvc.net/mumyou"],a[href*="www.metalflame.com/mm"],
a[href*="www26.tok2.com/home/vip83/keikoku.html"],a[href*="membres.lycos.fr/phallusphincter/Waldo.html"],a[href*="mayhem.net/juke/bodiesbeat1.html"],a[href*="homepage2.nifty.com/Mafty/html/ikai.html"]{display:none}


Contents

作成者:plus7 メール 最終更新:2003/11/15