Permalink
Browse files

Fix IgnoreStats pattern and strip more sidebars; fix "Step forward, X"

  • Loading branch information...
1 parent e747446 commit 074dec9a89b6945c3816cf166d92241ae81948f7 @poblish committed May 8, 2012
View
BIN firefox/project/banned_list.xpi
Binary file not shown.
View
2 firefox/project/data/js/bannedList.js
@@ -248,7 +248,6 @@ optDashes('Squeaky-bum-time'),
'Spiral out of control',
'Stand shoulder to shoulder with',
'Stark contrast',
-'Step forward, \\S+',
reqdSuffixes('Stinging', 'Attack','Criticism'),
'Substantive',
'Take up the cudgels for',
@@ -319,6 +318,7 @@ var theCaseSensitiveNotJustWordsTerms = ['\\b' + 'As a [A-Z]\\S+' + someWords(0,
'It is what it is\\.',
'It was not meant to be like this\\.',
'SoLoMo',
+'Step forward, [A-Z]\\S+',
'That is all\\.',
'\\b' + 'Well-worn clich(e|\\xE9)',
'\\b' + 'Who knew\\?'];
View
4 firefox/project/data/js/contentSupport.js
@@ -137,7 +137,7 @@ function getPageTitle() {
}
function getContentStatsBlackListFor( inDocURL ) {
- return $('div#comments, div#disqus_thread, div#most-popular, div#sidebar, div#sidebar-right-1, div#sidebar-first, div#all-comments, div#discussion-comments, div#beta, div#promo, section#comments-area');
+ return $('div#comments, div#allcomments, div#disqus_thread, div#most-popular, div#sidebar, div#sidebar-right-1, div#single-rightcolumn, div#sidebar-first, div#all-comments, div#discussion-comments, div#beta, div#promo, section#comments-area');
}
function getContentStatsWhiteListFor( inDocURL ) {
@@ -153,7 +153,7 @@ function getContentStatsWhiteListFor( inDocURL ) {
}
function getIgnoreStatsPageFilterRegex() {
- return /http.*(appengine.google.com*)|(bannedlist-stats*)|(poblish.org\/downloads\/TheList.html)|.github.?|.google.?|.amazon.?|.ebay.?|.bing.?|.facebook.?|stackoverflow.com/;
+ return /https?:\/\/(www\.)?(.*\.)?(poblish.org\/downloads\/TheList|amazon|appengine\.google|bannedlist-stats|bing|ebay|facebook|github|google|stackoverflow)\./;
}
function trimUrlForStats( inURL ) {

0 comments on commit 074dec9

Please sign in to comment.