Skip to content

Instantly share code, notes, and snippets.

@HelloWorld017
Created March 12, 2017 11:01
Show Gist options
  • Save HelloWorld017/52426ff47162ff6f83b3ff657bad3c51 to your computer and use it in GitHub Desktop.
Save HelloWorld017/52426ff47162ff6f83b3ff657bad3c51 to your computer and use it in GitHub Desktop.
Bypass TouchEn Key which is in djsch
// ==UserScript==
// @name Fuck touchenkey
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Stop using touchenkey
// @author Khinenw
// @match *://*/*
// @grant none
// ==/UserScript==
(function() {
'use strict';
Object.defineProperty(window, "TouchEnKey_installpage", {
value: null,
writable: false,
configurable: false
});
window.addEventListener('load', function(){
var style = document.createElement('style');
style.appendChild(document.createTextNode(""));
document.head.appendChild(style);
style.sheet.insertRule('#tk_overtopDiv, #tk_overdiv {display: none !important;}', 0);
});
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment