Created
June 24, 2022 21:48
-
-
Save adryzz/bad1572fdd62917ce01bef22e0dad127 to your computer and use it in GitHub Desktop.
Protect your brain from twitter with a simple script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Twitter brain preserving script | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description protect user | |
// @author Adryzz | |
// @match https://twitter.com/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=twitter.com | |
// @grant window.close | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
if (!confirm("IMPORTANT WARNING\nYou are about to go on Twitter.\nThis site is toxic and full of brainless people.\nDo you REALLY want to go there?")) | |
{ | |
close(); | |
} | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment