gm-http
Http module for Greasyfork Script
Installation
npm install gm-http --save
FeedBack
- https://github.com/axetroy/gm-http/issues
- https://github.com/axetroy/gm-http/issues
- https://github.com/axetroy/gm-http/issues
如果这能够帮助到你, 不妨点个start, 你的支持就是我更新的动力
使用
- 安装扩展
安装前确保你的浏览器已安装如下扩展
浏览器 | 支持扩展 |
---|---|
Chrome | Tampermonkey or Violent monkey |
Firefox | Greasemonkey or Tampermonkey |
Safari | Tampermonkey |
Microsoft Edge | Tampermonkey |
Opera | Tampermonkey |
Maxthon | Violentmonkey |
Dolphin | Tampermonkey |
UC | Tampermonkey |
Qupzilla | 不需要额外软件 |
- 安装脚本
创建一个脚本,并且安装
- 确保拥有http权限
在脚本头部的声明中,确保有http的权限申请
// @grant GM_xmlhttpRequest
- 引入本库
// es6; // commonJs; // or Global; http.get'https://example.com' .then
API
Contributing
git clone https://github.com/axetroy/gm-http.gitcd ./gm-httpyarnyarn run start
You can flow Contribute Guide
Contributors
Axetroy 💻 🔌 ⚠️ 🐛 🎨 |
---|
License
The MIT License