Inject Javascript and CSS right from your file system. Think GreaseMonkey for more advanced users.
Branch: master
Clone or download
Latest commit 9daeccb Dec 9, 2018


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, Witchcraft will try to load and run and

For more information on how to install and use it, head to Witchcraft's home page.


Witchcraft is my rendition of defunkt's original extension, dotjs. Although I never got to actually use dotjs (it only worked for MacOS and the installation process was not easy), I really wanted something like that. Thanks, defunkt, for having such a cool idea.

Thanks arimus for the idea of using Web Server for Chrome.

The little witch and the witch hat icons were provided by Freepik.