Last active
August 29, 2015 14:24
-
-
Save alecmev/b3c77b0b5ce3970cf178 to your computer and use it in GitHub Desktop.
StayRegexd
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 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