Created
February 23, 2014 23:34
-
-
Save tetsutan/9178930 to your computer and use it in GitHub Desktop.
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 ldr_z_function | |
// @namespace knell | |
// @include http://reader.livedoor.com/* | |
// @include http://fastladder.com/reader/* | |
// ==/UserScript== | |
(function (){ | |
window.addEventListener("keypress", function (e) { | |
if(e.charCode == 122 || e.keyCode == 90){ // z key | |
setTimeout(function(){ | |
document.getElementById("right_top_navi").style.display = "none"; | |
},100); | |
} | |
return true; | |
},true); | |
})(); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment