Witchcraft: JS/CSS injector
Item logo image for Witchcraft: JS/CSS injector

Witchcraft: JS/CSS injector


10 ratings

Item media 1 screenshot


Witchcraft loads custom Javascript and CSS directly from a folder in your file system. Think GreaseMonkey for developers.

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.

4.6 out of 510 ratings

Google doesn't verify reviews. Learn more about results and reviews.

Review's profile picture

MattMay 23, 2022

I had trouble setting it up. I followed the instructions as best I could and then reached out to the developer with a descriptive inquiry, inclusive of images. No response. Nonetheless, I can't knock the app too much because of my technical limitations. If I could get it to work it would be significantly better than tampermonkey.

1 person found this review to be helpful
Review's profile picture

Jason McElwaineAug 1, 2021

I can't believe I was using Tampermonkey for so long as this is clearly better by a longshot.

1 person found this review to be helpful
Review's profile picture

E HMar 1, 2020

Love this one!


  • Version
  • Updated
    March 10, 2020
  • Size
  • Languages
  • Developer
  • Non-trader
    This developer has not identified itself as a trader. For consumers in the European Union, please note that consumer rights do not apply to contracts between you and this developer.


The developer has not provided any information about the collection or usage of your data.


For help with questions, suggestions, or problems, visit the developer's support site

Google apps