// ==UserScript== // @name Block Distracting Sites // @namespace local.site-blocker // @version 1.2 // @description Blocks distracting sites // @run-at document-start // @noframes // @grant none // @match *://*.reddit.com/* // @match *://reddit.com/* // @match *://*.redd.it/* // @match *://redd.it/* // @match *://*.facebook.com/* // @match *://facebook.com/* // @match *://*.fb.com/* // @match *://fb.com/* // @match *://*.messenger.com/* // @match *://messenger.com/* // @match *://*.instagram.com/* // @match *://instagram.com/* // @match *://*.threads.net/* // @match *://threads.net/* // @match *://*.twitter.com/* // @match *://twitter.com/* // @match *://*.x.com/* // @match *://x.com/* // @match *://*.t.co/* // @match *://t.co/* // @match *://news.ycombinator.com/* // @match *://*.hnrss.org/* // @match *://hnrss.org/* // @match *://*.tiktok.com/* // @match *://tiktok.com/* // @match *://*.youtube.com/* // @match *://youtube.com/* // @match *://*.youtu.be/* // @match *://youtu.be/* // @match *://*.linkedin.com/* // @match *://linkedin.com/* // @match *://*.pinterest.com/* // @match *://pinterest.com/* // @match *://*.tumblr.com/* // @match *://tumblr.com/* // ==/UserScript== (() => { "use strict"; document.documentElement.innerHTML = ` Blocked

Blocked

${location.hostname}

`; window.stop(); })();