Instantly share code, notes, and snippets.
Forked from arantius/authors-karma-blocker-rules.ini
Last active
October 5, 2015 08:07
-
Star
2
(2)
You must be signed in to star a gist -
Fork
0
(0)
You must be signed in to fork a gist
-
Save Concept211/2775688 to your computer and use it in GitHub Desktop.
The Karma Blocker rules used by Concept211
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Concept211 | |
# See: http://trac.arantius.com/wiki/Extensions/KarmaBlocker | |
[Settings] | |
threshold=12 | |
cutoff=12 | |
collapse=false | |
[Inject] | |
function='COMSCORE' | |
function='DM_tag' | |
function='GA_googleAddAttr' | |
function='GA_googleAddSlot' | |
function='GA_googleFetchAds' | |
function='GA_googleFillSlot' | |
function='GS_googleAddAdSenseService' | |
function='GS_googleEnableAllServices' | |
function='OA_show' | |
function='_gat._getTracker' | |
function='quantserve' | |
function='s.t' | |
function='setOmniturePageName' | |
function='urchinTracker' | |
[Group] | |
name="Absolute whitelist" | |
score=-12 | |
rule=$origin.host=='localhost' | |
rule=$url.host$='.facebook.com' | |
rule=$url.host$='.disqus.com' | |
rule=$url.host$='disqus.com' | |
rule=$url.host$='.solvemedia.com' | |
rule=$url.host$='ga-phonetracking.appspot.com' | |
[Group] | |
name="Site whitelist: Google, eBay, Yahoo" | |
score=-7 | |
rule=$url.host$='.google.com' | |
rule=$url.host$='.googleusercontent.com' | |
rule=$url.host$='.gstatic.com' | |
rule=$url.host$='.youtube.com' | |
rule=$url=~'^http://[^/]*ebay.com/ws/ebayisapi.dll\?' | |
rule=$url.host=='cgi.ebay.com' | |
rule=$url.host=='.ebaydesc.com' | |
rule=$url.host=='vi.ebaydesc.com' | |
rule=$url.host=='vi.raptor.ebaydesc.com' | |
rule=$url.host=='srx.main.ebayrtm.com' | |
rule=$url.host$='.yimg.com' | |
rule=$url.host$='.yahoo.com' | |
[Group] | |
name="Keyword whitelist" | |
score=-7 | |
rule=$url=~'(down|up)load|load\.php' | |
rule=$url=~'jquery|swfobject|readability|packagetrackr' | |
rule=$url.host=~'api\.' | |
[Group] | |
name="Unsavory Miscellany" | |
score=6 | |
rule=$url.host$='.apture.com' | |
rule=$url.host=='api.tweetmeme.com' | |
rule=$url.host=='ws.amazon.com' | |
rule=$url.host$='.exponential.com' | |
rule=$url.host$='.facebook.com' | |
rule=$url.host$='.fmpub.net' | |
rule=$url.host$='.infolinks.com' | |
rule=$url=~'www.androidtapp.com.*(260x125|468x60)' | |
rule=$url=='http://digg.com/tools/diggthis.js' | |
[Group] | |
name="Unsavory Miscellany B" | |
score=2 | |
rule=$url.host=='twitter.com' | |
[Group] | |
name="Web Toolbars" | |
score=12 | |
rule=$url.host$='.wibiya.com' | |
rule=$url.host=='cim.meebo.com' | |
# If any request that a Flash movie makes is blocked, the entire Flash | |
# movie will remove itself from the page. So if we let the movie | |
# through, we let all requests it makes go through, with this rule. | |
[Group] | |
name="Whitelist: flash sub-request" | |
score=-13 | |
rule=$type==object_subrequest | |
[Group] | |
name="Whitelist: CDNs" | |
score=-4 | |
match=any | |
rule=$url.host$='.akamai.com' | |
rule=$url.host$='.asset-cache.com' | |
rule=$url.host$='.cachefly.com' | |
rule=$url.host$='.fsdn.com' | |
rule=$url.host$='.ggpht.com' | |
rule=$url.host$='.gstatic.com' | |
rule=$url.host=~'\.(ebay|y)img\.com$' | |
rule=$url.host=~'cdn|image|static' | |
rule=$url.host=~'\.(google|yahoo)apis\.com$' | |
[Group] | |
name="(I)FRAMEs and Scripts" | |
score=6 | |
match=any | |
rule=$type==script | |
rule=$type==subdocument | |
[Group] | |
name="Feed Trackers" | |
score=4 | |
match=any | |
rule=$url.path=~'^/~.{1,2}/' | |
rule=$url^='http://feeds.wordpress.com/1.0/' | |
[Group] | |
name="Size: 0x0 & 1x1" | |
score=4 | |
match=any | |
rule=$origin.tag.size=='0x0' | |
rule=$origin.tag.size=='1x1' | |
# See: http://www.iab.net/iab_products_and_industry_services/1421/1443/1452 | |
[Group] | |
name="Size: Standard Banner" | |
score=4 | |
rule=$origin.tag.size=~'^((120|234|468)x60|(120|728)x90|125x125|120x240|300x250|(120|160|300)x600)$' | |
[Group] | |
name="Third-party" | |
score=4 | |
rule=$thirdParty==true | |
[Group] | |
name="Unsavory hosts" | |
score=4 | |
match=any | |
rule=$url.host$='.addtoany.com' | |
rule=$url.host$='.blogads.com' | |
rule=$url.host$='.imrworldwide.com' | |
rule=$url.host$='.intellitxt.com' | |
rule=$url.host$='.kontera.com' | |
rule=$url.host$='.scorecardresearch.com' | |
rule=$url.host$='.statcounter.com' | |
[Group] | |
name="Images and Objects" | |
score=3 | |
match=any | |
rule=$type==image | |
rule=$type==object | |
[Group] | |
name="Keywords (Full 1)" | |
score=3 | |
rule=$url=~'(\b|_)ad(frame|sense|server?|sonar)?s?\d*(\b|_)' | |
[Group] | |
name="Keywords (Full 2)" | |
score=3 | |
rule=$url=~'(\b|_)(banner|housead|publisher|sponsor)s?\d*(\b|_)' | |
[Group] | |
name="Keywords (Full 3)" | |
score=3 | |
rule=$url=~'(\b|_)(analytic|s_code|track|urchin|webtrend)(s|er|ing)?\d*(\b|_)' | |
[Group] | |
name="Keywords (Partial)" | |
score=3 | |
rule=$url=~'(\b|_)ads?\d*|ads?\d*(\b|_)' | |
rule=$url=~'(\b|_)beacon' | |
rule=$url=~'(\b|_)track(s|er|ing)?\d*|track(s|er|ing)?\d*(\b|_)' | |
rule=$url=~'(\b|_)quant' | |
rule=$url=~'(\b|_)webtrends' | |
[Group] | |
name="Extra-long URLs" | |
score=2 | |
rule=$url.path=~'.{175}' | |
[Group] | |
name="Keywords (Social Media / Sharing)" | |
score=2 | |
rule=$url=~'(\b|_)(bit\.?ly|facebook|linkedin|reddit|stumbleupon|twitter)(\b|_)' | |
[Group] | |
name="Long Querystring" | |
score=2 | |
rule=$url.path=~'\?(.*&){6,}' | |
[Group] | |
name="Querystring" | |
score=1 | |
rule=$url.path=~'\?' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment