Chrome 扩展:在内容脚本中获取页面变量 [英] Chrome Extension: Get Page Variables in Content Script

查看:62
本文介绍了Chrome 扩展:在内容脚本中获取页面变量的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法从 Google Chrome 内容脚本中检索页面的 javascript 变量?

Is there any way to retrieve a page's javascript variables from a Google Chrome Content Script?

推荐答案

如果确实需要,可以在页面的 DOM 中插入一个

登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