extension ExtPose

Witchcraft: JS/CSS injector

CRX id


Description from extension meta

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

Image from store Witchcraft: JS/CSS injector
Description from store 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.

Latest reviews

  • (2022-05-23) Matt: 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.
  • (2021-08-01) Jason McElwaine: I can't believe I was using Tampermonkey for so long as this is clearly better by a longshot.
  • (2021-06-01) Alvaro Vasconcelos: obrigadoooooooooooooooooo
  • (2020-07-30) Brendan Luchen: Five stars just for trying, even if it's DoA, much respect to Lucio. A worthy successor to defunkt/dotjs Now if only it had a Firefox port...
  • (2020-03-01) E H: Love this one!
  • (2020-01-24) Robbin Schmidt: Great for customizing webpages!
  • (2019-09-02) Yegor “estevez” Vialov: Not working in Chrome OS
  • (2019-05-02) Jeff Suddaby: Many thanks Lucio! This Witchcraft Chrome Extension lets me give a visually-impaired friend fine-grained control over how each of her favourite web pages displays in her desktop browser – including the ability to: 1) Completely eliminate unwanted page sections and elements – thus maximizing her useful screen space. 2) Increase font sizes on selected elements... WITHOUT having to ctrl+/ zoom the entire page – (and all its associated chaff) – thus eliminating her need to keep scrolling side-to-side in order to view each and every line of the (non-wrapping) zoomed text. 3) Color-code hard-to-see control icons ( e.g. green=’Reply’; red=’Delete’ ). 4) Modify all the above as her hardware config changes. 5) And more...! (amongst other things, Witchcraft’s < //@include > js functionality gives access to the jQuery (and associated) libraries… helpful for easy overrides of the browser’s r-click context menu, etc. Very easy to use! Anyway, thanks again Lucio. Your work's really making a difference in my friend's life! :)
  • (2018-08-30) Marcel Portma: Found this the other day, awesome way of applying JS/CSS to your things! After a feature request it now has globals aswell ! yay !


1,861 history
4.6 (10 votes)
Last update / version
2020-03-10 / 2.6.1
Listing languages