update regexes in readerable.js

This commit is contained in:
PalmerAL 2019-02-26 20:50:26 -06:00 committed by Gijs
parent a014e0c9c8
commit 27ee1e947e

View File

@ -24,7 +24,7 @@
var REGEXPS = { var REGEXPS = {
// NOTE: These two regular expressions are duplicated in // NOTE: These two regular expressions are duplicated in
// Readability.js. Please keep both copies in sync. // Readability.js. Please keep both copies in sync.
unlikelyCandidates: /-ad-|banner|breadcrumbs|combx|comment|community|cover-wrap|disqus|extra|foot|header|legends|menu|related|remark|replies|rss|shoutbox|sidebar|skyscraper|social|sponsor|supplemental|ad-break|agegate|pagination|pager|popup|yom-remote/i, unlikelyCandidates: /-ad-|ai2html|banner|breadcrumbs|combx|comment|community|cover-wrap|disqus|extra|foot|gdpr|header|legends|menu|related|remark|replies|rss|shoutbox|sidebar|skyscraper|social|sponsor|supplemental|ad-break|agegate|pagination|pager|popup|yom-remote/i,
okMaybeItsACandidate: /and|article|body|column|main|shadow/i, okMaybeItsACandidate: /and|article|body|column|main|shadow/i,
}; };