// ==UserScript==
// @name Custom - XXX Release Hider
// @namespace http://tampermonkey.net/
// @version 1.2.1
// @description Hides XXX releases based on text match. Works on hotpornfile.org, pxxbay.com, ero-torrent.net, 0xxx.ws and pornchil.com.
// @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*
// @exclude-match https://www.pxxbay.com/category/movies/1080p-movies/*
// @exclude-match https://www.pxxbay.com/category/movies/1080p-movies
// @match https://pornchil.com/*
// @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 =
[
'1111Customs',
'18Lust',
'21EroticAnal',
'2Poles1Hole',
'360p',
'3DCG',
'480p',
'4KCFNM',
'540p',
'544p',
'720p HD mp4',
'720p',
'AGirlKnows',
'ALSAngels',
'ALSScan',
'ASMRMaddy',
'ATKExotics',
'ATKGalleria',
'ATKGirlfriends',
'ATKHairy',
'AbbieMaley',
'AbbyWinters',
'Abigailmorris',
'Addicted2Girls',
'AdelleSabelle',
'Aeriessteele',
'AeryTiefling',
'AfricanCasting',
'AgedLove',
'Akagi',
'Akari',
'Albythegoat',
'Alexa-Nasha',
'Alexxa-Vice',
'AliceBong',
'AliceNZ',
'AllBlackX',
'AllGirlMassage',
'AllHerLuv',
'AllOver30',
'AltErotic',
'Alterotic',
'AmateurCFNM',
'AmazingFilms',
'Ameena-Green',
'AmelieLou',
'Amyyyoxxo',
'Ana-Foxxx',
'Anal-Angels',
'Anal-Beauty',
'AnalVids',
'Angel Nura',
'Angel The Dreamgirl',
'AngelsLove',
'Anilos',
'Annabelle-Rogers',
'Annaplusone',
'Anuskatzz',
'Aoi',
'Apollostone1776',
'AprilOlsen',
'Arabelle-Raphael',
'ArabellesPlayground',
'Areallyweakguy',
'Arousins',
'Asagiri',
'Asia-XXX-Tour',
'AsianSexDiary',
'AsianStreetMeat',
'Asianonrice',
'Assylum',
'AstekAngel',
'AstroDomina',
'Asuna',
'Athenea-Rose',
'AuntJudys',
'AuntJudysXXX',
'Auror-Anarchy',
'AussieFellatioQueens',
'Ava-Moore',
'Azure-Sky-Films',
'AzureSkyFilms',
'Azzy-Star',
'BBW,',
'BBWHighway',
'BDSMBoxxx',
'BJRaw',
'BJWorld',
'BLACKED-RAW',
'BLURAY-H264-UNDERTAKERS',
'BRRipx264-VXT',
'BTS',
'BTSXXX1080pMP4',
'BaDoinkVR',
'Babesafreak',
'Babi-Star',
'Babyfooji',
'BackdoorPOV',
'BananaFever',
'BangBus',
'BannedStories',
'Bear,',
'Beauty-Angels',
'BecomingFemme.com',
'BellesaPlus',
'BenefitMonkey',
'BennyGreen',
'BiGuysFuck',
'Big-Booty-Bailey',
'BigBootyBailey',
'BigBootyTGirls',
'BigGulpGirls',
'Bionixxx',
'Black-TGirls',
'BlackAmbush',
'BlackBullChallenge',
'BlackPayBack',
'BlackedRaw',
'BlackpantherXXX',
'BlowBangGirls',
'BluRayx265-VXT',
'BradMontana',
'BrandNewAmateurs',
'BreedMe',
'BrokenLatinaWhores',
'BrokenLatinaWhores',
'BrookelynneBriar',
'BrothaLovers',
'BrownBunnies',
'BruceAndMorgan',
'BustyMara',
'CAMSHOWS.TV',
'Cam-Damage',
'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',
'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',
'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',
'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',
'ForPlayFilms',
'FoxxedUp',
'FreakMobMedia',
'FreeUseFantasy',
'FreeUseMILF',
'Freeze.xxx',
'FrolicMe',
'FuckStudies',
'FuckingPornstars',
'Fujita',
'FunDorado',
'Funsizedasian',
'Futa/',
'Futanari',
'GabbieCarterTV',
'GangbangCreampie',
'Geishakyd',
'GenderX',
'GenderX',
'GhettoGaggers',
'GinaGersonXXX',
'Girl/Girl',
'GirlGirlXXX',
'GirlfriendsFilms',
'GirlsDeep',
'GirlsGonePink',
'GirlsOnlyPorn',
'GirlsOutWest',
'GirlsWay',
'GloryHoleSecrets',
'Glowupz',
'Goddess-Evelyn',
'Goddess-Maeve',
'Gothjock',
'GrandMams',
'GrandParentsX',
'GroobyGirls.com',
'GroupBanged',
'H264AAC-VXT',
'HardWerk',
'Hayleyxyz',
'Hegre',
'Hidden-Zone',
'Hijab',
'HijabHookup',
'Hime-Tsu',
'Hirosue',
'Hitzefrei',
'HogTied',
'HollandschePassie',
'HollyRandall',
'HoneyTrans.com',
'Hongkongdoll',
'HookupHotshot',
'HotAndMean',
'HotBoys.com.br',
'HotGirlsGame',
'HotGirlsRAW',
'HotGirlsRaw',
'HotGuysFuck',
'HotMILFsFuck',
'HouseHumpers',
'HowWomenOrgasm',
'HuCows',
'HungLow',
'Hungry4Cum',
'IAnalXXX',
'ISmashedXXX',
'ISuckXXX',
'Ignore4K',
'InTheCrack',
'IndustryInvaders',
'InkedMonster',
'Innocenthotwifexxx',
'Insex',
'InterracialBlowbang',
'InterracialPass',
'IzzyBunnies',
'IzzyFit',
'Izzybunnies',
'JAV BluRay 1080p',
'JAVHub',
'JOIBabes',
'Jack-And-Jill',
'JacquieEtMichelTV',
'Jadeteen',
'Jana-JJ',
'Jap+E',
'JapanHDV',
'JapanVR',
'Jarushka-Ross',
'JawBreakerz',
'JaxSlayher',
'JaxSlayherTV',
'Jesse-Pony',
'Jessica-Azul',
'Jessica-Borga',
'JoannaJet',
'Jolie-Lyon',
'JoyMii.com',
'Joymii',
'Jude-Ryan',
'Julie-Jess',
'K8sarkissian',
'Kama-Oxi',
'Karen-Fernando',
'KarmaRX',
'KarupsHA',
'KarupsOW',
'KarupsPC',
'Kashiwagi',
'Katopunk',
'Kawai',
'Kawaii',
'Kawashima',
'Keiko',
'Kelly-Nixe',
'Khlo-X',
'Kiittenymph',
'Killaabunny',
'KimberLeeLive',
'Kin8tengoku',
'KingNoireXXX',
'KittyxKum',
'Kona-Jade',
'Kumiko',
'LANewGirl',
'La-Tina-Hotwife',
'Lacey-London',
'LadyVoyeurs',
'Ladyboy',
'LadyboyObsession.com',
'Lana-Rain',
'LatinaCasting',
'LatinaFuckTour',
'LatinaRaw',
'LegalPorno',
'LegendaryLootz',
'Lesbea',
'Lesbian,',
'LesbianX',
'LezBeBad',
'LezCuties',
'LezDom',
'LezKey',
'Lianna-Lawson',
'LifeSelector',
'Lilah-Lovesyou',
'Lilmochidoll',
'Lily-Lane',
'LilyKawaii',
'LilyThot',
'Linux,',
'Little Puck',
'Little-Puck',
'LittleCaprice-Dreams',
'LittlePuck',
'Littlepolishangel',
'Livecleo',
'Lola-Crystals',
'Lola-James',
'LoneMilf',
'LucidFlix',
'LunaRoulette',
'Lustery',
'Lustery',
'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',
'Mature4K',
'MatureFetish',
'MatureGapers',
'MatureGynoExam',
'MatureNL',
'MatureVan',
'MaxCartel',
'MaxineX',
'MelinaMay',
'Melissa-Stratton',
'MenAtPlay',
'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',
'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',
'Natalia-Forrest',
'NebraskaCoeds',
'NetGirl',
'NetVideoGirls',
'Nicci-Azzy',
'NiceAndSlutty',
'NickMarxx',
'NinaKayy',
'NoFaceMom77',
'NookiesOriginals',
'Noriko',
'Nubiles',
'Octokuro',
'OfficePOV',
'OhMyHoles',
'OldYoungLesbianLove',
'Oliviamaebaee',
'OnlyFans 2023 Dainty Wilder',
'OnlyFans 2023 EnaFox',
'OnlyFans 2023 Hidori',
'OnlyFans 2023 LegendaryLootz',
'OnlyFans 2023 OnlyTwins',
'OnlyFans 2023 Thestartofus',
'OnlyFans',
'OnlyFans-2023-Sweetie-Fox',
'OnlyTeenBlowJobs',
'Oopsie',
'Over40Handjobs',
'Parasited',
'Pawged',
'Peachjars',
'PervPrincipal',
'Philavise',
'PinkOTgirls.com',
'PinkoTGirls',
'PinupFiles',
'PissVids',
'PlayboyPlus',
'PlumperPass',
'PornDudeCasting',
'PornMegaLoad',
'PremiumBukkake',
'Primals-Teasing-Edging',
'PrimeLesbian',
'PrincessLexiePresents',
'PrivateSociety',
'Prostate Milking',
'PuppyGirlfriend',
'Pure-BBW',
'Pure-ts.com',
'PureCFNM',
'PureXXX',
'Purple-Bitch',
'PutaLocura',
'RawWhiteMeat',
'RazorCandi',
'RealGirlsGoneBad',
'RealTimeBondage.com',
'Reducing Mosaic',
'Reislin',
'RickysRoom',
'RomeMajor',
'Rosarosebud',
'S3XUS',
'S3xus',
'SDMP4',
'SODVR',
'Sakura',
'Saori',
'Sarah-Calanthe',
'Sasha-Strokes',
'SavageGangbang',
'Saviorangel',
'Scat',
'SeanCody.com',
'SeducedByACougar',
'SeeHIMFuck',
'SeeHimFuck',
'SeeMomSuck',
'SelfieSuck',
'SensualHeat',
'SensualLove',
'Serenity-Cox',
'SexArt',
'SexLikeReal',
'SexWithMuslims',
'Sexycuteisa',
'SheMaleStrokers.com',
'SheSeducedMe',
'Shemale',
'Shinaryen',
'Shinomiya',
'Shiori',
'Shirakawa',
'Shrooms Q',
'Shrooms-Q',
'Sia-Siberia',
'Sia_Siberia',
'SinfulXXX',
'Sinfuldeeds',
'SinnSage',
'SissyPOV.com',
'Slayed',
'SlutInspection',
'SlutsAroundTown',
'Snowdeville',
'SofieMarieXXX',
'SpicyBooty',
'Starry-Night-Flower',
'StrapLez',
'StrapLezz',
'StrapLezz.Com',
'StrapLezz21',
'Stunning18',
'SubSluts',
'Subgirl0831',
'SugarDaddyPORN',
'SummerSinners',
'Superbe',
'Swallow4fun',
'Swallowed',
'SweetKiss69',
'Sweetie-Fox',
'Swhores',
'SydneyHail',
'TGirl',
'TGirlJapan.com',
'TGirls.porn',
'TGirls.xxx',
'TS-Divas',
'TSRAW.com',
'TSRaw.com',
'TabithaXXX',
'TadpolexStudio',
'Tanaka',
'TeamSkeetXImMayBee',
'TeamSkeetXLuxuryGirl',
'TeamSkeetXTenshigao',
'TeamskeetXModelMediaASIA',
'TeenFromBohemia',
'TeenSexMania',
'TeenSexMovs',
'Teenikini',
'TeenyLovers',
'TeenyTaboo',
'Thai',
'ThaiGirlsWild',
'TheFlourishFetish',
'TheFlourishPOV',
'TheFlourishXXX',
'TheHabibShow',
'TheLesbianExperience',
'TheLifeErotic',
'TheSlutsNextDoor',
'Thecosmonaut',
'Thedongkinger',
'ThisGirlSucks',
'Throated',
'Tiana-Blow-',
'TmwPOV',
'TobyDickStudio',
'TouchMyWife',
'Trans,',
'Trans-',
'Trans500',
'TransAngels',
'Transexual',
'Transfixed',
'Transgressive',
'Transsensual.com',
'Transsexuals.com',
'TrikePatro',
'TripForFuck',
'Trippie-Bri',
'TrophyWifeNat',
'TrueLesbian',
'Try-on-haul',
'TsLunaSnow',
'TsPov.com',
'Tsubomi',
'TukTuk-Patrol',
'TukTukPatro',
'TurningTwistys',
'TushyRaw',
'Twink',
'Twistys',
'Uncensored',
'Usami',
'UsePOV',
'VIPissy',
'VR',
'VR180',
'VRConk.com',
'VRLatina.com',
'Verashia',
'VickyAtHome',
'Victoria-May',
'VirtualRealPorn.com',
'VirtualTaboo.com',
'VivThomas',
'WaifuMiia',
'Waifumiia',
'WankzVR',
'Watch4Beauty',
'WatchYouCheat',
'Water Melonsugar3',
'WeFuckBlackGirls',
'WeLikeToSuck',
'WeLiveTogether',
'WebYoung',
'WetAndPissy',
'WetAndPuffy',
'WettMelons',
'Wettmelons',
'WhenGirlsPlay',
'WhippedAss',
'Whoahannahjo',
'WhornyFilms',
'WifeysWorld',
'WildOnCam',
'WillTileXXX',
'Windows,',
'WoodmanCastingX',
'WowGirls',
'X-Angels',
'X-Sensual',
'XXX WEB-DL SPLIT SCENES',
'Xlovelyadrianax',
'XvideosRED',
'Xwife-Karen',
'XxxTabithaxxx',
'Yayoi',
'Yogabella',
'YoungCourtesans',
'YoungSexParties',
'Your Submissive Doll',
'YourFavoriteMommy',
'YourStepSis',
'YouthLust',
'Yui',
'Yukino',
'Yuna',
'Yuzuki',
'Zaawaadi',
'Zdank',
'ZebraGirls',
'Zirael-Rem',
'Zirael-Rem',
'[3D ART]',
'[ART]',
'[Cen]',
'[HotBoys.com.br]',
'[cen]',
'bella-joie',
'chaturbate',
'ernaburn',
'hexx_girl',
'jav',
'la_tina_hotwife',
'reflectivedesire.com',
'scat',
'solo',
'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();
console.group("Blocking porn releases for " + window.location.hostname);
// Creates a new clean array
let itemsToBlock = blockedItems;
// Logs the detected site to the Developer Console
console.info("detected site : " + 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 > 174) {
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.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 = 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;
}
}
if (node.length > 0) {
console.info(i);
//console.info(node);
}
else {
// Logging enabled?
if (boolLogAll == true) {
console.warn(i + " not found on page.");
}
}
node = "";
}
console.groupEnd();
console.log("Blocked porn releases for " + window.location.hostname);
/*
* CHANGELOG:
*
* 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'
*
* */
})();