V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
aimerforreimu
V2EX  ›  问与答

PHP 有木有可以解析运行 js 的轮子

  •  
  •   aimerforreimu · May 3, 2018 · 2077 views
    This topic created in 2927 days ago, the information mentioned may be changed or developed.

    有木有那种可以模拟浏览器的 console,可以访问某一个页面以后写入自己的 js 代码的库

    大概就类似于浏览器访问了一个页面以后,打开 console,然后然后运行自己的 js 的代码,可以实现某些监听的功能和需求

    ACTom
        1
    ACTom  
       May 4, 2018
    解析 JS 的库是有的:http://cn2.php.net/manual/en/book.v8js.php
    但是访问了页面并执行 js 的好像就没有了。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1167 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 23:17 · PVG 07:17 · LAX 16:17 · JFK 19:17
    ♥ Do have faith in what you're doing.