Created
September 12, 2015 05:11
-
-
Save mavc/412ec4bda89cd5cc5e79 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
// ==UserScript== | |
// @name Kasi-Time Select | |
// @namespace github.com/mavc | |
// @include http://www.kasi-time.com/* | |
// @version 1.0 | |
// @grant unsafeWindow | |
// ==/UserScript== | |
(function() { | |
/* | |
* Make kasi-time text selectable by removing | |
* certain event listeners. | |
*/ | |
window.addEventListener("load", function () { | |
var $ = unsafeWindow.jQuery; | |
$("body").off(); | |
$("head style").remove(); | |
}); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment