Mozilla userContent.css ad transparency test
This document has the contents of my userContent.css file to
test its performance on ad-sponsored web pages.
[src*="ads."], [src*="ads/"],
[src*="doubleclick"],
[href*="doubleclick."] *,
[href*="rd.yahoo.com"] [src*="yimg.com"],
[width="60"][height="468"],
[width="468"][height="60"],
[width="120"][height="600"]
{
-moz-outline: medium dotted red;
-moz-opacity: 10%;
}
[src*="ads."]:hover, [src*="ads/"]:hover,
[src*="doubleclick"]:hover,
[href*=".doubleclick."] *:hover,
[href*="rd.yahoo.com"] [src*="yimg.com"]:hover,
[width="60"][height="468"]:hover,
[width="468"][height="60"]:hover,
[width="120"][height="600"]:hover
{
-moz-outline: medium dashed red;
-moz-opacity: 100%;
}
');
document.write('');
// document.write('');
document.write('');
document.write('');
if (document.cookie.indexOf('fcseenpop') == -1) {
pop_domain = document.domain.substring(document.domain.indexOf('.'));
expiry_date = new Date(new Date().getTime() + 86400000).toGMTString(); // 24 hours
document.write('');
document.cookie = 'fcseenpop=1; path=/; domain=' + pop_domain + '; expires=' + expiry_date;
}
}
}
// -->