Skip to content

Instantly share code, notes, and snippets.

@adryzz
Created June 24, 2022 21:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adryzz/bad1572fdd62917ce01bef22e0dad127 to your computer and use it in GitHub Desktop.
Save adryzz/bad1572fdd62917ce01bef22e0dad127 to your computer and use it in GitHub Desktop.
Protect your brain from twitter with a simple script
// ==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