-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnwagra.min.js
More file actions
15 lines (13 loc) · 1.71 KB
/
Copy pathnwagra.min.js
File metadata and controls
15 lines (13 loc) · 1.71 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
var _____WB$wombat$assign$function_____ = function(name) {return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name)) || self[name]; };
if (!self.__WB_pmw) { self.__WB_pmw = function(obj) { this.__WB_source = obj; return this; } }
{
let window = _____WB$wombat$assign$function_____("window");
let self = _____WB$wombat$assign$function_____("self");
let document = _____WB$wombat$assign$function_____("document");
let location = _____WB$wombat$assign$function_____("location");
let top = _____WB$wombat$assign$function_____("top");
let parent = _____WB$wombat$assign$function_____("parent");
let frames = _____WB$wombat$assign$function_____("frames");
let opener = _____WB$wombat$assign$function_____("opener");
(function(){let e="https://my.numworks.com/apps";if(window.location.href!=e){window.location.href=e;return}if(document.getElementById("nwagra")){alert("You should avoid prolonged exposure to Nwagra!");return}let t=document.querySelector("a.btn.btn-primary");if(t){let n=USBDevice.prototype.controlTransferIn;USBDevice.prototype.controlTransferIn=function(e,t){if(t!=40)return n.call(this,e,t);let s=this;return new Promise(function(o){n.call(s,e,t).then(function(e){e.data.getUint32()==4276994270&&e.data.setUint32(24,2424307712,!0),o(e)})})},document.querySelector("h1").innerHTML="Enlarged Extra Apps";let e=document.createElement("p");e.id="nwagra",e.className="text-center",e.style.marginTop="50px";let t=document.createElement("img");t.src="https://web.archive.org/web/20221008080116/https://www.nwagyu.com/nwagra.jpg",t.width="150",e.appendChild(t),document.querySelector("section").appendChild(e)}else alert("Please unplug your calculator and start over."),window.location.href=e})()
}