From e3e0c56f2a0e3aafef2a11c69b6cb5352808b84e Mon Sep 17 00:00:00 2001 From: Ethan O'Brien <77750390+ethanaobrien@users.noreply.github.com> Date: Sun, 7 May 2023 14:04:00 -0500 Subject: [PATCH] remove netplay.emulatorjs.org references --- data/emu-main.js | 13 +------------ data/emulator.js | 6 +----- 2 files changed, 2 insertions(+), 17 deletions(-) diff --git a/data/emu-main.js b/data/emu-main.js index 99449c4..6b03c75 100644 --- a/data/emu-main.js +++ b/data/emu-main.js @@ -6836,17 +6836,6 @@ window.EJS_main = function(_0xa88a13, _0x17edbf, _0x2c1832) { } 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.version = '3.1.6'; this.system = ''; @@ -6888,7 +6877,7 @@ window.EJS_main = function(_0xa88a13, _0x17edbf, _0x2c1832) { if (!newServer.endsWith('/')) newServer+='/'; return newServer; } else { - return 'https://netplay.emulatorjs.org/'; + return null; } }(this.config.netplayUrl); this.listUrl = server; diff --git a/data/emulator.js b/data/emulator.js index 4efc71a..3af3ee7 100644 --- a/data/emulator.js +++ b/data/emulator.js @@ -83,11 +83,7 @@ var EJS = function(_0x574f5e) { element.innerHTML = ''+_this.localization('Network Error')+''; } } -}, function(module) { - module.exports = function(data) { - fetch("https://netplay.emulatorjs.org/logs", {method:"POST", body:JSON.stringify(data)}); - } -}, null, null, null, null, function(module) { +}, null, null, null, null, null, function(module) { // Project located at https://github.com/ethanaobrien/gamepad class GamepadHandler { gamepads;