Custom - XXX Release Hider

Hides XXX releases based on text match. Works on hotpornfile.org, pxxbay.com, ero-torrent.net, 0xxx.ws, torrentgalaxy.to, pornchil.com, ptorrents.com and naughtyblog.org.

// ==UserScript==
// @name            Custom - XXX Release Hider
// @namespace       http://tampermonkey.net/
// @version         1.2.7
// @description     Hides XXX releases based on text match. Works on hotpornfile.org, pxxbay.com, ero-torrent.net, 0xxx.ws, torrentgalaxy.to, pornchil.com, ptorrents.com and naughtyblog.org.
// @author          Deanoman
// @match           https://www.hotpornfile.org/
// @match           https://www.hotpornfile.org/?s=*
// @match           https://www.hotpornfile.org/category/*
// @match           https://www.hotpornfile.org/page*
// @match           https://www.pxxbay.com/*
// @match           https://www.pxxbay.com/page/*
// @match           https://www.pxxbay.com/?s=*
// @match           https://www.pxxbay.com/category/scenes/*
// @match           https://ero-torrent.net/*
// @match           https://ero-torrent.net/tags/*
// @match           https://0xxx.ws/*
// @match           https://0xxx.nu/*
// @match           https://0xxx.me/*
// @match           https://torrentgalaxy.to/*
// @match           https://torrentgalaxy.to/torrents.php*
// @match           https://pornchil.com/*
// @match           https://ptorrents.com/*
// @match           https://www.ptorrents.com/*
// @match           https://www.naughtyblog.org/
// @match           https://www.naughtyblog.org/*
// @match           https://www.naughtyblog.org/page/*
// @exclude-match   https://www.pxxbay.com/category/movies/1080p-movies/*
// @exclude-match   https://www.pxxbay.com/category/movies/1080p-movies
// @icon            https://www.google.com/s2/favicons?sz=64&domain=hotpornfile.org
// @grant           none
// @license         MIT
// ==/UserScript==

// All matched hidden items will have their border set to red and then set their opacity to 15%.
// This script works using just pure JavaScript.

