Created
December 21, 2014 03:10
-
-
Save 0mg/bb0f62bb2db11e93ab38 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
// disable post a tweet in AM | |
addEventListener("click", function(e) { | |
if (e.target.id === "status_update") { | |
if (new Date().getHours() < 12) { | |
alert("keep quiet in AM"); | |
e.stopPropagation(); | |
} | |
} | |
}, true); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment