Simple porn blocker

A basic porn blocker that redirects you to vitas opera 2 every time you try to search for it

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

Advertisement:

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

Advertisement:

// ==UserScript==
// @name         Simple porn blocker
// @namespace    http://tampermonkey.net/SPB
// @version      1.0
// @description  A basic porn blocker that redirects you to vitas opera 2 every time you try to search for it
// @author       You
// @match        *://*/*
// @icon         https://i.imgur.com/Xe00FR1.png
// @grant        none
// @exclude      http://open.spotify.com/*/*
// @exclude      http://youtube.com/*
// @exclude      https://www.reddit.com/r/NoFap/*
// @license      MIT
// ==/UserScript==

(function() {
    'use strict';
if (document.title.indexOf("Porn") != -1){
window.location.replace("https://youtu.be/8-qZD6XHVCA?t=174");}
if (document.title.indexOf("hentai") != -1){
window.location.replace("https://youtu.be/8-qZD6XHVCA?t=1741");}
if (document.title.indexOf("rule34") != -1){
window.location.replace("https://youtu.be/8-qZD6XHVCA?t=174");}
if (document.title.indexOf("rule 34") != -1){
window.location.replace("https://youtu.be/8-qZD6XHVCA?t=174");}
if (document.title.indexOf("porno") != -1){
window.location.replace("https://youtu.be/8-qZD6XHVCA?t=174");}
if (document.title.indexOf("sexo") != -1){
window.location.replace("https://youtu.be/8-qZD6XHVCA?t=174");}
if (document.title.indexOf("xnxx") != -1){
window.location.replace("https://youtu.be/8-qZD6XHVCA?t=174");}
if (document.title.indexOf("xvideos") != -1){
window.location.replace("https://youtu.be/8-qZD6XHVCA?t=174");}
if (document.title.indexOf("pornhub") != -1){
window.location.replace("https://youtu.be/8-qZD6XHVCA?t=174");}
// Your code here...
})();