admin管理员组

文章数量:1129631

I'm playing a game called Deepest World all code is loaded into an iframe I was able to get pyscript running but when i inject the python script using document.createElement the config attribute is ignored

let py = document.createElement("script")
py.src="dw://main.py" //works
py.type = "py"
py.setAttribute("config", '{"packages": ["arrr"]}')
document.body.appendChild(py)

the python file runs but the config attribute is ignored

本文标签: pyscriptConfig ignored and I don39t know whyStack Overflow