Created
June 26, 2012 14:37
-
-
Save mono0x/2996154 to your computer and use it in GitHub Desktop.
Evernoteのウザいメッセージを消す
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 Hide cumbersome message from Evernote | |
// @namespace http://monoweb.info/ | |
// @include https://www.evernote.com/pub/* | |
// ==/UserScript== | |
function close() { | |
var element = document.querySelector('.GCSKHGDCIX'); | |
if(element !== null) { | |
element.click(); | |
return true; | |
} | |
return false; | |
} | |
var interval = setInterval(function() { | |
if(close()) { | |
clearInterval(interval); | |
} | |
}, 100); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment