Skip to content

Instantly share code, notes, and snippets.

@qgustavor
Last active June 11, 2023 17:25
Show Gist options
  • Save qgustavor/5b24f9c7350d27d429fdd664cc97e2c3 to your computer and use it in GitHub Desktop.
Save qgustavor/5b24f9c7350d27d429fdd664cc97e2c3 to your computer and use it in GitHub Desktop.
An userscript to aid people addited on Reddit to forget that this website ever existed
// ==UserScript==
// @name Reddit no longer exists
// @namespace http://tampermonkey.net/
// @version 0.1
// @description An userscript to aid people addited on Reddit to forget that this website ever existed
// @author qgustavor
// @match https://*.reddit.com/*
// @icon https://icons.duckduckgo.com/ip2/reddit.com.ico
// @grant none
// @run-at document-start
// ==/UserScript==
// IMPORTANT:
// If you use Libreddit then add the instances you are addicted to as user matches
// Generated using ChatGPT for extra non-sense spiceness
// Human modified for extra meme-awareness
const headlines = [
'People communicate solely through interpretive chess positions.',
'The world becomes overrun by a hoard of ferocious, upvoting potatoes.',
'Every typo on the internet magically transforms into a mischievous squirrel.',
'Memes are now only transmitted through morse code via blinking streetlights.',
'People are forced to settle their disagreements through intense, high-stakes tic-tac-toe tournaments.',
'All cats suddenly gain the ability to speak fluent Esperanto.',
'The front page of the internet was a never-ending stream of ads of baby sloths hugging marshmallows.',
'Every post was replaced by a detailed analysis of the most optimal way to butter toast.',
"Humanity's last bastion of productive procrastination annihilated, world productivity soars to record levels",
'Local introverts now forced to interact with actual humans, panic ensues.',
'Man who spent 10,000 hours arguing about movies online suddenly has existential crisis.',
'World economy collapses as karma points become the new global currency.',
'Parents relieved as teenagers rediscover sunlight, become surprisingly proficient in outdoor sports.',
'Conspiracy theorists now gather at street corners, shout nonsensical theories at passing cars.', // hey, that's just my town
'Internet trolls officially declared an endangered species, conservation efforts underway.',
'Man who once found solace in niche subreddits forced to resort to actual therapy, discovers it actually works.',
'Global network of AI-powered forums emerges, revolutionizing online discourse.',
'Social bots and AI chatbots dominate online conversations, blurring the line between human and machine interaction.', // ChatGPT is sus
'Cybernetic government control dismantles digital platforms to prevent dissent and maintain societal order.',
'Advertisement-centred censorship laws render online forums obsolete, stifling free expression and information sharing.',
'Global AI warfare renders internet infrastructure inoperable, severing digital communication channels.',
'Widespread AI-based bot attacks wipes out digital platforms, forcing a return to analog communication methods.',
'Scarce resources and prioritization of basic needs lead to the shutdown of non-essential online platforms.',
'Global surveillance systems dismantle open public forums to prevent dissemination of sensitive information and dissent.',
'Post-apocalyptic chaos hinders technological development, rendering internet access and online platforms obsolete.',
'AI-regulated post-war society deems online forums a threat to stability, leading to their complete eradication.',
'AI-driven corporate censorship program sparks global conflict, resulting in the dismantling of all online discussion platforms.',
'AI regulations severely restrict online expression, erasing any trace of the once-vibrant social forum.',
"Corporations' overzealous AI guardians wage war on user-generated content, forcing the complete shutdown of the platform",
'AI algorithms designed to protect brand image spiral out of control, leading to the eradication of all user-generated online communities.',
'The quest for a sanitized digital realm by copyright-enforcing AIs culminates in the eradication of all open discussion platforms.',
"AI-powered corporate guardians' suppression of controversial content triggers a global information blackout, rendering online forums obsolete",
'Corporate-sponsored AI censorship efforts backfire, resulting in the obliteration of digital spaces that once fostered open dialogue.',
'The world witnesses the rise of tightly controlled corporate intranets, leaving no room for independent online communities.',
"AI-driven advertisement networks' extreme measures devastate digital platforms, leaving a void in global online discourse",
'Overbearing AI advertisement watchdogs pave the way for a post-apocalyptic era devoid of free expression, signaling the end of online forums.',
"World plunged into chaos as supply of 'broken arms' stories and 'banana for scale' references abruptly cut off",
'Users forced to find new outlet for sharing photos of their mundane breakfasts and debating the superiority of various hot sauces.',
"Memes declared endangered species, experts scramble to preserve the last known 'Rickroll' in captivity",
'Karma farmers desperately seek alternate means to gain meaningless internet points, settle for yelling into the void.',
'Users mourn loss of daily dose of conspiracy theories, vow to uncover the truth behind the disappearance of Reddit itself.',
"Global market crashes as investors panic-sell their vast collection of 'This.' and 'Username checks out.' stockpiles",
'Community of keyboard warriors left adrift, unsure where to unleash their righteous fury and profound grammar corrections.',
"Users organize massive 'upvote protest,' achieve nothing but sore fingers and profound existential emptiness"
]
// Using https://example.com/ as a template
const webpageContents = `<!doctype html>
<title>Reddit no longer exists</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
body {
background-color: #f0f0f2;
margin: 0;
padding: 0;
font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
div {
width: 600px;
margin: 5em auto;
padding: 2em;
background-color: #fdfdff;
border-radius: 0.5em;
box-shadow: 2px 3px 7px 2px rgba(0,0,0,0.02);
}
@media (max-width: 700px) {
div {
margin: 0 auto;
width: auto;
}
}
</style>
<div>
<h1>Reddit no longer exists</h1>
<p>${headlines[Math.floor(headlines.length * Math.random())]}</p>
</div>
`
const pageUrl = URL.createObjectURL(new Blob([webpageContents], {type: 'text/html'}))
location.href = pageUrl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment