Skip to content

Instantly share code, notes, and snippets.

@mavc
Created September 12, 2015 05:11
Show Gist options
  • Save mavc/412ec4bda89cd5cc5e79 to your computer and use it in GitHub Desktop.
Save mavc/412ec4bda89cd5cc5e79 to your computer and use it in GitHub Desktop.
// ==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