
Security News
The AI Industry Is Betting on Open Weights
An open letter signed by 50 companies, from NVIDIA and Microsoft to Mistral and Hugging Face, urges Washington not to restrict open weight AI.
rollup-plugin-monkey
Advanced tools
使用 rollup 开发「GM_脚本」
git: https://github.com/wdssmq/rollup-plugin-monkey
npm: https://www.npmjs.com/package/rollup-plugin-monkey
关于本项目的博文链接,以及 B 站视频演示;
「言说」写了份有点「大」的代码_杂七杂八_沉冰浮水:
「折腾」使用 rollup.js 模块化编写 GM 脚本_电脑网络_沉冰浮水:
「小代码」rollup.js 开发「GM_脚本」演示_哔哩哔哩_bilibili:
@require 引入的函数库无法在开发模式下访问;cpnm i 安装依赖;「pnpm 目前还有点问题?」src/__info.js定义,以字符串形式;「这是和其他同类工具最大的不同」
gm_name常量建议修改为和文件夹名一样;npm run devnpm run buildnpm run clearsrc/main.js和src/_base.js用于实际「GM_脚本」功能编写,可自行修改或增加文件;src/__info.js和src/_base.js;rollup.config.mjs内定义:
gm_file: `${gm_name}.user.js`, → gm_file: `dist/${gm_name}.user.js`,PROJECT_SCRIPT=script_demo
# 下载初始模板
wget https://github.com/wdssmq/rollup-plugin-monkey/releases/latest/download/script_def.tar.gz
tar -xzvf script_def.tar.gz
mv script_def ${PROJECT_SCRIPT}
cd ${PROJECT_SCRIPT}
cnpm i
# 修改 src/__info.js 内常量定义
# 运行
npm run dev

Edge 插件:Disable Content-Security-Policy
| lisonge/vite-plugin-monkey | https://github.com/lisonge/vite-plugin-monkey |
| pearofducks/rollup-plugin-dev | https://github.com/pearofducks/rollup-plugin-dev |
| thgh/rollup-plugin-livereload | https://github.com/thgh/rollup-plugin-livereload |
FAQs
rollup plugin for GM_Script
The npm package rollup-plugin-monkey receives a total of 8 weekly downloads. As such, rollup-plugin-monkey popularity was classified as not popular.
We found that rollup-plugin-monkey demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
An open letter signed by 50 companies, from NVIDIA and Microsoft to Mistral and Hugging Face, urges Washington not to restrict open weight AI.

Security News
/Research
A fake corepack.org site is impersonating the Node.js tool and delivers an infostealer and proxyware to developers who download it.

Research
/Security News
A large-scale campaign abused GitHub Actions in compromised repositories to exploit CVE-2026-41940 in cPanel and WHM and steal server credentials.