From abb8e739baa633248ef88b5113bd12f2eee5c716 Mon Sep 17 00:00:00 2001 From: hiikion Date: Thu, 22 Jun 2023 15:16:56 +0300 Subject: [PATCH] Fix issue #85 --- python_aternos/atjsparse.py | 1 + 1 file changed, 1 insertion(+) diff --git a/python_aternos/atjsparse.py b/python_aternos/atjsparse.py index 9bf77bf..bb6cf46 100644 --- a/python_aternos/atjsparse.py +++ b/python_aternos/atjsparse.py @@ -139,6 +139,7 @@ class Js2PyInterpreter(Interpreter): ctx.execute('window.Map = function(_i){ };') ctx.execute('window.setTimeout = function(_f,_t){ };') ctx.execute('window.setInterval = function(_f,_t){ };') + ctx.execute('document.getElementById = function(_a) { };') ctx.execute('window.encodeURIComponent = function(_s){ };') self.ctx = ctx