1 Star 0 Fork 0

Cocos / cocos-web-extension-detect-engine

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

web-extension-detect-engine

A chrome-extension to detect the facebook instant game's engine

Load extension and run

  1. Download this extension and unpacked it: https://github.com/cocos-creator/web-extension-detect-engine/archive/master.zip

  2. Open chrome => More Tools(更多工具) => Extensions(扩展程序) => Select the developer mode(开发者模式) => Load unpacked extension(加载已解压的扩展程序) => Load this extension

  3. Open any facebook instant game, engine information will display on top

  4. Open other pages, click the plugin icon, engine information will display on top

NOTE

If you can't get engine information, please click PLAY or 马上玩

Documentation

manifest.json

content_scripts: injection script (注入脚本)

--matches: 脚本注入的url

--js: 运行的脚本

--all_frames: 为true可注入所有的iframe

permissions: 允许运行插件的url

contentscript.js

创建一个script元素将所需要注入的script写入

空文件

简介

A Chrome extension to detect the engine running in web. 展开 收起
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/cocos/cocos-web-extension-detect-engine.git
git@gitee.com:cocos/cocos-web-extension-detect-engine.git
cocos
cocos-web-extension-detect-engine
cocos-web-extension-detect-engine
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891