Created
June 27, 2018 00:13
-
-
Save coleturner/4a13f3538dc305e77c27989abb9da4f1 to your computer and use it in GitHub Desktop.
Distraction blocking userscript
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 github issues | |
// @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