摘要:
let timer = setInterval(function () { if (document.getElementById('divChpContent')) { var span_list = document.getElementsByTagName("span"); for (var 阅读全文
摘要:
import execjs with open('xxx.js','rt',encoding='utf-8') as f: js = execjs.compile(f.read(),cwd='../../node_modules') # cwd= 为加入dom和window环境供js代码运行, cnpm install jsdom ''' const jsdom = require("jsdom" 阅读全文