Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // @name Unfuck IVWORLD
- // @namespace none yet
- // @match *://*.ivworld.net/*
- // @grant none
- // @version 0.1
- // @author Kvothe (original code), fakeanatomydoctor (regex), anon (switch from pornhub to ivworld)
- // @description Formerly Unfuck Pornhub
- // ==/UserScript==
- // WORD BLOCK LIST (supports regex, can make a copy and change these terms to whatever you like)
- let wordList = ["JMKD", "MIU", "KODV", "IMOG", "Chu-boh42", "SMAC", "CPSKY", "ICDV", "IMHS",
- "IMOL", "EICCB", "PPT", "ICS", "IMOQ", "TASK", "GGGG", "EMO", "GOD", "WPCS",
- "PIST", "BSTAR", "IMBD", "IMOB", "SNM", "SBKD", "CHAMA", "SOPD", "ICS"];
- // DON'T EDIT BELOW
- console.log('WORKING');
- const titles = document.querySelectorAll('.posttitle a')
- titles.forEach(title => {
- const titleContent = title.textContent.trim();
- wordList.forEach(word => {
- if(titleContent.match(word) && word != "") {
- title.parentElement.parentElement.parentElement.remove();
- console.log(`post removed => ${titleContent} cuz it contains ==> ${word}`)
- }
- })
- });
Add Comment
Please, Sign In to add comment