(function () {
    'use strict';

    // The default entries block lame, boring or uninteresting releases and low quality terms

    let boolLogAll = false; // Default: false (whether to log all actions or not)
    let boolShowVerticalVideos = false; // Default: false (whether to show vertical videos or not)
    let boolDimOrHide = false; // True = dim, False = hide (whether to dim or hide elements)

    let verticalVideoHeight = 310; // Default: 310 (the height of the thumbnails of vertical videos)
    let opacityValue = '0.15'; // Default: '0.15' (the opacity level of dimmed elements)
    let fadeOutDuration = '2s'; // Default: '2s' (the duration of fading out elements)

    let borderStyle = '0.1rem outset #c61124'; // the border style to use for blocked elements
    let textColor = 'red'; // the text color to use for blocked elements
    let textDecoration = 'line-through'; // crosses through text titles
    let pageTitle = "";

    /*
    VITAL: Avoid using pornstar names to keep consistency.
    Be sure to edit the "blockedItems" array to your own custom preferences.
    You may need to use a - instead of a space for some terms.
    */

    let blockedItems =
    [
      '(Lesbian)',
      'LA-New-Girl',
      'SybilRaw',
      'DomingoView',
      'Test-Shoots',
      'LetsTryHard',
      'CharmModels',
      'Vmvideo',
      'HarleySpencer',
      'Asian-Sex-Diary',
      'Moms-Lick-Teens',
      'Monger-In-Asia',
      'CutieGingerAna',
      'CamillaSweetheart',
      'Lustfullovers',
      'Girls-Only-Porn',
      'RRFox',
      'REMASTERED-XXX',
      'TigerMoms',
      'Trip-For-Fuck',
      'Luna-Baby',
      'Lady-Blondie',
      'DownBlouseLoving-com',
      'Tanya-Virago',
      'Loveless-XXX',
      'Megan-Inky',
      'Girls-Way',
      'Girls-Way',
      'Bellesa-Blind-Date',
      'Girls-Out-West',
      'Desi-Bang',
      'Sweetheart-Video',
      'Lucid-Flix',
      'When-Girls-Play',
      'BBW-Highway',
      'Gyno-Exclusive',
      'Banana-Fever',
      'Tushy-Raw',
      'Lady-Lyne',
      'Lewdestbunnie',
      'SugarbabesTV',
      'BundangCouple',
      'LadyLyne',
      'Women-Seeking-Women',
      'GynoExclusive',
      'Z-Films-Originals',
      'Facial-Abuse',
      '-uncen',
      '10musume',
      '1111Customs',
      '18Lust',
      '1pondo',
      '21-Foot-Art',
      '21EroticAnal',
      '2Poles1Hole',
      '360p',
      '3DCG',
      '480p',
      '4KCFNM',
      '540p',
      '544p',
      '608p',
      '720p HD mp4',
      '720p',
      'AGirlKnows',
      'ALSAngels',
      'ALSScan',
      'ASMRMaddy',
      'ATKExotics',
      'ATKGalleria',
      'ATKGirlfriends',
      'ATKHairy',
      'Aaliyah-Yasin',
      'AbbieMaley',
      'AbbyWinters',
      'Abigailmorris',
      'Addicted2Girls',
      'AdelleSabelle',
      'Aeriessteele',
      'AeryTiefling',
      'AfricanCasting',
      'AgedLove',
      'Aglaea-Productions',
      'Akagi',
      'Akari',
      'Albythegoat',
      'Alexa-Nasha',
      'Alexxa-Vice',
      'AliceBong',
      'AliceNZ',
      'All-Over-30',
      'AllBlackX',
      'AllGirlMassage',
      'AllHerLuv',
      'AllOver30',
      'AltErotic',
      'Alterotic',
      'Amakawa',
      'AmateurCFNM',
      'AmazingFilms',
      'Ameena-Green',
      'AmelieLou',
      'Amyyyoxxo',
      'Ana-Foxxx',
      'Anal-Angels',
      'Anal-Beauty',
      'AnalVids',
      'Angel Nura',
      'Angel The Dreamgirl',
      'Angel-Luv',
      'Angel-Windell',
      'AngelsLove',
      'Anilos',
      'Annabelle-Rogers',
      'Annaplusone',
      'Anuskatzz',
      'Aoi',
      'Apollostone1776',
      'AprilOlsen',
      'Arabelle-Raphael',
      'ArabellesPlayground',
      'Areallyweakguy',
      'Argentina-Casting',
      'Arousins',
      'Asagiri',
      'Asia-XXX-Tour',
      'Asian-Hidden-Camera',
      'AsianSexDiary',
      'AsianStreetMeat',
      'Asianonrice',
      'Assylum',
      'AstekAngel',
      'AstroDomina',
      'Asuna',
      'Athenea-Rose',
      'AuntJudys',
      'AuntJudysXXX',
      'Auror-Anarchy',
      'AussieFellatioQueens',
      'Ava-Moore',
      'AveragePOV',
      'Azure-Sky-Films',
      'AzureSkyFilms',
      'Azzy-Star',
      'BBCSurprise',
      'BBW,',
      'BBWHighway',
      'BDRiP',
      'BDSMBoxxx',
      'BJRaw',
      'BJWorld',
      'BLACKED-RAW',
      'BLURAY-H264-UNDERTAKERS',
      'BRRipx264-VXT',
      'BTS',
      'BTSXXX1080pMP4',
      'BaDoinkVR',
      'Babesafreak',
      'Babi-Star',
      'Babyfooji',
      'BackdoorPOV',
      'BananaFever',
      'Bang Bus',
      'BangBus',
      'BannedStories',
      'Bear,',
      'Beauty-Angels',
      'BecomingFemme.com',
      'BellesaPlus',
      'BenefitMonkey',
      'BennyGreen',
      'BiGuysFuck',
      'Big-Booty-Bailey',
      'Big-Gulp-Girls',
      'BigBootyBailey',
      'BigBootyTGirls',
      'BigGulpGirls',
      'Bionixxx',
      'Black-TGirls',
      'BlackAmbush',
      'BlackBullChallenge',
      'BlackPayBack',
      'BlackedRaw',
      'BlackpantherXXX',
      'BlowBangGirls',
      'BluRayx265-VXT',
      'BradMontana',
      'BrandNewAmateurs',
      'BreedMe',
      'BrokenLatinaWhores',
      'BrookelynneBriar',
      'BrothaLovers',
      'BrownBunnies',
      'BruceAndMorgan',
      'BustyMara',
      'CAMSHOWS.TV',
      'Cam-Damage',
      'Caribbeancom',
      'CarmelaClutch',
      'Cassidy-Luxe',
      'Cassie Bender',
      'CatCoxx',
      'CathysCraving',
      'Celina-Powell',
      'Chantal-Danielle',
      'ChantalDanielle',
      'Chloe-Surreal',
      'Cj Miles',
      'Clara-Mia',
      'ClaudiaMarie',
      'ClubCastings',
      'ClubSweethearts',
      'ClubTug',
      'CockyBoys.com',
      'Compilation XXX',
      'Connell Twins',
      'Cosmid',
      'Cospuri',
      'Creampie-Angels',
      'Cuck',
      'CuckHunter',
      'CuckoldSessions',
      'CumPerfection',
      'CzechBoobs',
      'CzechCaravan',
      'CzechSexCasting',
      'CzechVR.com',
      'CzechVRFetish.com',
      'DASD',
      'DPDiva',
      'DVD5',
      'DVDRiP',
      'DVDRip',
      'Dad and Son',
      'DanaxMusclesXX',
      'DareWeShare',
      'DarkRoomVR',
      'DeepLush',
      'DeepThroatFrenzy',
      'Deeper-',
      'Defloration',
      'DelightfulHug',
      'Demi-Sutra',
      'DesiBang',
      'Destiny-Mira',
      'DevilsTGirls',
      'DickDrainers',
      'DickRides.com',
      'DickdrainersX',
      'Distorded',
      'Divine-DD',
      'DivineBitches',
      'DoTheWife',
      'Dolly-Dyson',
      'Domaicom',
      'DorcelClub',
      'DreamNet',
      'DreamTranny.com',
      'DrillMyHole.com',
      'DungeonSex',
      'Dyke4K',
      'EastCoastXXX',
      'Elana-Bunnz',
      'ElegantRaw',
      'Elfie-Eva',
      'Emma-Choice',
      'Enafox',
      'Erito',
      'EroticSpice',
      'EroticaX',
      'Ersties',
      'Eru',
      'EternalDesire',
      'Eva-Ray',
      'EvaDeVil',
      'EverythingButt',
      'Evolved-Fights-Lez',
      'EvolvedFights',
      'EvolvedFightsLez',
      'ExCoGiGirls',
      'ExploitedCollegeGirls',
      'FC2PPV',
      'FTVGirls',
      'FTVMilfs',
      'FaceFuckTour',
      'FaceSittingFreaks.com',
      'FacialAbuse',
      'FamilyDick.com',
      'FamilyScrew',
      'FanFuckers',
      'Fancysteel.com',
      'Fansly',
      'FemJoy',
      'Femdom',
      'FemdomEmpire',
      'FiNNiSH XXX',
      'FilthyGapers',
      'FinishHim',
      'FirstAnalQuest',
      'FirstAnalTeens',
      'FirstBGG',
      'FisterTwister',
      'Fitandflirtyhotwife',
      'FitnessRooms',
      'Fitting-Room',
      'FlexiDolls',
      'ForPlayFilms',
      'FoxxedUp',
      'FreakMobMedia',
      'FreakyT',
      'FreeUseFantasy',
      'FreeUseMILF',
      'Freeuse',
      'FreeuseFantasy.com',
      'Freeze.xxx',
      'FrolicMe',
      'FuckStudies',
      'FuckingPornstars',
      'Fujita',
      'FunDorado',
      'Funsizedasian',
      'Funsizedmegan',
      'Futa/',
      'Futanari',
      'GabbieCarterTV',
      'GangbangCreampie',
      'Geishakyd',
      'GenderX',
      'Ghetto-Gaggers',
      'GhettoGaggers',
      'GinaGersonXXX',
      'Girl-Girl-XXX',
      'Girl/Girl',
      'GirlGirlXXX',
      'GirlfriendsFilms',
      'Girls-Way',
      'GirlsDeep',
      'GirlsGonePink',
      'GirlsOnlyPorn',
      'GirlsOutWest',
      'GirlsWay',
      'GloryHoleSecrets',
      'Glowupz',
      'Goddess-Evelyn',
      'Goddess-Maeve',
      'Gothjock',
      'Grand-Mams',
      'GrandMams',
      'GrandParentsX',
      'GroobyGirls.com',
      'GroupBanged',
      'H264AAC-VXT',
      'HardWerk',
      'Hayleyxyz',
      'Hegre',
      'Heyzo-com',
      'Hibino',
      'Hidden-Zone',
      'Hiiragi',
      'Hijab',
      'HijabHookup',
      'Himari',
      'Hime-Tsu',
      'Hirose',
      'Hirosue',
      'Hitzefrei',
      'HogTied',
      'HollandschePassie',
      'HollyRandall',
      'HoneyTrans.com',
      'Hongkongdoll',
      'HookupHotshot',
      'HornyDreamBabeZ',
      'Hot-Guys-Fuck',
      'HotAndMean',
      'HotBoys.com.br',
      'HotGirlsGame',
      'HotGirlsRAW',
      'HotGirlsRaw',
      'HotGuysFuck',
      'HotMILFsFuck',
      'HouseHumpers',
      'How-Women-Orgasm',
      'HowWomenOrgasm',
      'HuCows',
      'HungLow',
      'Hungry4Cum',
      'IAnalXXX',
      'IMadePorn',
      'ISmashedXXX',
      'ISuckXXX',
      'Ignore4K',
      'InTheCrack',
      'IndustryInvaders',
      'InkedMonster',
      'Innocenthotwifexxx',
      'Insex',
      'InterracialBlowbang',
      'InterracialPass',
      'IsiahMaxwellXXX',
      'IzzyBunnies',
      'IzzyFit',
      'Izzybunnies',
      'JAV BluRay 1080p',
      'JAVHub',
      'JOIBabes',
      'JUQ-',
      'Jack-And-Jill',
      'Jacquie-Et-Michel-TV',
      'JacquieEtMichelTV',
      'Jadeteen',
      'Jana-JJ',
      'Jap+E',
      'Japan-HDV',
      'JapanHDV',
      'JapanVR',
      'Jarushka-Ross',
      'JawBreakerz',
      'JaxSlayher',
      'JaxSlayherTV',
      'Jesse-Pony',
      'Jessica-Azul',
      'Jessica-Borga',
      'JoannaJet',
      'JoePusher',
      'Jolie-Lyon',
      'JoyMii.com',
      'Joymii',
      'Jude-Ryan',
      'Julie-Jess',
      'K8sarkissian',
      'KUNK-',
      'Kama-Oxi',
      'Karen-Fernando',
      'KarmaRX',
      'KarupsHA',
      'KarupsOW',
      'KarupsPC',
      'Kashiwagi',
      'Katopunk',
      'Kawai',
      'Kawaii',
      'Kawashima',
      'Keiko',
      'Kelly-Nixe',
      'Khlo-X',
      'Kiittenymph',
      'Killaabunny',
      'KimberLeeLive',
      'KimberleyJx',
      'Kin8tengoku',
      'KingNoireXXX',
      'KittyxKum',
      'Kona-Jade',
      'Kumiko',
      'KxngUnkasaxXx',
      'LANewGirl',
      'La-Tina-Hotwife',
      'Lacey-London',
      'Lady-Voyeurs',,
      'LadyVoyeurs',
      'Ladyboy',
      'LadyboyObsession.com',
      'Lana-Rain',
      'LatinaCasting',
      'LatinaFuckTour',
      'LatinaRaw',
      'LegalPorno',
      'Legalporno.com',
      'LegendaryLootz',
      'Legendarylootz',
      'Lesbea',
      'Lesbian X',
      'Lesbian,',
      'LesbianX',
      'LetsPostIt',
      'LezBeBad',
      'LezCuties',
      'LezDom',
      'LezKey',
      'Lianna-Lawson',
      'LifeSelector',
      'Lilah-Lovesyou',
      'Lilmochidoll',
      'Lily-Lane',
      'LilyKawaii',
      'LilyThot',
      'Linux,',
      'Little Puck',
      'Little-Bunny-B',
      'Little-Puck',
      'LittleCaprice-Dreams',
      'LittlePuck',
      'Littlepolishangel',
      'Livecleo',
      'Lola-Crystals',
      'Lola-James',
      'LoneMilf',
      'LucidFlix',
      'Luna-Okko',
      'LunaRoulette',
      'Lustery',
      'MILFOverload',
      'MYLKED',
      'MadBros',
      'Madison Moores',
      'Male Fucks Trans',
      'MamsCasting',
      'ManuelFerraraTV',
      'ManyVids 2023 Lana Rain',
      'ManyVids 2023 Mama Fiona',
      'ManyVids 2023 Sonya Vibe',
      'ManyVids-2023-Brooke-Woods',
      'ManyVids2-023-Sexyandmarried',
      'MariskaX',
      'Mature-NL',
      'Mature4K',
      'MatureFetish',
      'MatureGapers',
      'MatureGynoExam',
      'MatureNL',
      'MatureVan',
      'MaxCartel',
      'MaxineX',
      'Maycontaingirl.com',
      'MelinaMay',
      'Melissa-Stratton',
      'MenAtPlay',
      'Met-Art-X',
      'MetArt',
      'MetArtFilms',
      'MetArtX',
      'Mia-Molotov',
      'Mila-Azul',
      'Mimi-Malibu',
      'Minahata',
      'Miss Mallorie Switch',
      'Miss-Roper',
      'MissPussyCat',
      'MissVioletStarr',
      'Mistress-Alina',
      'Mitsuki',
      'MixedX',
      'Mizuki',
      'MoRina',
      'MollyMoonn',
      'MollyRedWolf',
      'MomIsHorny',
      'MommyBlowsBest',
      'MommyJOI',
      'MommysGirl',
      'Momozono',
      'MomsLickTeens',
      'MomsOnMoms',
      'Monami',
      'MongerInAsia',
      'Monika-Smith',
      'Morgpie',
      'Morisawa',
      'MrLuckyRaw',
      'Mukai',
      'Muscles,',
      'Mvngokitty',
      'MyBestSexLife',
      'MyDirtyHobby 2023 DollyDyson',
      'MyDirtyHobby',
      'MyPOVFam',
      'MySexMobile',
      'MySweetApple',
      'MylfSelects',
      'MylfXSparksEntertainment',
      'Nadine-J',
      'Nakayama',
      'Naomih666',
      'Narumi',
      'Natalia-Forrest',
      'Nebraska-Coeds',
      'NebraskaCoeds',
      'NetGirl',
      'NetVideoGirls',
      'Nicci-Azzy',
      'NiceAndSlutty',
      'NickMarxx',
      'NinaKayy',
      'NoFaceMom77',
      'NookiesOriginals',
      'Noriko',
      'Nozomi',
      'Nubiles',
      'Nutaku',
      'Octokuro',
      'OfficePOV',
      'Ogirls',
      'OhMyHoles',
      'OldYoungLesbianLove',
      'Oliviamaebaee',
      'OnlyBBC',
      'OnlyFans 2023 Dainty Wilder',
      'OnlyFans 2023 EnaFox',
      'OnlyFans 2023 Hidori',
      'OnlyFans 2023 LegendaryLootz',
      'OnlyFans 2023 OnlyTwins',
      'OnlyFans 2023 Thestartofus',
      'OnlyFans',
      'OnlyFans-2023-Sweetie-Fox',
      'OnlyTarts',
      'OnlyTeenBlowJobs',
      'Oopsie',
      'Over40Handjobs',
      'PMS-',
      'Parasited',
      'PassionsOnly',
      'Pawged',
      'Peachjars',
      'Perfect18',
      'PervPrincipal',
      'Philavise',
      'Pink-Drip',
      'PinkOTgirls.com',
      'PinkoTGirls',
      'PinupFiles',
      'PissVids',
      'Playboy-Plus',
      'PlayboyPlus',
      'Plumper-Pass',
      'PlumperPass',
      'PornDudeCasting',
      'PornMegaLoad',
      'PremiumBukkake',
      'Primals-Teasing-Edging',
      'PrimeLesbian',
      'Princess-Handjobs',
      'PrincessLexiePresents',
      'Private-Society',
      'PrivateSociety',
      'Prostate Milking',
      'Puppy-Girlfriend',
      'PuppyGirlfriend',
      'Pure-BBW',
      'Pure-ts.com',
      'PureCFNM',
      'PureXXX',
      'Purple-Bitch',
      'PutaLocura',
      'RawWhiteMeat',
      'RazorCandi',
      'RealGirlsGoneBad',
      'RealTimeBondage.com',
      'Reducing Mosaic',
      'Reislin',
      'RichardMannsWorld',
      'RickysRoom',
      'RomeMajor',
      'Rosarosebud',
      'S3XUS',
      'S3xus',
      'SDMP4',
      'SODVR',
      'Sakura',
      'Saori',
      'Sarah-Calanthe',
      'Sasha-Strokes',
      'SavageGangbang',
      'Saviorangel',
      'Scat',
      'SeanCody.com',
      'SeducedByACougar',
      'See-Him-Fuck',
      'SeeHIMFuck',
      'SeeHimFuck',
      'SeeMomSuck',
      'SelfieSuck',
      'SensualHeat',
      'SensualLove',
      'Serenity-Cox',
      'Sex-Art',
      'Sex-With-Muslims',
      'SexArt',
      'SexLikeReal',
      'SexWithMuslims',
      'Sexycuteisa',
      'Shame4K',
      'Shannon-Huxley',
      'SheMaleStrokers.com',
      'SheSeducedMe',
      'Shemale',
      'Shinaryen',
      'Shinomiya',
      'Shiori',
      'Shirakawa',
      'Shrooms Q',
      'Shrooms-Q',
      'Sia-Siberia',
      'Sia_Siberia',
      'SinfulXXX',
      'Sinfuldeeds',
      'SinnSage',
      'SissyPOV.com',
      'Slayed',
      'SlipperyMassage',
      'SlutInspection',
      'SlutsAroundTown',
      'Snowdeville',
      'SofieMarieXXX',
      'SpicyBooty',
      'Starry-Night-Flower',
      'Strap-Lez',
      'StrapLez',
      'StrapLezz',
      'StrapLezz.Com',
      'StrapLezz21',
      'Stunning18',
      'SubSluts',
      'Subgirl0831',
      'SugarDaddyPORN',
      'SummerSinners',
      'Superbe',
      'Suzuki',
      'Swallow4fun',
      'Swallowed',
      'SweetKiss69',
      'Sweetie-Fox',
      'Swhores',
      'SydneyHail',
      'TGirl',
      'TGirlJapan.com',
      'TGirls.porn',
      'TGirls.xxx',
      'TS-Divas',
      'TSRAW.com',
      'TSRaw.com',
      'TXVLOG',
      'Tabitha-Poison',
      'TabithaXXX',
      'Tadpole-X-Studio',
      'TadpolexStudio',
      'Tanaka',
      'TeamSkeetXImMayBee',
      'TeamSkeetXLuxuryGirl',
      'TeamSkeetXManko88',
      'TeamSkeetXTenshigao',
      'TeamskeetXModelMediaASIA',
      'TeasePOV',
      'TeenFromBohemia',
      'TeenSexMania',
      'TeenSexMovs',
      'Teenikini',
      'TeenyLovers',
      'TeenyTaboo',
      'Thai',
      'ThaiGirlsWild',
      'That-Kinky-Girl',
      'The-Flourish-XXX',
      'The-Life-Erotic',
      'TheFlourishEntertainment',
      'TheFlourishFetish',
      'TheFlourishPOV',
      'TheFlourishXXX',
      'TheHabibShow',
      'TheLesbianExperience',
      'TheLifeErotic',
      'TheSlutsNextDoor',
      'Thecosmonaut',
      'Thedongkinger',
      'ThisGirlSucks',
      'Throated',
      'Tiana-Blow-',
      'Tiger-Moms',
      'Tigerlilly',
      'TmwPOV',
      'TobyDickStudio',
      'TouchMyWife',
      'Trans,',
      'Trans-',
      'Trans500',
      'TransAngels',
      'Transexual',
      'Transfixed',
      'Transgressive',
      'Transsensual.com',
      'Transsexuals.com',
      'Trike',
      'TrikePatro',
      'TripForFuck',
      'Trippie-Bri',
      'TrophyWifeNat',
      'TrueLesbian',
      'Try-on-haul',
      'TsLunaSnow',
      'TsPov.com',
      'Tsubasa',
      'Tsubomi',
      'Tuk-Tuk',
      'TukTuk-Patrol',
      'TukTukPatro',
      'TurningTwistys',
      'TushyRaw',
      'Twink',
      'Twistys',
      'Uncensored',
      'Usami',
      'Use-POV',
      'UsePOV',
      'VIPissy',
      'VMVideo',
      'VR',
      'VR180',
      'VRConk.com',
      'VRLatina.com',
      'Verashia',
      'VickyAtHome',
      'Victoria-May',
      'VirtualRealPorn.com',
      'VirtualTaboo.com',
      'Viv-Thomas',
      'VivThomas',
      'VurigVlaanderen',
      'WEBRip-MP4-LEWD',
      'WaifuMiia',
      'Waifumiia',
      'WankItNow',
      'WankzVR',
      'Watch4Beauty',
      'WatchYouCheat',
      'Water Melonsugar3',
      'WeFuckBlackGirls',
      'WeLikeToSuck',
      'WeLiveTogether',
      'WebYoung',
      'WetAndPissy',
      'WetAndPuffy',
      'WettMelons',
      'Wettmelons',
      'WhenGirlsPlay',
      'WhippedAss',
      'WhoaBoyz',
      'Whoahannahjo',
      'WhornyFilms',
      'WifeysWorld',
      'Wild-On-Cam',
      'WildOnCam',
      'Will-Tile-XXX',
      'WillTileXXX',
      'Windows,',
      'WoodmanCastingX',
      'WowGirls',
      'X-Angels',
      'X-Sensual',
      'XXX WEB-DL SPLIT SCENES',
      'Xingkong',
      'Xlovelyadrianax',
      'XvideosRED',
      'Xwife-Karen',
      'XxxTabithaxxx',
      'Yasmina-Khan',
      'Yatsugake',
      'Yayoi',
      'Yinyleon',
      'Yogabella',
      'YoungCourtesans',
      'YoungSexParties',
      'Your Submissive Doll',
      'YourFavoriteMommy',
      'YourStepSis',
      'YouthLust',
      'Yua-Mikami',
      'Yui',
      'Yukino',
      'Yuna',
      'Yuzuki',
      'Zaawaadi',
      'Zdank',
      'ZebraGirls',
      'Zirael-Rem',
      '[3D ART]',
      '[548p]',
      '[ART]',
      '[Cen]',
      '[HotBoys.com.br]',
      '[MetartNetwork.com]',
      '[Realjamvr.com]',
      '[Seehimfuck.com]',
      '[cen]',
      '[uncen]',
      'bella-joie',
      'cen-',
      'cgi',
      'chaturbate',
      'domestic-Personal-Selection-Collection',
      'domestic-original-collection',
      'ernaburn',
      'hexx_girl',
      'jav',
      'la_tina_hotwife',
      'patreon-com',
      'reflectivedesire.com',
      'scat',
      'solo',
      'uncen-',
      'virtualtaboo',
      'your_submissive_doll',
      '¥',
      '【8K VR】',
      'お',
      'の',
      '一',
      '不',
      '个',
      '为',
      '之',
      '了',
      '二',
      '人',
      '他',
      '会',
      '入',
      '出',
      '力',
      '十',
      '国',
      '在',
      '大',
      '奴',
      '市',
      '年',
      '我',
      '日',
      '是',
      '有',
      '本',
      '生',
      '的',
      '行',
      '这',
      '退',
      '金',
      '長',
      '高'
    ];

    // Combines arrays and then sorts the final array
    blockedItems.sort();
    blockedItems = [...new Set(blockedItems)]; // Removes duplicate items
    // console.log(blockedItems); // Copy from dev console to grab sorted

    console.clear();

    if(boolDimOrHide === true)
      {
        console.group("Dimming porn releases for " + window.location.hostname);
      }
    else
      {
        console.group("Hiding porn releases for " + window.location.hostname);
      }

    // Creates a new clean array
    let itemsToBlock = blockedItems;

    // Logs the detected site to the Developer Console
    console.info("🌏 " + window.location.hostname);

    // Initializes all main variables
    let node = "", item = "", selector = "";

    for (var i of itemsToBlock) {
        //can use break;
        // console.log(i); //note i returns value
        let hostName = window.location.hostname

        switch (hostName) {
            case 'www.hotpornfile.org':
                {
                    // Sets the page title to show the script has applied
                    selector = 'body > div.off-canvas-wrap > div > div > nav > ul > li > h1 > a';
                    pageTitle = document.querySelector(selector);
                    if (pageTitle != null) {
                        pageTitle.innerText = "HPF 🧽";
                        pageTitle.style.color = 'pink';
                    }

                    // Selects links that have matching text
                    i = i.toLowerCase();
                    selector = 'div[id^="post-"] > div > div > h2 > a[href*="' + i + '"]';
                    node = document.querySelectorAll(selector);
                    if (node.length > 0) {
                        node.forEach(function (item) {
                            item.style.color = textColor;
                            item.style.textDecoration = textDecoration;
                            let itemParent = item.parentElement.parentElement.parentElement;
                            itemParent.style.border = borderStyle;
                            itemParent.style.opacity = opacityValue;
                            itemParent.style.transition = fadeOutDuration;
                            if(boolDimOrHide == false){itemParent.style.display = "none";};
                        })
                    }
                    // Hides vertical videos
                    if (boolShowVerticalVideos == false) {
                        // Fades out vertical videos (height larger than 174)
                        selector = 'div[id^="post-"] > div > a > img';
                        node = document.querySelectorAll(selector);
                        if (node.length > 0) {
                            node.forEach(function (item) {
                                if (item.height > verticalVideoHeight) {
                                    item.style.opacity = opacityValue;
                                    //(boolDimOrHide == false) ? item.hide();
                                    if(boolDimOrHide == false){item.style.display = "none";};
                                }
                            })
                        }
                    }
                    break;
                }
            case 'www.pxxbay.com':
                {
                    // Sets the page title to show the script has applied
                    selector = 'div.gridmax-logo > div > h1 > a';
                    pageTitle = document.querySelector(selector);
                    if (pageTitle != null) {
                        pageTitle.innerText = "pxxbay 🧽";
                        pageTitle.style.color = 'white';
                    }

                    // Sets the page title to show the script has applied (attempt 2)
                    selector = '#gridmax-head-content > div > div > div > div > div.gridmax-logo > div > p.gridmax-site-title > a';
                    pageTitle = document.querySelector(selector);
                    if (pageTitle != null) {
                        pageTitle.innerText = "pxxbay 🧽";
                        pageTitle.style.color = 'white';
                    }


                    // Selects links that have matching text
                    i = i.toLowerCase();
                    selector = 'h3 > a[href*="' + i + '"]';
                    //selector = 'div > div.gridmax-grid-post-details.gridmax-grid-post-block > h3 > a[href*="' + i + '"]';
                    node = document.querySelectorAll(selector);
                    if (node.length > 0) {
                        node.forEach(function (item) {
                            item.style.color = textColor;
                            item.style.textDecoration = textDecoration;
                            let itemParent = item.parentElement.parentElement.parentElement.parentElement;
                            itemParent.style.border = borderStyle;
                            itemParent.style.opacity = opacityValue;
                            itemParent.style.transition = fadeOutDuration;
                            if(boolDimOrHide == false){itemParent.style.display = "none";};
                            //item.parentElement.parentElement.parentElement.parentElement.style.filter = "grayscale(var(--value, 100%))";
                        })
                    }
                    // Hides the Trending section
                    selector = '#gridmax-grid-posts-widget-id-3';
                    let trendingElement = document.querySelector(selector);
                    if (trendingElement != null) {
                        trendingElement.style.display = "none";
                    }

                    // Hides vertical videos
                    if (boolShowVerticalVideos == false) {
                        // Fades out vertical videos (height larger than 174)
                        selector = 'a > img';
                        node = document.querySelectorAll(selector);
                        if (node.length > 0) {
                            node.forEach(function (item) {
                                if (item.height > verticalVideoHeight) {
                                    item.style.opacity = opacityValue;
                                    item.style.transition = fadeOutDuration;
                                    if(boolDimOrHide == false){item.parentElement.parentElement.parentElement.parentElement.style.display = "none";};
                                    //item.style.filter = "grayscale(var(--value, 100%))";
                                }
                            })
                        }
                    }
                    break;
                }
            case 'ero-torrent.net':
                {
                    // Selects links that have matching text
                    selector = 'a > img[alt*="' + i + '"]';
                    node = document.querySelectorAll(selector);
                    if (node.length > 0) {
                        node.forEach(function (item) {
                            item.style.color = textColor;
                            item.style.textDecoration = textDecoration;
                            item.style.border = borderStyle;
                            item.style.opacity = opacityValue;
                            item.style.transition = fadeOutDuration;
                        })
                    }
                    break;
                }
            case '0xxx.ws':
                {
                    // Selects links that have matching text
                    selector = 'td.title > a[href*="' + i + '"]';
                    node = document.querySelectorAll(selector);
                    if (node.length > 0) {
                        node.forEach(function (item) {
                            item.style.color = textColor;
                            item.style.textDecoration = textDecoration;
                            let itemParent = item.parentElement.parentElement;
                            itemParent.style.border = borderStyle;
                            itemParent.style.opacity = opacityValue;
                            itemParent.style.transition = fadeOutDuration;
                            if(boolDimOrHide == false){itemParent.style.display = "none";};
                        })
                    }
                    break;
                }
            case '0xxx.nu':
                {
                    // Selects links that have matching text
                    selector = 'td.title > a[href*="' + i + '"]';
                    node = document.querySelectorAll(selector);
                    if (node.length > 0) {
                        node.forEach(function (item) {
                            item.style.color = textColor;
                            item.style.textDecoration = textDecoration;
                            let itemParent = item.parentElement.parentElement;
                            itemParent.style.border = borderStyle;
                            itemParent.style.opacity = opacityValue;
                            itemParent.style.transition = fadeOutDuration;
                            if(boolDimOrHide == false){itemParent.style.display = "none";};
                        })
                    }
                    break;
                }
            case '0xxx.me':
                {
                    // Selects links that have matching text
                    selector = 'td.title > a[href*="' + i + '"]';
                    node = document.querySelectorAll(selector);
                    if (node.length > 0) {
                        node.forEach(function (item) {
                            item.style.color = textColor;
                            item.style.textDecoration = textDecoration;
                            let itemParent = item.parentElement.parentElement;
                            itemParent.style.border = borderStyle;
                            itemParent.style.opacity = opacityValue;
                            itemParent.style.transition = fadeOutDuration;
                            if(boolDimOrHide == false){itemParent.style.display = "none";};
                        })
                    }
                    break;
                }
            case 'torrentgalaxy.to':
                {
                    // Sets the page title to show the script has applied
                    selector = '#quicksearchgroup > span.input-group-btn > button';
                    pageTitle = document.querySelector(selector);
                    if (pageTitle != null) {
                        pageTitle.innerText = "Search 🧽";
                        selector = 'table:nth-child(1) > tbody > tr > td:nth-child(2) > div > div > button';
                        pageTitle = document.querySelector(selector);
                        pageTitle.innerText = "Search 🧽";
                        // pageTitle.style.color = 'white';
                    }

                    selector = '#click > div > a[title*="' + i + '"]';
                    node = document.querySelectorAll(selector);
                    if (node.length > 0) {
                        node.forEach(function (item) {
                            item.style.color = textColor;
                            item.style.textDecoration = textDecoration;
                            let itemParent = item.parentElement.parentElement.parentElement;
                            itemParent.style.border = borderStyle;
                            itemParent.style.opacity = opacityValue;
                            itemParent.style.transition = fadeOutDuration;
                            if(boolDimOrHide == false){itemParent.style.display = "none";};
                        })
                    }
                    break;
                }
            case 'pornchil.com':
            {
                i = encodeURI(i); // Encodes non-english characters
                i = i.toLowerCase();
                selector = 'div > header > h2 > a[href*="'+i+'"]';
                node = document.querySelectorAll(selector);
                    if (node.length > 0) {
                        node.forEach(function (item) {
                            item.style.color = textColor;
                            item.style.textDecoration = textDecoration;
                            let itemParent = item.parentElement.parentElement.parentElement;
                            itemParent.style.border = borderStyle;
                            itemParent.style.opacity = opacityValue;
                            itemParent.style.transition = fadeOutDuration;
                            if(boolDimOrHide == false){itemParent.style.display = "none";};
                        })
                    }
              break;
            }
            case 'www.ptorrents.com':
            {
                i = encodeURI(i); // Encodes non-english characters
                i = i.toLowerCase();
                selector = 'div > div > figcaption > h3 > a[href*="'+i+'"]';
                node = document.querySelectorAll(selector);
                    if (node.length > 0) {
                        node.forEach(function (item) {
                            item.style.color = textColor;
                            item.style.textDecoration = textDecoration;
                            let itemParent = item.parentElement.parentElement.parentElement.parentElement.parentElement;
                            itemParent.style.border = borderStyle;
                            itemParent.style.opacity = opacityValue;
                            itemParent.style.transition = fadeOutDuration;
                            if(boolDimOrHide == false){itemParent.style.display = "none";};
                        })
                    }
              break;
            }
            case 'ptorrents.com':
            {
                i = encodeURI(i); // Encodes non-english characters
                i = i.toLowerCase();
                selector = 'div > div > figcaption > h3 > a[href*="'+i+'"]';
                node = document.querySelectorAll(selector);
                    if (node.length > 0) {
                        node.forEach(function (item) {
                            item.style.color = textColor;
                            item.style.textDecoration = textDecoration;
                            let itemParent = item.parentElement.parentElement.parentElement.parentElement.parentElement;
                            itemParent.style.border = borderStyle;
                            itemParent.style.opacity = opacityValue;
                            itemParent.style.transition = fadeOutDuration;
                            if(boolDimOrHide == false){itemParent.style.display = "none";};
                        })
                    }
              break;
            }
            case 'www.naughtyblog.org':
            {
                i = i.toLowerCase();
                i = i.replace(' ','-');
                selector = 'div.post-header-overview > h2 > a[href*="'+i+'"]';
                node = document.querySelectorAll(selector);
                    if (node.length > 0) {
                        node.forEach(function (item) {
                            item.style.color = textColor;
                            item.style.textDecoration = textDecoration;
                            let itemParent = item.parentElement.parentElement.parentElement;
                            itemParent.style.border = borderStyle;
                            itemParent.style.opacity = opacityValue;
                            itemParent.style.transition = fadeOutDuration;
                            if(boolDimOrHide == false){itemParent.style.display = "none";};
                        })
                    }
              break;
            }

        }

        if (node.length > 0) {
            console.info("⛔ "+ i);
            //console.info(node);
        }
        else {
            // Logging all enabled?
            if (boolLogAll == true) {
                console.warn(i + " not found on page.");
            }
        }
        node = "";
    }

    console.groupEnd();

    if(boolDimOrHide === true)
      {
        console.log("Dimmed porn releases for " + window.location.hostname);
      }
    else
      {
        console.log("Hid porn releases for " + window.location.hostname);
      }

/*

CHANGELOG:

 1.2.7
 - Added more meaningful console messages (logic and emoji)
 - Added more rules
 1.2.6
 - Added more rules
 1.2.5
 - Added more rules
 1.2.4
 - Added support for: naughtyblog.org
 - Fixed vertical video detection for: pxxbay.com
 - Added more rules
 1.2.3
 - Fixed encoded URI characters for ptorrents.com
 - Fixed www. prefix for ptorrents.com
 - Added more rules
 1.2.2
 - Added support for: ptorrents.com
 - Added more rules
 1.2.1
 - Added the ability to dim or hide elements (dim is the default)
 - Improved variable default value comments
 - Minor changes
 1.2
 - Added support for: pornchil.com
 - Added support for 0xxx alternative domains
 - Minor changes
 1.1.9
 - Added fadeOutDuration for smooth animation
 - Changed red border style slightly
 - Cleaned code up
 - Fixed vertical video hider for: https://www.pxxbay.com/category/movies/1080p-movies
 - Other minor changes
 1.1.7
 - Minor changes
 1.1.6
 - Minor changes
 1.1.5
 - Fixed vertical video height for pxxbay.com
 - Code cleaned up
 1.1.4
 - Improvements for: pxxbay.com
 - Improved structure of code
 - Improved handling of null value elements (not found in page)
 1.1.3
 - Fixed annoying pagination bug for: www.pxxbay.com
 - Added support for : torrentgalaxy.to
 - Added changelog to bottom of the script
 1.1.2
 - Added setting for hiding vertical videos for: https://www.hotpornfile.org
 1.1.0
 - No longer supports: xxxadulttorrent.org
 - Cleaned up code
 - Switched to just use pure JavaScript (no jquery)
 1.0.2
 - fixed @match for: https://www.hotpornfile.org/
 1.0.1
 - Fixed 'Bad pattern: missing "/" for path for: https://www.hotpornfile.org'

*/

})();