https://github.com/xmader/bring_userscript_to_via
将 UserScript/油猴脚本 带到Via浏览器
https://github.com/xmader/bring_userscript_to_via
userscript
Last synced: 10 months ago
JSON representation
将 UserScript/油猴脚本 带到Via浏览器
- Host: GitHub
- URL: https://github.com/xmader/bring_userscript_to_via
- Owner: Xmader
- License: mit
- Created: 2018-10-01T09:20:39.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-10-11T03:48:42.000Z (over 7 years ago)
- Last Synced: 2025-04-15T06:42:17.613Z (10 months ago)
- Topics: userscript
- Language: JavaScript
- Homepage: https://www.xmader.com/Bring_UserScript_to_Via/
- Size: 74.2 KB
- Stars: 18
- Watchers: 2
- Forks: 5
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Bring UserScript to Via Browser
> 将 UserScript/油猴脚本 带到Via浏览器
## 功能
* 在Via浏览器中安装 UserScript/油猴脚本
* 自动设置脚本所匹配的域名
* 仅在 UserScript/油猴脚本 中所定义的网址 (脚本头部的`@match`字段) 中运行脚本
* 脚本完全安装在本地,提升页面加载速度
> Via浏览器对于GreasyFork中的脚本的原生行为是安装一个对远程脚本的引用
## [安装](https://www.xmader.com/Bring_UserScript_to_Via/)
## 使用
* 在 Greasy Fork 上的任一脚本页面点击 `安装此脚本` 按钮
或
* 在 Via 浏览器中打开任一包含UserScript脚本的 `.js` 文件
## 自行构建
```bash
npm install
npm run clean
npm run build
```
构建生成的文件在`dist`目录下
## License
MIT