首页 开发者工具 Witchcraft: Inject JS and CSS

Witchcraft: Inject JS and CSS

用户数 : 1000 分类 : 开发者工具 扩展大小 : 26.5KiB 最后更新时间 : 2020-03-10 版本 : 2.6.1
                            Think Greasemonkey for more advanced users.

Witchcraft is a Google Chrome extension for loading custom Javascript and CSS directly from a folder in your file system, injecting them into pages that match their files names.

It works by matching every page domain against script file names available in the scripts folder. For instance, if one navigates to `https://www.google.com`, Witchcraft will try to load and run `google.com.js` and `google.com.css`.

Witchcraft also tries all domain levels. For instance, if one accesses `https://gist.github.com`, it will try to load, in this order: `com.js`, `github.com.js` and `gist.github.com.js`... and the same for CSS. All domain levels for which a script is found will be loaded, not just the first one.

Whenever you edit or create new scripts, there's no need to reload anything other than the page where the scripts are supposed to run. This is what makes Witchcraft special and different than other popular scripting tools, like Greasemonkey or Tampermonkey.

Since Witchcraft runs as a Chrome extension, it is also cross-platform. It has been tested on Windows, MacOS and Linux.

Features:

* scripts are automatically updated after you edit them - no need to reload anything;
* works on Windows, Mac and Linux;
* handles both JS and CSS;
* @include directive to load other JS files from inside your domain scripts.

Check the website to learn where to store your scripts once the extension is installed.
                        
查看更多
下载 如何离线安装? Chrome store

分享

全部评论

    展开更多评论

    错误提示保存失败
    成功提示保存成功
    close
    qr-code

    为打击盗链困扰,本站已启用公众号验证
    微信扫码关注上方公众号,回复“插件”二字获得验证码,验证码5分钟内全站有效。

    正在验证
    验证成功
    下载遇到问题?请添加QQ群:398095333
    close
    qr-code

    为打击盗链困扰,本站已启用公众号验证
    微信扫码关注上方公众号,回复“脚本”二字获得验证码,验证码5分钟内全站有效。

    正在验证
    验证成功