pull/227/head
parent
2e3f478bbf
commit
1a1462bab2
|
@ -710,6 +710,9 @@ def is_whitelisted(domain, k):
|
|||
if domain not in {'youtube.com','reddit.com','twitter.com','msn.com','wsj.com','tiktok.com','forbes.com','dailymail.co.uk','facebook.com','spotify.com','nytimes.com','businessinsider.com','instagram.com','yahoo.com','thedailybeast.com','nypost.com','newsweek.com','bloomberg.com','quora.com','nbcnews.com','reuters.com','tmz.com','cnbc.com','marketwatch.com','thetimes.co.uk','sfchronicle.com','washingtonpost.com','cbsnews.com','foxnews.com','bbc.com','bbc.co.uk','ifunny.co','independent.co.uk','wikipedia.org'}:
|
||||
return True
|
||||
|
||||
if domain == 'wikipedia.org' and k != 'wprov':
|
||||
return True
|
||||
|
||||
if 'sort' in k.lower() or 'query' in k.lower():
|
||||
return True
|
||||
|
||||
|
|
Loading…
Reference in New Issue