// ==UserScript== // @name WebsiteBlocker // @namespace http://tampermonkey.net/ // @version 0.1 // @description Blocking websites has never beem easier! Just add an website in the Match line, and it will be blocked! // @author Firel // @match https://*.net // @match http://example.com // @grant none // @downloadURL https://update.greasyfork.icu/scripts/29934/WebsiteBlocker.user.js // @updateURL https://update.greasyfork.icu/scripts/29934/WebsiteBlocker.meta.js // ==/UserScript== (function() { 'use strict'; // Your code here... alert("This page has been blocked and is no longer veiwable."); window.setTimeout(function(){ window.location = "about:home"; },30); })();