Skip to content

Instantly share code, notes, and snippets.

@alecmev
Last active August 29, 2015 14:24
Show Gist options
  • Save alecmev/b3c77b0b5ce3970cf178 to your computer and use it in GitHub Desktop.
Save alecmev/b3c77b0b5ce3970cf178 to your computer and use it in GitHub Desktop.
StayRegexd
// ==UserScript==
// @name StayRegexd
// @version 1.0
// @namespace http://jeremejevs.com/
// @author Olegs Jeremejevs
// @include /^https?:\/\/(www\.)?reddit\.com(?!\/(r\/[^\/]+\/comments\/[^\/]+|user))/
// @include /^https?:\/\/news\.ycombinator\.com(?!\/(item|user))/
// @include /^https?:\/\/(www\.)?youtube\.com(\/(feed|\?|$)|$)/
// @grant none
// ==/UserScript==
//
// Make sure to test the expressions here: https://regex101.com/
//
document.documentElement.innerHTML = '<div style="text-align: center; padding-top: 256px; font-family: sans-serif; font-size: 32px; font-weight: bold">THIS STUFF WON\'T GET YOU ANYWHERE</div>';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment