Jump to content

User:Izno/unreliable.js

From Wikipedia, the free encyclopedia
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
// Instructions available at [[User:Headbomb/unreliable]]
// Feel free to request tweaks or additional sources to be covered on the talk page

// Adapted from https://en.wikipedia.org/w/index.php?title=Wikipedia:User_scripts/Requests&diff=939432100&oldid=939403363 by [[User:SD0001]]
// Updated from https://en.wikipedia.org/w/index.php?title=User:Jorm/unreliable.js&oldid=940556311 by [[User:Jorm]]
// Updated from https://en.wikipedia.org/w/index.php?title=User:SD0001/unreliabe.js&oldid=941114456 by [[User:SD0001]]
// Updated from https://en.wikipedia.org/w/index.php?title=User:SD0001/unreliable.js&action=edit by [[User:SD0001]]
// Updated from https://en.wikipedia.org/w/index.php?title=User:Creffett/unreliable.js&oldid=957395306 by [[User:Creffett]]

// Unreliable websites based on [[WP:RSPSOURCES]] and [[WP:NPPSG]] (mostly)
// Unreliable publishers/journals based on [[WP:CITEWATCH]] (mostly)

// \/ regex in links doesn't work as it should, use (%2F|\/) instead
$( function() {
	
	mw.util.addCSS( '\
	.headbomb-unreliable-borderline, \
	.headbomb-unreliable-preprint, \
	.headbomb-unreliable-depends { background-color: #fffdd0 } \
	.headbomb-unreliable-unreliable, \
	.headbomb-unreliable-wikimedia { background-color: #fdd } \
	.headbomb-unreliable-predatory, \
	.headbomb-unreliable-deprecated, \
	.headbomb-unreliable-misleading { background-color: #fbb; text-decoration: underline; text-decoration-style: wavy } \
	.headbomb-unreliable-blacklisted { background-color: #ddd; text-decoration: underline; text-decoration-style: wavy; text-decoration-color: #cc0000 } \
	' );

	var rules = [
		// Sources that traditionally fail [[WP:MEDRS]], but which could be used for other more routine claims
		{
			comment: 'Borderline source, which often (but not always) fails higher sourcing requirements. For IndianJournals.com/Diva Enterprises journals, check the UGC lists.',
			regex: /\b(?:test\.medrs\.org|benthamopen\.com|f1000\.com|frontiersin\.org|mdpi\.com|businessperspectives\.org|ukdefencejournal\.org\.uk|buzzfeed\.com|chinadaily\.com\.cn|thedailybeast\.com|tmz\.com|indianjournals\.com)/i,
			cssclass: 'headbomb-unreliable-borderline'
		},
		{
			comment: 'Borderline source, which often (but not always) fails higher sourcing requirements. For Bentham journals, only those published by Bentham Open are of concern. For IndianJournals.com/Diva Enterprises journals, check the UGC lists.',
			regex: /\b10\.(?:0002|2174|3389|3390|3410|4089|4175|7490|12688|12703|32545|35995|1007(%2F|\/)s12129|4103|6219|9754|3232|5958)\b/,
			cssclass: 'headbomb-unreliable-borderline'
		},

		// May or may not contain preprints, predatory, or self-published materials
		{
			comment: 'Preprint or general repository which may or may not contain unpublished, self-published, or predatory materials',
			regex: /\b(?:test\.warn\.org|aasopenresearch\.org|academia\.edu|africarxiv\.org|agrirxiv\.org|amrcopenresearch\.org|arabixiv\.org|arxiv\.org|arxiv-vanity\.com|authorea\.com|beilstein-archives\.org|biohackrxiv\.org|biorxiv\.org|chemrxiv\.org|chinaxiv\.org|citeseerx\.ist\.psu\.edu|cogprints\.org|cureus\.com|docs\.google|e-century\.org|eartharxiv\.org|ecoevorxiv\.org|ecsarxiv\.org|edarxiv\.org|engrxiv\.org|eprint\.iacr\.org|eprints\.rclis\.org|essoar\.org|f1000research\.com|figshare\.com|frenxiv\.org|gatesopenresearch\.org|hal-hprints\.archives-ouvertes\.fr|hal\.archives-ouvertes\.fr|hrbopenresearch\.org|indiarxiv\.in|lawarxiv\.info|lissarchive\.org|mediarxiv\.com|medrxiv\.org|mindrxiv\.org|osf\.io(%2F|\/)preprints|paleorxiv\.org|peerj\.com(%2F|\/)preprints|philsci-archive\.pitt\.edu|precedings\.nature\.com|preprints\.arphahub\.com|preprints\.jmir\.org|preprints\.apsanet\.org|preprints\.org|preprints\.ru|preprints\.scielo\.org|psyarxiv\.com|pulsus\.com|qeios\.com|repec\.org|researchgate\.net|researchsquare\.com|scholar\.google|semanticscholar\.org|sportrxiv\.org|ssrn\.com|techrxiv\.org|thelancet\.com(%2F|\/)preprints|wellcomeopenresearch\.org|zenodo\.org|peercommunityin\.org|arxiv-vanity\.com|docsdrive\.com|googlepages\.com|books\.google|google\.([a-z][a-z][a-z])(%2F|\/)books|crimrxiv\.com|roa\.rutgers\.edu|preprints\.aijr\.org|researchers\.one|issuu\.com|kobo\.com|experiment\.com|worldcat\.org(%2F|\/)(oclc|title)|egusphere\.copernicus\.org)/i,
			cssclass: 'headbomb-unreliable-preprint'
		},
		{
			comment: 'Preprint or general repository which may or may not contain unpublished, self-published, or predatory materials',
			regex: /\b10\.(?:0003|1101(%2F|\/)\d+|2139|7287|4066|5281|5604|6084|7759|15200|19144|20935|20944|21282|31219|31220|31221|31222|31223|31224|31225|31226|31227|31228|31229|31230|31231|31232|31233|31234|31235|31236|31237|32388|24072|22541|21203|36227|48550|18258|17605|5194(%2F|\/)egusphere)\b/i,
			cssclass: 'headbomb-unreliable-preprint'
		}, 

		// Varies with the contributor or topic
		{
			comment: 'Reliability depends on contributor or topic',
			regex: /\b(?:test\.contributors\.org|aa\.com\.tr|forbes\.com|foxnews\.com|huffpost\.com|huffingtonpost\.com|infotextmanuscripts\.org|jezebel\.com|about\.com|dotdash\.com|lifewire\.com|verywell\.com|sites\.google\.com|cuancha\.cn|hkv\.hr|gamespot\.com|filmmusicreporter\.com|mashable\.com|theneedledrop\.com|newsweek\.com|mirror\.co\.uk|[^-]cbn\.com|rollingstone\.com|timesofindia\.com|indiatimes\.com|genius\.com|dorchesterreview\.ca|islamqa\.info|news\.cn|tass\.com|tass\.ru|techcrunch\.com|insider\.com|rhythmone\.com|allmusic\.com|allmovie\.com|salon\.com|spectator\.co\.uk|spectator\.us|spectatorworld\.com|spectator\.com\.au|sina\.com|askmen\.com|diva-dirt\.com|411mania\.com|bleacherreport\.com|profightdb\.com|wwenetworknews\.com|rian\.com|ria\.ru|rian\.ru|thepaper\.cn|sixthtone\.com)/i,
			cssclass: 'headbomb-unreliable-depends'
		},
		{
			comment: 'Reliability depends on contributor or topic',
			regex: /\b10\.(?:0003|1016(%2F|\/)j\.chaos\.|1016(%2F|\/)S0960-0779)\b/i,
			cssclass: 'headbomb-unreliable-depends'
		}, 

		{
			comment: 'Generally unreliable source',	
			regex: /\b(?:test\.generallyunreliable\.org|112\.international|112\.ua|112ua\.tv|dailysabah\.com|alternet\.org|amazon\.(com\.br|ca|com\.mx|com|cn|in|co\.jp|sg|com\.tr|ae|fr|de|it|nl|es|co\.uk|com\.au)|americanthinker\.com|amgreatness\.com|amren\.com|ancestry\.com|angelfire\.com|angelfire\.lycos\.com|answers\.com|askubuntu\.com|avn\.org\.au|baidu\.hk|baidu\.com|b-a-i-d-u\.com|bigleaguepolitics\.com|bild\.de|bipartisanreport\.com|bircham\.edu|blazetv\.com|blogger\.com|blogspot\.com|bloodandhonourcentral\.co\.uk|bloodandhonourworldwide\.co\.uk|celebritynetworth\.com|centerforfoodsafety\.org|cesnur\.org|childrenshealthdefense\.org|cmsri\.org|cnsnews\.com|coindesk\.com|collective-evolution\.com|conservativereview\.com|conservativetribune\.com|coresci\.org|cracked\.com|dailykos\.com|dailymotion\.com|dailywire\.com|davidwolfe\.com|deanradin\.com|deanradin\.org|delphiclassics\.com|discogs\.com|dnadecipher\.com|drtenpenny\.com|electronicintifada\.net|ewg\.org|explorejournal\.com|express\.co\.uk|facebook\.com|familysearch\.org|fandom\.com|fb\.com|findagrave\.com|findmypast\.co\.uk|flickr\.com|foodandwaterwatch\.org|foodbabe\.com|force9\.co\.uk|fwwatch\.org|gawker\.com|geni\.com|geocities\.com|glennbeck\.com|goodreads\.com|greenmedinfo\.com|gsjournal\.net|guacamoley\.com|healthnutnews\.com|heatst\.com|i-sis\.org|ibtimes\.co\.uk|ibtimes\.com|imdb\.com|indiahealthguru\.com|indymedia\.org|instagram\.com|jcer\.com|lawofficer\.com|lenr-canr\.org|liberty\.edu|lifezette\.com|linkedin\.com|livejournal\.com|marquiswhoswho\.com|mathoverflow\.net|mediabiasfactcheck\.com|medicalveritas\.com|medium\.com|mercola\.com|metro\.news|modernalternativehealth\.com|modernalternativemama\.com|momsacrossamerica\.com|mruniversity\.com|neuroquantology\.com|newenergytimes\.com|newspunch\.com|nvic\.org|onlinegatha\.com|organicconsumers\.org|palmerreport\.com|pan-international\.org|patheos\.com|patribotics\.com|pesticideinfo\.org|peteevans\.com|pinterest\.com|pjmedia\.com|prageru\.com|prespacetime\.com|prisonplanet\.com|projectveritas\.com|okeefemediagroup\.com|quadrant\.org\.au|quillette\.com|quora\.com|realfarmacy\.com|rebelnews\.com|reddit\.com|redstate\.com|rootsweb\.com|scigod\.com|scribd\.com|skwawkbox\.org|souq\.com|stackexchange\.com|stackoverflow\.com|stormfront\.org|telekinesisworld\.com|theblaze\.com|thecanary\.co|thefederalist\.com|thegwpf\.org|thenewamerican\.com|theonion\.com|thepoliticalcesspool\.org|thepostmillennial\.com|thetruthaboutguns\.com|tldp\.com|townsendletter\.com|tumblr\.com|tunefind\.com|tvtropes\.org|twitch\.tv|twitchy\.com|twitter\.com|urbandictionary\.com|venezuelanalysis\.com|vgchartz\.com|vimeo\.com|vixra\.org|rxiv\.org|wddty\.com|weebly\.com|westernjournal\.com|whosampled\.com|wikia\.com|wikia\.org|wikileaks\.org|wonkette\.com|wordpress\.com|worldometer\.info|worldometers\.info|worldtruth\.tv|youtube\.com|ebay\.com|physicsessays\.org|superuser\.com|serverfault\.com|boredpanda\.com|listverse\.com|mobilereference\.com|odmp\.org|carfolio\.com|kenrockwell\.com|liliputing\.com|omniglot\.com|phoronix\.com|proprivacy\.com|tuttoandroid\.net|vpnpro\.com|highstakesdb\.com|rocketrobinsoccerintoronto\.com|encycolorpedia\.com|defence-blog\.com|forces-war-records\.co\.uk|defseca\.com|weaponsandwarfare\.com|military-today\.com|militarytoday\.com|leafly\.com|europeanheraldry\.org|historyofroyalwomen\.org|jadovno\.com|wordspy\.com|blu-ray\.com|comicbookmovie\.com|filmaffinity\.com|filmreference\.com|(%3A%2F%2F|:\/\/|\.)tv\.com|history\.com|victimsofcommunism\.org|adfontesmedia\.com|aeronet\.cz|africanprintinfashion\.com|ahaonline\.cz|albumoftheyear\.org|aleteia\.org|allsides\.com|alternativevision\.co\.uk|animals24-7\.org|anphoblacht\.com|answeringmuslims\.com|arcadeheroes\.com|austinemedia\.com|bdmilitary\.com|blesk\.cz|bradysnario\.com|buzznigeria\.com|capitalresearch\.org|catholicism\.org|celebitchy\.com|cesnur\.net|chabad\.org|chiomajesus\.org|chivalricorders\.com|churchmilitant\.com|cinemacats\.com|conservativehome\.com|consortiumnews\.com|countere\.com|dailyo\.in|dailysport\.co\.uk|danielpipes\.org|daxtonsfriends\.com|dogbitelaw\.com|dogsbite\.org|douban\.com|earnthenecklace\.com|epistlenews\.co\.uk|evolvepolitics\.com|faluninfo\.net|famousbirthsdeaths\.com|fatalpitbullattacks\.com|findmypast\.com|freebeacon\.com|gamefaqs\.gamespot\.com|gazetabankowa\.pl|glitchwave\.com|globalmbwatch\.com|gmusicplus\.com|gospelmusicnaija\.com|greekcitytimes\.com|gript\.ie|guide2womenleaders\.com|haribhakt\.com|hellomagazine\.com|hindi2news\.com|hotairengines\.org|hrvc\.net|ifcj\.org|independentaustralia\.net|informationng\.com|inquisitr\.com|insistposthindi\.in|intoleranceagainstchristians\.eu|isfdb\.org|ishkur\.com|islamicstudies\.org|israelunwired\.com|jacobitemag\.com|jammersreviews\.com|jewishvirtuallibrary\.org|knowyourmeme\.com|lesbianandgaynews\.com|lifehacker\.com|lindaikejisblog\.com|livehistoryindia\.com|looktothestars\.org|loudestgist\.com|madainproject\.com|mailonsunday\.co\.uk|marriedceleb\.com|masala\.com|meaww\.com|meforum\.org|metal-experience\.com|metalheadzone\.com|metro\.co\.uk|mises\.org|monergism\.com|moneyinc\.com|mrc\.org|muflihun\.com|naszdziennik\.pl|nationalpitbullvictimawareness\.org|ncc\.org\.au\/newsweekly|nczas\.com|nickiswift\.com|ntdtv\.com|nypost\.com|onobello\.com|order-order\.com|ordoiuris\.pl|ourcampaigns\.com|pagesix\.com|panampost\.com|panarmenian\.net|parlamentnilisty\.cz|peoples\.ru|peopo\.org|peta\.org|police1\.com|politicalislam\.com|popsugar\.com|postcard\.news|radiomaryja\.pl|rollingout\.com|siberiantimes\.com|somalidispatch\.com|sonemic\.com|songmeaningsandfacts\.com|soundcloud\.com|stalkerzone\.org|stargist\.com|stars\.ng|stefczyk\.info|super\.cz|supercars\.net|superyachttimes\.com|techno\.org\/electronic-music-guide|the-sun\.com|thehustlersdigest\.com|thelogicalindian\.com|thevpme\.com|torontoguardian\.com|trekbbs\.com|treknation\.com|trektoday\.com|tv-trwam\.pl|tvp\.pl|tygodnikpodlaski\.pl|wGospodarce\.pl|wNas\.pl|wSumie\.pl|watchmojo\.com|wegotthiscovered\.com|wenweipo\.com|wrldrels\.org|wsieciprawdy\.pl|wsws\.org|youthkiawaaz\.com|youthvillageng\.com|thenationalpulse\.com|catholic-hierarchy\.org|thereligionofpeace\.com|askapatient\.co|arxiv\.org(%2F|\/)archive(%2F|\/)physics\.gen-ph|californiaglobe\.com|thrashocore\.com|myspace\.com|whatculture\.com|weather2travel\.com|wegotthiscovered\.com|tvtome\.com|rawstory\.com|starsunfolded\.com|spirit-of-metal\.com|sourcewatch\.org|prnewswire\.com|ourcampaigns\.com|eyeblast\.tv|metal-archives\.com|allgov\.com|sensacionalista\.com\.br|nordpresse\.be|njuz\.net|kyoko-np\.net|journaldemourreal\.com|walkingeaglenews\.com|dailybonnet\.com|burrardstreetjournal\.com|worldnewsdailyreport\.com|thebeaverton\.com|truenorthtimes\.ca|larknews\.com|thefauxy\.com|panorama\.pub|iuniverse\.com|h2g2\.com|fantasticfiction\.co\.uk|wisegeek\.com|groups\.google\.com|mankindquarterly\.org|acpeds\.org|currantdaily\.com|fool\.com|thestreet\.com|seekingalpha\.com|articlesnatch.com|private-eye\.co\.uk|framleyexaminer\.com|thepoke\.co\.uk|newsbiscuit\.com|thedailymash\.co\.uk|dailysquib\.co\.uk|theoxymoron\.co\.uk|thelemonpress\.co\.uk|newsthump\.com|southendnewsnetwork\.net|rochdaleherald\.co\.uk|landoverbaptist\.org|islamicanews\.com|bbspot\.com|borowitzreport\.com|scrappleface\.com|thedailywtf\.com|adequacy\.org|christwire\.org|thedailyer\.com|weeklyworldnews\.com|satirewire\.com|freewoodpost\.net|duffelblog\.com|nationalreport\.net|reductress\.com|clickhole\.com|thehardtimes\.net|huzlers\.com|babylonbee\.com|elchiguirebipolar\.net|sis-group\.org\.uk|dr-rath-foundation\.org|candida-international\.org|ulsterinstitute\.org|infogalactic\.com|conservapedia\.com|gameskinny\.com|somoynews\.tv|fluorideresearch\.org|sportskeeda\.com|dailyexpose\.co\.uk|elrompehielos\.com\.ar|vixraone\.github\.io|thecubanhistory\.com|iamaq\.org|middleeastmonitor\.com|bellanaija\.com|somoynews\.tv|thesundaily\.my|aydinlik\.com\.tr|internethaber\.com|yenicaggazetesi\.com\.tr|vz\.ru|thecubanhistory\.com|theblot\.com|californiaglobe\.com|rawstory\.com|artofmanliness\.com|beatportal\.com|daily-beat\.com|theleectrichawk\.com|gameskinny\.com|secretshoresmusic\.com|thrashocore\.com|vinylized\.com|warhistoryonline\.com|starshipcampaign\.com|thesportster\.com|bitchute\.com|alhudood\.net|awazetribune\.com|betootaadvocate\.com|chaser\.com\.au|thecivilian\.co\.nz|christwire\.org|speld\.nl|exiledonline\.com|der-postillon\.com|elkoshary\.com|elmundotoday\.com|fognews\.ru|journaldemourreal\.com|khabaristantimes\.com|kyoko-np\.net|legorafi\.fr|thelemonpress\.co\.uk|lercio\.it|njuz\.net|nordpresse\.be|sensacionalista\.com\.br|theunrealtimes\.com|timesnewroman\.ro|waterfordwhispersnews\.com|zaytung\.com|fortherightnews\.com|therightscoop\.com|trueactivist\.com|usasupreme\.com|todayifoundout\.com|rollingstone.com(%2F|\/)culture-council|council\.rollingstone\.com|todor66\.com|aymennjawad\.org|goodwordnews\.com|dropbox\.com|medicaldailytimes\.com|chronicleweek\.com|chemfindit\.com|joshuaproject\.net|ourcampaigns\.com|starsunfolded\.com|weather2travel\.com|wegotthiscovered\.com|fakingnews\.com|southendnewsnetwork\.com|aapsonline\.org|(%3A%2F%2F|:\/\/|\.)heritage\.org[^\.]|techtimes\.com|itechpost\.com|gamenguide\.com|ukwhoswho\.com|hindupost\.in|theaerodrome\.com|f-16\.net|fighterjetsworld\.com|bitterwinter\.org|moneylife\.in|dorzeczy\.pl|gazetapolska\.pl|niezalezna\.pl|tvrepublika\.pl|blackagendareport\.com|buffalochronicle\.com|cnsnews\.com|dissidentvoice\.org|wehuntedthemammoth\.com|enciclopediadarte\.eu|electronicbeats\.net|futuremagmusic\.org|insightmusic\.co\.uk|ninetofiverecords\.com|plasticmag\.co\.uk|theplayground\.co\.uk|rotoscopers\.com|garden\.org|gatestoneinstitute\.org|dharmapublications\.com|diamondbook\.in|trafford\.com|abiworldwide\.com|authorhouse\.com|www\.cafepress\.com|clubedeautores\.com\.br|createspace\.com|daastan\.com|diggypod\.com|greydenpress\.com|juggernaut\.in|kessinger\.net|lightningsource\.com|notionpress\.com|okadabooks\.com|omniscriptum\.com|outskirtspress\.com|pratilipi\.com|publishamerica\.com|reedsy\.com|selfpublishbehappy\.com|shopify\.com|smashwords\.com|talehunt\.com|spri\.ng|wattpad\.com|xlibris\.com|xulonpress\.com|trajectory\.com|zazzle\.com|vistaprint\.com|spreadgroup\.com|skreened\.com|shutterflyinc\.com|Redbubble\.com|planetSoho\.com|picaboo\.com|imagekind\.com|collectorsweekly\.com|blurb\.com|kcna\.kp|weibo\.com|antiwar\.com|orientalreview\.org|counterpunch\.org|jpands\.org|icdrc\.org|vaccinationnews\.org|orthomed\.org|australianwrestling\.org|bloodyelbow\.com|cagesideseats\.com|gerweck\.net|itnwwe\.com|kayfabememories\.com|nodq\.com|onlineworldofwrestling\.com|pwpix\.net|rajah\.com|ringsidenews\.com|sbnation\.com|thewrestlingestate\.com|wrestletalk\.com|wrestlezone\.com|axishistory\.com|lexikon-der-wehrmacht\.de|feldgrau\.com|bookbaby\.com|lbbonline\.com|railscot\.co\.uk|filmibeat\.com|tollywood\.net|setlist\.fm|ihr\.org|24by7publishing\.com|360digitalbooks\.com|48hrbooks\.com|authorsolutions\.com|booktango\.com|palibrio\.com|alta-graphics\.com|aachanon\.com|arborbooks\.com|authoright\.com|authorstree\.com|authorly\.com|becomeshakespeare\.com|bibliofili\.com|booksloveme\.com|biddles\.co\.uk|blogger\.com|blueinkreview\.com|bookbaby\.com|buuks\.com|bookwritinginc\.com|bookmarketeers\.com|writersofusa\.com|bookleafpub\.com|booklocker\.com|bookmasters\.com|bookmobile\.com|bookpros\.com|bod\.de|bookstandpublishing\.com|booksurge\.com|bookventure\.com|bookwhirl\.com|bfcpublications\.com|booksmantra\.com|bookwritingprofessional\.com|acornselfpublishing\.com|booksllc\.net|bookwritingavalon\.com|brutusjournal\.com|hannity\.com|fotw\.info|barnesreview\.org|theamericanmercury\.org|noontidepress\.com|toqonline\.com|medical-hypotheses\.com|gbnews\.uk|tvnewsroom\.uk|wallstreetpro\.com|armyrecognition\.com|globalfirepower\.com|militaryland\.net|transfermarkt\.de|transfermarkt\.com|globalsecurity\.org|catholic\.org|orthodoxwiki\.org|statista\.com|moderndiplomacy\.eu|healthliberationnow\.com|archaeology-world\.com|jrank\.org|newenglishreview\.org|neara\.org|openpsych\.net|off-guardian\.org|independentsciencenews\.org|lewrockwell\.com|nsnbc\.me|protothema\.gr|rationalwiki\.org|attorneyatlawmagazine\.com|atlasobscura.com(%2F|\/)places|broadwayworld\.com|chat\.openai\.com|distractify\.com|investopedia\.com|genealogy\.euweb\.cz|correodelorinoco\.gob\.ve|simpleflying\.com|baike\.com|tiktok\.com|douyin\.com)/i,
			cssclass: 'headbomb-unreliable-unreliable'
		},
		
		{ 
			comment: 'Generally unreliable source',
			regex: /\b10\.(?:0004|4006|14704|5048|46469|1016(%2F|\/)j\.explore|1016(%2F|\/)j\.mehy|13140|1588|37720|1093(%2F|\/)ww)\b/,
			cssclass: 'headbomb-unreliable-unreliable'
		},
		
		{ 
			comment: 'Sponsored content',
			regex: /\b(?:test\.sponsored\.org|wired\.com(%2F|\/)insights)/i,
			cssclass: 'headbomb-unreliable-sponsored'
		},

		{
			comment: 'Wikimedia-related website',
			filter: mw.config.get('wgNamespaceNumber') === 0 || mw.config.get('wgNamespaceNumber') === 118,
			regex: /\b(?:test\.wiki\.org|wikidata\.org|wikinews\.org|wikipedia\.org|wiktionary\.org|w\.wiki)/i,
			cssclass: 'headbomb-unreliable-wikimedia'
		},

		// Predatory. See [[Special:AbuseFilter/891]], [[WP:CITEWATCH/SETUP]], [[User:JzG/Predatory]], https://beallslist.net/ and https://www.ugc.ac.in/journallist/4305_Journals.pdf
		{
			comment: 'Predatory journal or publisher',
			regex: /\b(?:test\.predatory\.org|(%3A%2F%2F|:\/\/|\.)iiis\.org|(%3A%2F%2F|:\/\/|\.)ssjournals\.com|academicjournals\.com|academicjournals\.net|academicjournals\.org|academicpub\.org|academicresearchjournals\.org|acjol\.org|advancedscience\.org|aessweb\.com|aiac\.org\.au|aicit\.org|aijcrnet\.com|aijssnet\.com|alliedacademies\.org|allresearchjournal\.com|arcjournals\.org|ashdin\.com|aspbs\.com|auctoresonline\.org|avensonline\.org|bibliomed\.org|biocoreopen\.org|bioflux\.com\.ro|bioinfopublication\.org|biomedres\.info|biopublisher\.ca|bonfring\.org|bowenpublishing\.com|ccsenet\.org|cennser\.org|chitkara\.edu\.in|cibtech\.org|cirworld\.com|clinmedjournals\.org|cluteinstitute-onlinejournals\.com|cluteinstitute\.com|clutejournals\.com|cluteonline\.com|conferenceseries\.com|cosmology\.com|cosmosscholars\.com|cpinet\.info|cscanada\.net|currentpediatrics\.com|davidpublisher\.org|destechpub\.com|eajournals\.org|econjournals\.com|ecronicon\.com|ejpmr\.com|electrochemsci\.org|esciencecentral\.org|etpub\.com|eujournal\.org|eurojournals\.com|europeanjournalofsocialsciences\.com|euser\.org|florajournal\.com|geneticsmr\.org|globaljournals\.org|globalresearchonline\.net|globalstf\.org|grdspublishing\.org|growingscience\.com|hanspub\.org|hoajonline\.com|hrmars\.com|iacsit\.org|iaeme\.com|iamure\.com|iaset\.us|idosi\.org|igi-global\.com|iises\.net|iiste\.org|ijarbs\.com|ijastnet\.com|ijbhtnet\.com|ijbssnet\.com|ijcit\.com|ijcrt\.org|ijddr\.in|ijedr\.org|ijellh\.com|ijera\.com|ijerst\.com|ijert\.org|ijfcc\.org|ijhssnet\.com|ijiras\.com|ijirset\.com|ijiset\.com|ijllnet\.com|ijltet\.org|ijmhr\.org|ijmlc\.org|ijmrbs\.org|ijohmn\.com|ijpab\.com|ijpbs\.net|ijrdet\.com|ijream\.org|ijrrjournal\.com|ijsat\.com|ijset\.in|ijset\.net|ijsre\.com|ijsret\.com|ijsrp\.org|ijsrpub\.com|ijsta\.com|ijstr\.org|ijtrd\.com|imedpub\.com|infinitypress\.info|informaticsjournals\.com|innovativejournal\.in|innspub\.net|intechopen\.com|intechweb\.org|interesjournals\.org|internationaljournalssrg\.org|irjponline\.com|ispacs\.com|ispub\.com|issr-journals\.org|jalsnet\.com|jaypeebrothers\.com|jaypeejournals\.com|jbepnet\.com|jespnet\.com|jioh\.org|jmest\.org|jocpr\.com|journalcra\.com|journalijar\.com|journalissues.\org|journalofcosmology\.com|thejournalofcosmology\.com|journalofastrobiology\.com|jpmedpub\.com|julypress\.com|juniperpublishers\.com|kowsarpub\.com|kspjournals\.org|longdom\.org|m-hikari\.com|macrothink\.org|maxwellsci\.com|mecs-press\.org|medcraveonline\.com|medicinearticle\.com|medwelljournals\.com|medwinpublishers\.com|newworldpub\.com|oapub\.org|oapublishinglondon\.com|oatext\.com|omicsgroup\.org|omicsonline\.com|omicsonline\.org|oprscience\.org|ospcindia\.org|pelagiaresearchlibrary\.com|pharmainfo\.in|pharmascope\.org|phytojournal\.com|rajpub\.com|recentscientific\.com|redelve\.com|researchleap\.com|researchpub\.org|ripublication\.com|rjlbpcs\.com|sapub\.org|scholarpublishing\.org|scholarsresearchlibrary\.com|scholink\.org|scialert\.net|scidoc\.org|sciedu\.ca|sciencedomain\.org|sciencedomains\.org|sciencejournal\.in|sciencepg\.com|sciencepub\.net|sciencepubco\.com|sciencepublication\.org|sciencepublishinggroup\.com|scientiaricerca\.com|scientificjournals\.org|sciepub\.com|scihub\.org|scipg\.net|scipress\.com|scirp\.org|scitcentral\.com|scitechnol\.com|scopemed\.com|scopemed\.org|seipub\.org|sersc\.org|smjournals\.com|sphinxsai\.com|stmjournals\.com|stmjournals\.in|the-criterion\.com|thesai\.org|thescipub\.com|tropicalplantresearch\.com|universitypublications\.net|updatepublishing\.com|valleyinternational\.net|warse\.org|waset\.org|witpress\.com|worldsciencepublisher\.org|worldwidejournals\.com|wscholars\.com|wseas\.org|wseas\.us|wudpeckerresearchjournals\.org|xandhpublishing\.com|xiahepublishing\.com|zantworldpress\.com|zenithresearch.org\.in|iracst\.org|jocmr\.com|jicep\.com|rrjournals\.com|ommegaonline\.org|ijesd\.org|theartsjournal\.org|jscimedcentral\.com|iioab\.com|iioab\.webs\.com|bepls\.com|ijfas\.com|irphouse\.com|onlineresearchjournals\.com|iomcworld\.org|jnasci\.org|edtechpress\.co\.uk|cambridgescholars\.com|jnsbm\.org|sid\.ir|ijprbs\.com|iarme\.com|internationaljournalcorner\.com|theijhss\.com|globeedugroup\.com|\ijbts-journal\.com|jieas\.com|irjaes\.com|ijeir\.com|ijbmer\.com|jneurology\.com|pediatricsresearchjournal\.com|cancertreatmentjournal\.com|mentalhealthjournal\.org|medwellonline\.net|aensiweb\.com|globalscientificjournal\.com|tojet\.net|ijip\.in|ijcmas\.com|excellentpublishers\.com|elixirpublishers\.com|pharmacologyonline\.silae\.it|thepharmajournal\.com|bilpublishing\.com|ijste\.org|ijesr\.org|pressacademia\.org|rsisinternational\.org|researchpublish\.org|researchpublish\.com|ijser\.org|oiirj\.org|materialsciencejournal\.org|jallr\.org|jamdsr\.com|gjar\.org|iarjset\.com|iasir\.net|ijrap\.net|ijritcc\.org|ijteee\.org|ijscl\.net|ijss-sn\.com|jasstudies\.com|ijirct\.org|ijcrt\.org|indianscholar\.co\.in|irjps\.in|abacademies\.org|ijelr\.in|irjms\.com|ijsr\.net|arabianjbmr\.com|stetjournals\.com|ijmmu\.com|jcreview\.com|sposci\.com|hilarispublisher\.com|ijcst\.com|jmaterenvironsci\.com|ijvtpr\.com|ambs-journal\.co\.uk|openjournalsystems\.com|iajps\.com|joplink\.net|ijesrr\.org|lap-publishing\.com|saudijournals\.com|remedypublications\.com|indusedu\.org|aegaeum\.com|ijpsdr\.com|ijitee\.org|tsijournals\.com|rroij\.com|ejbss\.com|granthaalayah\.com|ambs-journal\.co\.uk|europeanjournalofscientificresearch\.com|americanjournalofscientificresearch\.com|europeanjournalofeconomicsfinanceandadministrativesciences\.com|internationalresearchjournaloffinanceandeconomics\.com|bitlifesciences\.com|adalyajournal\.com|aegaeum\.com|colopos\.mx|borenv\.com|ccamlrscience\.com|gjstx-e\.cn|informaticajournal\.com|seronijihou\.com|jsju\.org|iratde\.com|jusst\.org|xadzkjdx\.cn|xisdxjxsu\.asia|xajzkjdx\.cn|liverpool-unipress\.uk|scieloopcion\.com|paideumajournal\.com|pjrpublication\.com|polishpolar\.com|presliajournal\.com|revistaeducacion\.org|ausrevista\.com |ausrevista\.info|kansaiuniversityreports\.com|testmagzine\.biz|afpf-asso\.com|intercienciajournal\.com|entomologyjournals\.com|symbiosisonlinepublishing\.com|isroset\.org|ijcseonline\.org|entomoljournal\.com|ijrbat\.in|vmsindia\.org|ijlass\.org|gjesr\.com|copernicuspublishing\.com|archivesofpsychology\.org|clinicalmedicinereview\.org|homesciencejournal\.com|escipub\.com|peertechz\.com|peertechzpublications\.com|ipinnovative\.com|innovativepublication\.com|ejmcm\.com|academiascholarlyjournal\.org|isrjournals\.org|tojned\.net|tojsat\.net|tojdel\.net|tojet\.net|dermatoljournal\.com|arpgweb\.com|ayushdhara\.in|ijssh\.org|journalajmah\.com|bookpi\.org|euacademic\.org|ipcbee\.com|bonfring\.org|researchpublish\.com|ijessr\.com|internationaljournalofresearch\.com|ijrjournal\.com|ijsshr\.com|gojamss\.net|ijahss\.net|journalofsports\.com|ijsshr\.in|ijar\.org\.in|arjournals\.org|ijirr\.com|ijariie\.com|esatjournals\.org|ijret\.org|ijpaes\.com|researchscholar\.co\.in|esmed\.org|faunajournal\.com|research-advances\.org|imedicalpublisher\.com|ijirt\.org|donnishjournals\.org|journalijdr\.com|jyoungpharm\.org|ijalel\.org|thedesignengineering\.com|123mi\.ru|buy-sell-article\.com|publisher-international\.com|publisher-asia\.com|publisher-europe\.com|publishinghouseasia\.com|publisher-shanghai\.com|publisher-usa\.com|publisher-science\.com|publisher-russia\.com|ajptr\.com|oalib\.com|mutagens\.co\.in|ijpsr\.info|ijpaz\.com|malayajournal\.org|rjpbcs\/com|excelingtech\.co\.uk|opastonline\.com|opastpublishers\.com|openaccesspub\.org|oap-journals\.org|lupinepublishers\.com|ijpc\.com|sciforschenonline\.org|jetir\.org|scholarlinkresearch\.com|enggjournals\.com|researchopenworld\.com|biomedgrid\.com|ijarcce\.com|wjpps\.com|austinpublishinggroup\.com|derpharmachemica\.com|bioinformation\.net|thebioscan\.in|savvysciencepublisher\.com|iabe\.org|indjst\.org|brieflands\.com|hrpub\.org|jsaer\.com)/i,
			cssclass: 'headbomb-unreliable-predatory'
		},
		
		{ 
			comment: 'Predatory journal or publisher',
			regex: /\b10\.(?:0001|11648|1166|1234|12677|12692|12720|12988|13005|13172|13188|14257|14299|14303|14419|14445|1453|14569|14662|15406|15415|15373|15680|15761|17265|18005|18052|18311|18775|19030|19044|19070|19080|1999|20319|20431|20472|20849|20902|20964|21102|21767|22158|23937|29322|2495|30845|35841|36648|3844|3923|3968|4018|4156|4172|4236|4303|5005|5267|5296|5376|5430|5455|5539|5567|5580|5772|5812|5815|5829|5897|5899|5923|5963|6007|6479|7243|7439|7537|7575|7718|7763|9734|22192|18535|15379|35248|24297|7176|17577|37532|24113|14218|14738|3153|9790|15550|35940|33564|24327|22271(%2F|\/)phyto|22214|37591|18632|22271|25141|22376|26452|47128|18488|16965|24105|12983|26417|3889|21474|36106|5176|18782|18843|17776|25081|12691|46827|15436|37624|29245|18203|20546|17261|17148|7897|17354|9761|31142|32370|20894|18415|31838|17051|18869|21275|26872|36348|23953|18533|7753|29121|11131|12715|15412|26438|26643|36876|37421|18374|28933|17352|18231|17812|18178|22631|15406|21276|32861|47070|9756|37284|7813|5138|15623|18103|30534|29032|15226|21013|12966|17485|3823|24940|1016(%2F|\/)j\.jyp|5530|4103(%2F|\/)0975-1483|37394|9735|46624|26420|31618|30996|26637|24966|52437|15740|33140|14302|32474|16966|25046|21817|31038|34297|31426|36344|36346|36347|36348|36349|20959|34172|23880|6026|21786|56602|13189|37871|21839)\b/,
			cssclass: 'headbomb-unreliable-predatory'
		},

		
		{
			comment: 'Deprecated source',
			regex: /\b(?:test\.deprecated\.org|almanach\.be|almanachdegotha\.org|angelfire\.com\/realm\/gotha|chivalricorders\.org|cracroftspeerage\.co\.uk|englishmonarchs\.co\.uk|jacobite\.ca|campaignlifecoalition\.com|crunchbase\.com|dailycaller\.com|dailymail\.co\.uk|dailymail\.com|hispantv\.com|hispantv\.ir|jihadwatch\.org|last\.fm|lifesitenews\.com|mintpressnews\.com|nationalenquirer\.com|newsoftheworld\.co\.uk|nndb\.com|oann\.com|occupydemocrats\.com|washingtonpress\.com|rateyourmusic\.com|rt\.com|takimag\.com|telesurenglish\.net|telesurtv\.net|theepochtimes\.com|visiontimes\.com|secretchina\.com|ntd\.com|thegatewaypundit\.com|thegrayzone\.com|thesun\.co\.uk|vdare\.com|wnd\.com|worldnetdaily\.com|royalark\.net|thepeerage\.com|worldstatesmen\.org|4dw.net(%2F|\/)royalark|newsbreak\.com|voltairenet\.org|sputniknews\.com|sptnkne\.ws|newsmax\.com|newsmaxtv\.com|globaltimes\.cn|huanqiu\.com|frontpagemag\.com|dailystar\.co\.uk|cgtn\.com|baike\.baidu\.com|zerohedge\.com|presstv\.com|presstv\.ir|presstv\.co\.uk|presstv\.tv|conservativewoman\.co\.uk|newsblaze\.com|unz\.com|unz\.org|republicworld\.com|abcnews\.com\.co|libertywriters\.com|prntly\.com|washingtonpost\.com\.co|usatoday\.com\.co|cbsnews\.com\.co|drudgereport\.com\.co|fox-news24\.com|nbcnews\.com\.co|now8news\.com|undergroundnewsreport\.com|truetrumpers\.com|breaking-cnn\.com|bloomberg\.ma|bizstandardnews\.com|bients\.com|cnn-trending\.com|ruptly\.tv|redfish\.media|wearemaffick\.com|anna-news\.info|journal-neo\.org|royalcentral\.co\.uk|sputniknews\.in|sputnikmediabank\.com|sputnikglobe\.com|sputnikportal\.rs|sputniknews\.africa|sputniknews\.ru|sputnik\.by|armeniasputnik\.am|sputnik\.kz|sputniknews\.cn|sputnik\.md|sputnik-georgia\.com|sputnik-georgia\.ru|sputnik-abkhazia\.ru|sputnik-ossetia\.com|sputnik-ossetia\.ru|sputniknewslv\.com|sputniknews\.lt|sputniknews\.gr|sputniknews-uz\.com|sputnik-tj\.com|sputnik\.az|sputnik\.kg|radiosputnik\.ria\.ru|voiceofrussia\.com|russiatoday\.com|russiatoday\.ru|rt\.rs|sputniknews\.uz|sputniknews\.lat|almayadeen\.net|thecradle\.co)/i,
			cssclass: 'headbomb-unreliable-deprecated'
		},
	
		{
			comment: 'Misleading journal metric',
			regex: /\b(?:test\.misleading\.org|aeglobalindex\.com|aqcj\.org|arabimpactfactor\.com|citefactor\.org|cosmosimpactfactor\.com|dids\.info|diif\.org|doi-ds\.org|drji\.org|esjindex\.org|generalimpactfactor\.com|globalimpactfactor\.com|gscif\.org|i2or\.com|iarcif\.org|ifsij\.com|iijif\.com|impact-factor\.ru|impactfactorjournals\.com|impactfactorservice\.com|indexcopernicus\.com|infobaseindex\.com|inno-space\.net|internationaljournalimpactfactor\.com|isindexing\.com|isithomsonreuters\.org|israjif\.org|jifactor\.com|jifactor\.org|jourinfo\.com|journal-index\.org|journal-metrics\.com|journalimpactfactor\.co\.in|journalimpactfactor\.co\.in|journalimpactfactor\.in|journalsconsortium\.org|journalsmetrics\.com|jprsimpactfactor\.com|oaji\.net|opqc\.org|prernasociety\.org|pubicon\.org|rjifactor\.com|rootindexing\.com|scienceimpactfactor\.com|scijournal\.org|scijournal\.org|sifactor\.org|sindexs\.org|sjournals\.net|sparcindexing\.org|timpactfactor\.com|uifactor\.org|worldbizins\.org|sjifactor\.com|scholarimpact\.org)/i,
			cssclass: 'headbomb-unreliable-misleading'
		},

		{
			comment: 'Blacklisted source',
			regex: /\b(?:test\.blacklist\.org|beforeitsnews\.com|breitbart\.com|city-data\.com|dan-news\.info|examiner\.com|famousbirthdays\.com|globalresearch\.ca|banned\.video|infowars\.com|infowars\.net|infowars\.tv|lenta\.ru|liveleak\.com|lulu\.com|mylife\.com|naturalnews\.com|newstarget\.com|news-front\.info|newswar\.com|newswars\.com|reunion\.com|rusdialog\.ru|southfront\.org|thepointsguy\.com|topwar\.ru|ukraina\.ru|veteransnewsnow\.com|veteranstoday\.com|zoominfo\.com|verywellfamily\.com|verywellhealth\.com|verywellmind\.com|opindia\.com|opindia\.in|swarajyamag\.com|bestgore\.com|batteryuniversity\.com|<!-- Start Natural News Mirrors -->|3dprint\.news|3dprinters\.news|acioformation\.com|adams\.news|addiction\.news|airpurification\.news|aisystems\.news|alternativesearch\.com|aluminum\.news|aluminumdefense\.com|ametheos\.com|amethios\.com|amethios\.org|antioxidants\.news|aquifers\.news|arialglobalreach\.com|arialtranslations\.com|arsenic\.news|arseniceliminator\.com|assopaipai\.org|atomic\.news|augmentedrealitynews\.com|authenticwords\.com|aviator\.news|awakening\.news|backlash\.news|barter\.news|bees\.news|biased\.news|bigpharmanews\.com|biologicalterrorism\.com|biosludge\.news|biosludged\.com|biosolids\.news|biosolidswatch\.com|bioweapon\.com|blueberries\.news|bodycircles\.com|brain\.news|breakthrough\.news|breastfeed\.news|brighteon\.us|bubble\.news|burningitup\.com|cacao\.news|cadmium\.news|cameragear\.news|campaignenterprise\.com|campaignsoftware\.com|cancer\.news|cancermyths\.com|cancerscams\.news|cancertruthrevealed\.com|capturetoxins\.com|catastrophe\.news|cdcreporter\.com|cereals\.news|cesiumeliminator\.com|chelation\.news|chlorellafactor\.com|chlorellanews\.com|chlorellanews\.org|chlorellascience\.com|civilization\.news|cleanchlorella\.com|cleanfood\.news|cleanwater\.news|climate\.news|climatesciencenews\.com|collectivewisdombooks\.com|collectivewisdomguides\.com|colloidalsilver\.news|colloidalsilvernews\.com|consciouscosmology\.com|consciousness\.news|consumers\.news|consumerwellness\.info|consumerwellness\.org|contamination\.news|cosmic\.news|counterthink\.co|courage\.news|dangerousfood\.com|dangerousfoods\.com|dangerousingredients\.com|dangerousmedicine\.com|dementia\.news|desertcures\.com|desktopfabrication\.com|desktopfabrication\.news|detox\.news|disastersupply\.com|diseaseprevention\.news|distributed\.news|distributednews\.com|divinitynow\.com|dolphindialogs\.com|domesticterrorism\.com|ecoleds\.com|ecology\.news|economiccollapse\.news|electricity\.news|emaildesigntemplates\.com|emailmarketingdirector\.com|emergencyfood\.news|emergencymedicine\.news|endangeredknowledge\.org|entitlements\.news|ethics\.news|euthanasia\.news|excite\.news|excitotoxins\.com|extinction\.news|factcheck\.news|factoryfood\.news|falloutblocker\.com|falloutdefender\.com|falloutdefense\.com|falseflagreport\.com|farmacy\.news|fascism\.news|fasting\.news|fdareform\.org|firstamendment\.news|fishdefense\.com|fishoils\.news|fitnessheadlines\.com|fiveshockingfacts\.com|fivestepguides\.com|fivestepsolutions\.com|flusurvival\.com|food\.news|foodbars\.news|foodcures\.news|foodfabnews\.com|foodfabrecipes\.com|foodfabstore\.com|foodfactor\.com|foodfascism\.com|foodforensics\.com|foodfreedom\.news|foodinvestigation\.com|foodinvestigations\.com|foodismedicine\.com|foodlabels\.news|foodrising\.com|foodrising\.news|foodrising\.org|foodscience\.news|foodshortage\.news|foodstamps\.news|foodstorage\.news|foodtesting\.news|freedomvideos\.com|fruits\.news|fukushimadefense\.com|gadgetreviews\.news|genetherapy\.news|geneticallymodifiedrhymes\.com|geneticengineeringtoday\.com|globalcooling\.news|gmorhymes\.com|gmosong\.com|grassrootsvideos\.com|greenenergy\.news|greenhomes\.news|greenlivingreport\.com|greenwashing\.news|griddown\.news|griddownnews\.com|grocery\.news|grocerycures\.com|groceryreview\.com|grocerywarning\.com|groovybee\.us|growableorganics\.com|growyourmedicine\.com|happyplanetnews\.com|happyplanetshop\.com|healingarts\.news|healingfoods\.news|healingfromheavymetals\.com|healingplants\.news|health\.news|healthbooksummaries\.com|healthderanger\.com|healthderanger\.info|healthderanger\.org|healthfreedomreport\.org|healthproductsnews\.com|healthranger\.co|healthranger\.com|healthranger\.info|healthranger\.me|healthranger\.mobi|healthranger\.news|healthranger\.org|healthrangerdiabetescure\.com|healthrangerlive\.com|healthrangerorganics\.com|healthrangerradio\.com|healthrangersdiabetescure\.com|healthrangerstorableorganics\.com|healthrevolutionpetition\.org|healthrevolutiontour\.com|heavymetals\.news|heavymetalsblocker\.com|heavymetalsdefense\.com|heavymetalsnews\.com|herbal\.news|herbfacts\.com|herbranger\.com|herbreference\.com|heritage\.news|heritagewhey\.news|higher\.news|homegardening\.news|homeschooling\.news|homewaterpurification\.com|honestfoodguide\.com|honestfoodguide\.org|honeybees\.news|humanitarian\.news|humanpowered\.news|humanpowernews\.com|hyperinflationreport\.com|inaturalnews\.com|incredible\.news|indoctrination\.news|influencetoday\.com|inshape\.news|intelligence\.news|intelligentdesign\.news|intolerance\.news|inventors\.news|kitchengadgets\.news|labeling\.news|languagecodes\.com|leftbehind\.news|lifeafterdeath\.news|lifemanuals\.com|lifetips\.news|linkseed\.com|lostsecretsofhealth\.com|lowheavymetals\.org|lowheavymetalsverified\.org|malnutrition\.news|mayhem\.news|medicaljournalwatch\.com|medicalviolence\.com|medicinalherbs\.news|mental\.news|mercuryaway\.com|metalsdefense\.com|mighty\.news|mikeadams\.me|mind\.news|mindcontrol\.news|minifarmgrowbox\.org|mojo\.news|moringa\.news|moviereviews\.news|mrsa\.news|msg\.news|multiverse\.news|myradiationdefense\.com|myths\.news|naturalactionnetwork\.org|naturalcures\.news|naturaldisaster\.news|naturaldivinity\.com|naturaldivinity\.org|naturalfoods\.news|naturalhealth\.news|naturalhealthbookstore\.com|naturalhealthconsumer\.com|naturalhealthcustomers\.com|naturalhealthdiet\.com|naturalhealthdoctors\.com|naturalhealthexchange\.com|naturalhealthformulas\.com|naturalhealthgrocery\.com|naturalhealthheadlines\.com|naturalhealthletter\.com|naturalhealthlibrary\.com|naturalhealthnews\.com|naturalhealthreader\.com|naturalhealthrecipes\.com|naturalhealthreport\.com|naturalhealthreports\.com|naturalhealthshopper\.com|naturalhealthtalk\.com|naturalhealthtimes\.com|naturalhealthupdate\.com|naturalhealthvideos\.com|naturalhealthwire\.org|naturally\.news|naturalmedicine\.news|naturalnews\.co|naturalnews\.mobi|naturalnewsvideos\.com|naturalosophy\.com|naturalosophy\.org|naturalpedia\.com|naturalpedia\.org|naturalpreppers\.com|naturalproducts\.news|naturalvideonews\.com|neuralimprinting\.com|newenergyreport\.com|newsbehindthenews\.com|newscapture\.com|newstarget\.info|nuclear\.news|nutrients\.news|nutritionheadlines\.com|o3essentials\.com|obedience\.news|obedient\.news|offgrid\.news|officialsources\.news|omega3\.news|openwire\.news|oralhealth\.news|organicfarming\.news|originalnascentiodine\.com|outrageous\.news|patriotpouches\.us|peakfood\.news|peakoil\.news|permaculture\.news|permissiontools\.com|pethealth\.news|petitions\.news|pharmaceuticalfraud\.com|philosophy\.news|phytonutrients\.news|plague\.info|plantcures\.news|plantmedicine\.news|poisonpantry\.com|politicalreputation\.com|pollution\.news|popo\.news|powergrid\.news|predictions\.news|preparednessreport\.com|presscapture\.com|preventcancer\.news|preventionreport\.com|printyourfood\.com|proteinexposed\.com|psych\.news|psychdrugs\.news|publicrelations\.news|purewater\.news|quantumcomputing\.news|quarantine\.news|quickening\.news|racewars\.news|realworld\.news|recovery\.news|reflectium\.us|reformthefda\.com|reformthefda\.org|refreshing\.news|religiousfreedom\.news|reputationintelligence\.com|reputationmonitor\.com|retracted\.news|retractions\.news|reverseheartdisease\.news|sacred\.news|sacredlotusclinic\.com|safezeolites\.com|sccwc\.com|science\.news|sciencedeception\.com|sciencedeception\.org|sciencefailure\.com|scienceskeptic\.com|secondamendment\.news|seeds\.news|serious\.news|sevenlawsofnutrition\.com|shape\.news|shortage\.news|silvermaker\.com|skinhealth\.news|skynet\.news|smokeforthecure\.org|socialjustice\.news|socially\.news|socialunrest\.news|solar-model\.org|soulofpharma\.com|soundhealingnews\.com|soundjourneys\.com|soundjourneys\.org|spacecraft\.news|spacetourism\.news|spacetravel\.news|spamdontbuyit\.com|spamdontbuyit\.org|speakout\.news|spices\.news|spirulina\.news|spirulinanews\.com|spirulinareport\.com|spirulinascience\.com|storablesuperfoods\.us|strategic\.news|subliminal\.news|sunlightcure\.com|sunmedicine\.com|supercollider\.news|supercomputer\.news|superfood\.news|superfoodforsoldiers\.com|superfoodforsoldiers\.org|superfoodforsoldiers\.us|superfoods\.news|supplementsreference\.com|supplementsreport\.com|supplydirectory\.com|supplyresource\.com|supplysource\.com|surfacecomputingreport\.com|survivalgoods\.com|survivalreports\.com|sweeteners\.news|tactical\.news|technocrats\.news|theflusolution\.com|thelanguagecodes\.org|thepoisoners\.com|thepoisoners\.org|thestarfieldsimulation\.com|thinking\.news|thoughtcontrol\.news|thoughtpolice\.news|toxicfoods\.com|toxindefense\.org|toxinremovers\.com|toxins\.news|trademarkintelligence\.com|tragedy\.news|transhumanist\.news|trusted\.news|truthpublishing\.net|turmeric\.news|tyranny\.news|unbelievable\.news|uncensoredvitamins\.org|unreal\.news|upcast\.us|usdawatch\.com|usdawatch\.org|vaxdefense\.com|veggie\.news|vibe\.news|videogear\.news|videohealthnews\.com|videohealthreport\.com|views\.news|violence\.news|violentcrime\.news|vitamind\.news|vitamindreport\.com|vox\.news|vrworld\.news|wages\.news|wakeup\.news|wapo\.news|washingtonpost\.news|waterfilters\.news|waterfilterscience\.com|waterfiltersnews\.com|waterhealthnews\.com|waterpurifiers\.news|waterwars\.news|waycool\.news|webseed\.com|webseed\.net|webseed\.org|webseeding\.com|whatworksfor\.me|wheyprotein\.news|whistleblower\.news|wholefoods\.news|wildfoods\.news|womenshealth\.news|xray\.news|y2ksupply\.com|yummy\.news|zeolitescience\.com|<!-- End Natural News Mirrors -->|ancient-origins\.net|murderpedia\.org|24hourscalgary\.com|24hoursedmonton\.com|24hoursmanitoba\.com|24hoursmontreal\.com|24hoursottawa\.com|24hoursvancouver\.com|3newsagency\.com|4newsagency\.com|aberystwythtimes\.com|acadianrecorder\.com|accionobrera\.com|akhbarulusbua\.com|albanydailydemocrat\.com|al-insaniyyah\.com|al-jamahir\.com|al-mabda\.com|almalayin\.com|al-malayin\.com|al-mukafih\.com|almustaqilla\.com|alqaidah\.com|al-qaidah\.com|al-watandaily\.com|badischesvolksecho\.com|baltimoreeveningherald\.com|baltimoreeveningsun\.com|baltimoremorningherald\.com|barladul\.com|birminghamgazette\.co\.uk|brightonherald\.com|brownsvilletimes\.com|bucharestbusinessweek\.com|buffaloenquirer\.com|calcutta-gazette\.com|cambridgeintelligencer\.com|canadianillustratednews\.com|cbs-cable\.com|ceylondailymirror\.com|comcast-network\.com|congregationalherald\.com|courrierdethiopie\.com|dailycitizen\.eu|dailystatesentinel\.com|derdeutschecorrespondent\.com|derkampf\.com|dernordstern\.com|dernordwesten\.com|dernord-westen\.com|derostasiatischelloyd\.com|detroitsundayjournal\.com|deutscheshanghaizeitung\.com|diariodemanila\.com|dieeinigkeit\.com|die-einigkeit\.com|easternmorningnews\.com|echodelasambre\.com|eestiaeg\.com|elbiendelobrero\.com|essexgazette\.com|eveningpost\.eu|falceemartello\.com|finnmarkfremtid\.com|foreignaffairstoday\.com|fournewsagency\.com|foxfootychannel\.com|frontulplugarilor\.com|garydailytribune\.com|gazetteandsentinel\.com|goldcoastmail\.com|golostruda\.com|greateastlandtelevision\.com|hamevasser\.com|hardangerarbeiderblad\.com|hartfordcitycourier\.com|hartfordcitydemocrat\.com|hayatechchaab\.com|heiminshimbun\.com|houstoneveningjournal\.com|houstonmorningchronicle\.com|huashangdaily\.com|indianapolisdailyherald\.com|israelshtime\.com|kansascityjournalpost\.com|karjalanmaa\.com|kentuckyirishamerican\.com|khalsaakhbarlahore\.com|khalsa-akhbar-lahore\.com|labanderaroja\.com|ladomenicadelcorriere\.com|lailustracionfilipina\.com|lajeunebelgique\.com|lanouvelleinternationale\.com|lecanadien\.ca|lechodukatanga\.com|lecommuniste\.com|leedstimes\.co\.uk|legrutleen\.com|leninshilzhas\.com|lepaysdefrance\.com|lereveildutadla\.com|lereveiljuif\.com|liverpoolcourier\.com|ludhiana-times\.com|lyonsherald\.com|manchesterexaminer\.com|manchestertimes\.co\.uk|mapplenews\.com|memphismorningnews\.com|metroeastjournal\.com|miamivalleychannel\.com|minneapoliseveningjournal\.com|mirat-ul-akhbar\.com|montrealdailynews\.com|moskovskykorrespondent\.com|msnbc\.uk|nasisten\.com|neweveningpost\.com|newyorkcourierandenquirer\.com|newyorkeveningjournal\.com|newyorkjournalamerican\.com|newyorkmorningtelegraph\.com|newyorknationaldemocrat\.com|newyorkpressagency\.com|newyorksundaynews\.com|niagaranewstv\.com|northchinadailynews\.com|northotagotimes\.com|northwestradio\.ca|oransocialiste\.com|pekinggazette\.com|philippinesdailyexpress\.com|plymouthtribune\.com|portlandeveningjournal\.com|protitisaigialeias\.com|quebecherald\.com|rochesterdailyamerican\.com|rockportjournal\.com|rockvilletimes\.com|russkoyeznamya\.com|russkyinvalid\.com|saltlaketelegram\.com|schweizamsonntag\.com|shanghaieveningpostandmercury\.com|shanghaijewishchronicle\.com|sindhgazette\.com|singainesan\.com|socialistweekly\.com|sovietweekly\.com|spoknippet\.com|srilankadeepa\.com|swatantranepali\.com|sydney-gazette\.com|theadaircountynews\.com|theamericanweekly\.com|theaustraliancommunist\.com|thebangkokrecorder\.com|thebaptisttimes\.com|thebombaychronicle\.com|thecanadianspectator\.com|theceylonherald\.com|thecharlottesvilletribune\.com|theclevelandgazette\.com|thecolombojournal\.com|thedearbornindependent\.com|thedublingazette\.com|thehazletonnews\.com|thehoovergazette\.com|thejewishtribune\.com|thekamloopsdailynews\.com|thekungsheungdailynews\.com|thelivenews\.co\.uk|theliverpoolherald\.com|theliverpoolnews\.com|thelouisvilleheraldpost\.com|thelouisvilletimes\.com|themadrastimes\.com|themirrorofaustralia\.com|thenevadajournal\.com|thenewzealandtablet\.com|thenorfolkweeklynews\.com|theoregonjournal\.com|thequebectelegraph\.com|thesandbornherald\.com|theseattlestar\.com|thesenator\.eu|thestatesman\.eu|thetimesofceylon\.com|thetorontomail\.com|thetulsatribune\.com|thewellingtonindependent\.com|thewhitesvilleindependentpress\.com|thr\.threemediagroup\.com|threemediagroup\.com|threenewsagency\.com|timesofabudhabi\.com|timesofalaska\.com|timesofambala\.com|timesofamsterdam\.com|timesofargentina\.com|timesofaustria\.com|timesofazadkashmir\.com|timesofbali\.com|timesofbelgium\.com|timesofbern\.com|timesofbhutan\.com|timesofbonn\.com|timesofbulgaria\.com|timesofcanberra\.com|timesofcebu\.com|timesofchiangmai\.com|timesofchile\.com|timesofcostarica\.com|timesofcroatia\.com|timesofcyprus\.com|timesofdefence\.com|timesofeqypt\.com|timesofestonia\.com|timesofgeneva\.com|timesofhonduras\.com|timesofhungary\.com|timesofjakarta\.com|timesofjeddah\.com|timesofkazakhstan\.com|timesoflatvia\.com|timesoflibya\.com|timesoflosangeles\.com|timesofluxembourg\.com|timesofmacau\.com|timesofmadinah\.com|timesofmadrid\.com|timesofmanitoba\.com|timesofmecca\.com|timesofmedina\.com|timesofmorocco\.com|timesofmoscow\.com|timesofnaples\.com|timesofnetherlands\.com|timesofnewbrunswick\.com|timesofnorthkorea\.com|timesofpalau\.com|timesofperu\.com|timesofportugal\.com|timesofpyongyang\.com|timesofriyadh\.com|timesofromania\.com|timesofsaotome\.com|timesofseattle\.com|timesofseoul\.com|timesofsouthchinasea\.com|timesofsouthkorea\.com|timesofspain\.com|timesoftokyo\.com|timesofvatican\.com|timesofvenezuela\.com|tokyonichinichishimbun\.com|topekastatejournal\.com|torontotelegram\.com|weeklylouisianian\.com|worldeconomicherald\.com|healthline\.com)/i,
			cssclass: 'headbomb-unreliable-blacklisted'
		},
	];
	
	// Dynamically load a user's custom rules from User:USERNAME/unreliable-rules.js
	mw.loader.getScript('/w/index.php?title=User:' + encodeURIComponent(mw.config.get('wgUserName')) + 
	    '/unreliable-rules.js&action=raw&ctype=text/javascript')
	.fail( function(e) {
		// Something's gone very wrong
        mw.log.error("Error retrieving your unreliable-rules.js");
        // More detailed error in the console if someone feels nice enough to file a bug report
        console.log("Error getting local unreliable-rules.js: " + e.message);
	})
    .done( function () {
        // Script succeeded. You can use X now.
		if (Array.isArray(window.unreliableCustomRules)) {
			unreliableCustomRules.forEach(function(customRule) {
				if (!(customRule.regex instanceof RegExp) || (typeof customRule.css !== 'object')) {
					return mw.log.warn("Error parsing custom unreliable links rule: ", rule);
				}
				rules.push(customRule);
			});
		}
    })
    .always( function () {
        highlight();
    });
    
    var highlight = function() {
		// Check each external link on the page against each regex
	    $('.mw-parser-output a.external').each(function(_, link) {
	    	$.each(rules, function(_, rule) {
		    	if (typeof rule.filter !== 'undefined' && !rule.filter) {
		    		return true;
		    	}
		    	if (rule.regex.test(link.href)) {
		    		$(link).addClass(rule.cssclass);
		    		$(link).attr('title', rule.comment || '');
			    }
		    });
	    });

	    // Check list items against each regex to catch further reading/bibliography items without links 
	    $('.mw-parser-output ul li, .mw-parser-output ol:not(.references) li, .reference-text:not(:has(a))')
	    .each(function(_, li) {
    		$.each(rules, function(_, rule) {
    			if (typeof rule.filter !== 'undefined' && !rule.filter) {
    				return true;
    			}
    			if (rule.regex.test(li.textContent)) {
    				$(li).addClass(rule.cssclass);
    				$(li).attr('title', rule.comment || '');
    			}
    		});
    	});
    };

});