Created
December 30, 2017 02:30
-
-
Save coleturner/76eae0f74a21e81cf8507fffe778dc3a to your computer and use it in GitHub Desktop.
Block distractions
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 Distractions | |
// @version 0.1 | |
// @description redirects to something productive | |
// @author You | |
// @include *.reddit.* | |
// @include *.imgur.* | |
// @run-at document-start | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
document.write(''); | |
alert('👋'); | |
window.location.href = 'https://github.com/issues'; | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment