Witchcraft loads custom Javascript and CSS directly from a folder in your file system. Think GreaseMonkey for developers.
Witchcraft: JS/CSS injector Extension
Think Greasemonkey for developers.
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/CSS files from inside your domain scripts.
* custom server addresses (even remote ones)
Please check the website if you want to learn more.
Read more
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/CSS files from inside your domain scripts.
* custom server addresses (even remote ones)
Please check the website if you want to learn more.
Source Manifest.json
{"update_url": "https://clients2.google.com/service/update2/crx", "name": "Witchcraft: JS/CSS injector", "short_name": "Witchcraft", "manifest_version": 2, "version": "2.6.1", "description": "Witchcraft loads custom Javascript and CSS directly from a folder in your file system. Think GreaseMonkey for developers.", "icons": { "16": "witch-16.png", "24": "witch-24.png", "32": "witch-32.png", "64": "witch-64.png", "128": "witch-128.png" }, "browser_action": { "default_icon": { "16": "witch-16.png", "24": "witch-24.png", "32": "witch-32.png", "64": "witch-64.png", "128": "witch-128.png" }, "default_title": "Witchcraft", "default_popup": "popup.html" }, "content_scripts": [{ "all_frames": true, "run_at": "document_start", "matches": ["http://*/*", "https://*/*"], "js": ["content-script.js"] }], "background": { "page": "background.html", "persistent": false }, "content_security_policy": "script-src 'self' https://www.google-analytics.com; object-src 'self'"}
Read more