sites blocker

Block sites you don't want your kid, student and self to see.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// ==UserScript==
// @name         sites blocker
// @namespace    http://tampermonkey.net/
// @version      2.0
// @description  Block sites you don't want your kid, student and self to see.
// @author       Thundercatcher
// @match        http://example.com/
// @icon         data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==
// @grant        none
// ==/UserScript==

(function() {
    'use strict';
    // Go to match and type the home url for the sites that you want to be blocked. Omegle and Tinder are the defult sites you can easily change them if you want

     document.write('<h3 style="text-align: center;">Site Blocked by site blocker</h3>');
    document.write('<h3 style="text-align: center;">This site has been blocked by your administer</h3>');
    document.write('<h3 style="text-align: center;">( If you think this is a mistake you can contact to your administer to unblock this site</h3>');
    document.write('<h3 style="text-align: center;">We do our best to ensure the internet is a safe and fun place for everyone. As an important reminder, we dont have access to your computer and we did not set this up.</h3>');
    document.write('<h3 style="text-align: center;">All credits belong to <a href="https://greasyfork.org/en/users/918560-thundercatcher">Thundercatcher</a></h3>');
(document.body.style.backgroundColor = "#32CD32");
})();