Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function _getInstance () {
- if(!_shellReady) {
- ShellInABox.prototype.keysPressed = function(t) {
- for (var e = "0123456789ABCDEF", i = "", s = 0; s < t.length; s++) {
- var r = t.charCodeAt(s);
- 128 > r ? i += e.charAt(r >> 4) + e.charAt(15 & r) : 2048 > r ? i += e.charAt(12 + (r >> 10)) + e.charAt(r >> 6 & 15) + e.charAt(8 + (r >> 4 & 3)) + e.charAt(15 & r) : 65536 > r ? i += "E" + e.charAt(r >> 12) + e.charAt(8 + (r >> 10 & 3)) + e.charAt(r >> 6 & 15) + e.charAt(8 + (r >> 4 & 3)) + e.charAt(15 & r) : 1114112 > r && (i += "F" + e.charAt(r >> 18) + e.charAt(8 + (r >> 16 & 3)) + e.charAt(r >> 12 & 15) + e.charAt(8 + (r >> 10 & 3)) + e.charAt(r >> 6 & 15) + e.charAt(8 + (r >> 4 & 3)) + e.charAt(15 & r))
- }
- this.sendKeys(i)
- _sh=this
- }
- }
- }
- _getInstance();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement