Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (EHH.settings.filterEnabled) {
- var filtered = regexes.filters.title.test(title) || tags.some(function(x) { return regexes.filters.tag.test(x.tag); });
- var nonEnglish=1;
- regexes.highlight.forEach(function(data) {
- if (data.type == 'tag') {
- tags.forEach(function(tag) {
- if(tag.tag.match(/english/i)) {
- nonEnglish=0;
- }
- });
- }
- });
- if (nonEnglish || filtered) return { result: 'filtered' };
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement