updated with redo

This commit is contained in:
Martin Donnelly 2016-03-04 16:42:37 +00:00
parent 4d46f8d6f9
commit 05fc03d040

View File

@ -29,7 +29,7 @@ var generics = ['ARTICLE', 'div.content_column', 'div.post','div.page'];
function cleaner(b) {
var _b = b;
var unwanted = ['div#disqus_thread', 'SCRIPT', 'FOOTER', 'div.ssba', '.shareaholic-canvas', '.yarpp-related', 'div.dfad', 'div.postFooterShare', 'div#nextPrevLinks', '.post-comments','HEADER'];
var unwanted = ['div#disqus_thread', 'SCRIPT', 'FOOTER', 'div.ssba', '.shareaholic-canvas', '.yarpp-related', 'div.dfad', 'div.postFooterShare', 'div#nextPrevLinks', '.post-comments','HEADER', '.post-title','#side-menu','.footer-container','#pre-footer'];
for (var i = 0; i < unwanted.length; i++) {
_b.find(unwanted[i]).remove();