2012年7月30日

騙しリンク回避用CSS

CSSを使い、リンクの後ろにアイコンを表示させる
上の画像を見てもらえれば一目瞭然なので、細かい説明は省略します。

/* yourfilehost */
a[href *="yourfilehost.com/media.php?"]{
padding-right: 18px !important;
background: transparent url(http://www.yourfilehost.com/favicon.ico) no-repeat center right;
}
/* tube8 */
a[href *="tube8.com/"]{
padding-right: 18px !important;
background: transparent url(http://www.tube8.com/favicon.ico) no-repeat center right;
}
/* youporn */
a[href *="youporn.com/watch/"]{
padding-right: 18px !important;
background: transparent url(http://files.youporn.com/images/favicon4.ico) no-repeat center right;
}
/* XNXX */
a[href *="video.xnxx.com/"]{
padding-right: 18px !important;
background: transparent url(http://www.xnxx.com/favicon.ico) no-repeat center right;
}
/* SlutLoad */
a[href *="slutload.com/watch/"]{
padding-right: 18px !important;
background: transparent url(http://www.slutload.com/favicon.ico) no-repeat center right;
}
/* xHamster */
a[href *="xhamster.com/movies/"]{
padding-right: 18px !important;
background: transparent url(http://static.xhamster.com/favicon.ico) no-repeat center right;
}
/* www.empflix.com */
a[href *="www.empflix.com/v"]{
padding-right: 18px !important;
background: transparent url(http://www.empflix.com/favicon.ico) no-repeat center right;
}
/* www.hardsextube.com */
a[href *="www.hardsextube.com/v"]{
padding-right: 18px !important;
background: transparent url(http://www.hardsextube.com/favicon.ico) no-repeat center right;
background-size:16px 16px;
}
/* www.pornhub.com */
a[href *="www.pornhub.com/v"]{
padding-right: 18px !important;
background: transparent url(http://www.pornhub.com/favicon.ico) no-repeat center right;
background-size:16px 16px;
}
/* www.xvideos.com */
a[href *="www.xvideos.com/v"]{
padding-right: 18px !important;
background: transparent url(http://static.xvideos.com/img/favicon_xvideos.ico) no-repeat center right;
background-size:16px 16px;
}
/* www.redtube.com */
a[href *="www.redtube.com/"]{
padding-right: 18px !important;
background: transparent url(http://images.cdn.redtube.com/_thumbs/v2009/favicon.ico) no-repeat center right;
background-size:16px 16px;
}