remove netplay.emulatorjs.org references

This commit is contained in:
Ethan O'Brien 2023-05-07 14:04:00 -05:00
parent fcbb672112
commit e3e0c56f2a
2 changed files with 2 additions and 17 deletions

View file

@ -6836,17 +6836,6 @@ window.EJS_main = function(_0xa88a13, _0x17edbf, _0x2c1832) {
} }
return path return path
} }
try {
const logID = new Date().getTime() + '-' + Math.floor(Math.random() * 1000);
_0x470424({
config: _0x2ba0e6,
domain: window.location.hostname,
page: window.location.href,
id: logID,
version: '3.1.6'
});
console.log("Error Reporting ID:", logID);
} catch(e) {};
this.localization = e => {return e}; this.localization = e => {return e};
this.version = '3.1.6'; this.version = '3.1.6';
this.system = ''; this.system = '';
@ -6888,7 +6877,7 @@ window.EJS_main = function(_0xa88a13, _0x17edbf, _0x2c1832) {
if (!newServer.endsWith('/')) newServer+='/'; if (!newServer.endsWith('/')) newServer+='/';
return newServer; return newServer;
} else { } else {
return 'https://netplay.emulatorjs.org/'; return null;
} }
}(this.config.netplayUrl); }(this.config.netplayUrl);
this.listUrl = server; this.listUrl = server;

View file

@ -83,11 +83,7 @@ var EJS = function(_0x574f5e) {
element.innerHTML = '<strong style="color:#f00;text-shadow: 0px 0px 3px;">'+_this.localization('Network Error')+'</strong>'; element.innerHTML = '<strong style="color:#f00;text-shadow: 0px 0px 3px;">'+_this.localization('Network Error')+'</strong>';
} }
} }
}, function(module) { }, null, null, null, null, null, function(module) {
module.exports = function(data) {
fetch("https://netplay.emulatorjs.org/logs", {method:"POST", body:JSON.stringify(data)});
}
}, null, null, null, null, function(module) {
// Project located at https://github.com/ethanaobrien/gamepad // Project located at https://github.com/ethanaobrien/gamepad
class GamepadHandler { class GamepadHandler {
gamepads; gamepads;