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

Latest Version

Version
2.6.1
Update
March 10, 2020
Size
27.24KiB
Developer
luciopaiva.com
Category
Users
1,000+
Rating
4.6 ★
Manifest Version
2
Web Store Status
Languages Support
English
See more
Permissions
See more

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

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

How to download and manually install Witchcraft: JS/CSS injector extension for Chrome

Looking for a way to install Witchcraft: JS/CSS injector extensions for Chrome, you can search for them in the Chrome Web Store, clicking the "Add to Chrome" button, and following the straightforward process.

However, you may need to install Witchcraft: JS/CSS injector extensions manually, this article outlines two simple methods to effortlessly install Witchcraft: JS/CSS injector extensions, whether they come as unpacked folders in compressed formats like .zip or as .crx files.

Method 1: Download Witchcraft: JS/CSS injector extension and manually install through Drag &Drop

If you ever need to manually install a Witchcraft: JS/CSS injector extension for Chrome, don't worry, it's a simple process. Just follow these easy steps, and you will have your extension ready to use in no time.

Step 1: Download the Witchcraft: JS/CSS injector Extension by clicking the "Download CRX" button on the website.

Look for the Witchcraft: JS/CSS injector extension you wish to install. Go to the website and download the Witchcraft: JS/CSS injector extension package, which is usually a .CRX file and comes in a zipped file. Here ".crx" file is the format for Witchcraft: JS/CSS injector extension that contains all the data.

Step 2: Extract &Arrange Files

Once the file is downloaded, extract that file into its own folder. Similarly, give that extension files a permanent home. In other words, keep it in a folder that you don't accidentally delete it because these files will be needed to make that extension work.

Step 3: Go to the Chrome Extensions Page

Open Google Chrome and in the address bar, type chrome://extensions; it will open the Google Chrome extensions page. Make sure that "My extensions" is selected in the sidebar.

Step 4: Drag and Drop the Extension

Now, go to the folder where you extracted the Witchcraft: JS/CSS injector extension and drag &drop the extension file from there anywhere onto the extension page within Google Chrome.

Step 5: Complete the Installation

Once you drag and drop the extension file, follow the steps that Google Chrome takes you through. Similarly, if the extension file is of .crx file format, you will be required to review the permissions and then add the extension.

Now, you can manage that added extension as you would like to with any other Chrome extension that you added through Chrome Webstore. Its icon will also appear in the Google Chrome Menu on the right side of the address bar once you activate it.

Method 2: Download Witchcraft: JS/CSS injector extension for Chrome and install in Developer Mode

This is another method to install Witchcraft: JS/CSS injector extension manually, but the twist is that here, you install by enabling the developer mode option provided in Google Chrome. This mode is commonly used for testing extensions or running unpublished tools.

Step 1: Download the Witchcraft: JS/CSS injector extension file

Select and download the Witchcraft: JS/CSS injector extension by clicking the 'Download CRX' button on the website.

Step 2: Extract the downloaded contents

Convert the file to a ZIP file if it is in CRX format then extract the Witchcraft: JS/CSS injector extension zip file or folder that you downloaded. Make sure you extract it using the same folder name and keep it safely in another folder, so you don't delete it by mistake. The extracted folder will be needed to keep your Witchcraft: JS/CSS injector extension running.

Step 3: Open Chrome Extension Setting Page

In the address bar of Google Chrome, type chrome://extensions and open the Chrome Extension Page.

Step 4: Enable Developer Mode

After opening the Chrome Extension page, look at the top right side, and you will find the toggle option of "Developer mode."Simply enable that developer mode option.

Step 5: Load the Unpacked Extension

Once you enable the developer mode option, you will see the menu of Load Unpacked, Pack Extensions and Update. From that, select the option "Load unpacked."

Step 6: Select the Extension Folder

Once the pop-up opens upon clicking Load unpacked, select the Witchcraft: JS/CSS injector extension directory and click on the "Select Folder "button.

Step 7: Confirm and Install

After you select an extension folder of a Google Chrome extension you're installing manually, confirm its installation for the final time and let the installation complete.

Conclusion

Here we've made a step-by-step guide on How to manually install Witchcraft: JS/CSS injector extension in 2 ways. We hope this guide proves helpful.

Similar Extensions

icon

User JavaScript and CSS Extension · Developer Tools 1,000+ 564 ★ 1.62MiB

icon

JS-Exec Extension · Productivity 1,000+ 3 ★ 1.83MiB

icon

Web Code Injector Extension · Developer Tools 1,000+ 5 ★ 2.36MiB

icon

Javascript Injector Extension · Developer Tools 1,000+ 9 ★ 59.53KiB

icon

InjectCode Extension · Developer Tools 1,000+ 26 ★ 215KiB

icon

JS Inject Extension · Developer Tools 1,000+ 0 ★ 551KiB

icon

Page Mod Loader Extension · Developer Tools 1,000+ 6 ★ 3.09MiB

icon

Live Custom CSS,JS injector on pages Extension · Developer Tools 1,000+ 35 ★ 140KiB

icon

Javascript & Css auto injection Extension · Developer Tools 1,000+ 14 ★ 899KiB

icon

Web Injector Extension · Developer Tools 1,000+ 8 ★ 152KiB

icon

Super CSS Inject Extension · Developer Tools 1,000+ 11 ★ 124KiB

icon

Kode Injector Extension · Developer Tools 1,000+ 0 ★ 3.96MiB

icon

Scripty - Javascript Injector Extension · Productivity 1,000+ 69 ★ 22.85KiB

icon

Dev Helpers Extension · Developer Tools 1,000+ 6 ★ 135KiB

icon

ABC JS-CSS Injector Extension · Developer Tools 1,000+ 5 ★ 1.83MiB

icon

JavaScript Injector Extension · Developer Tools 1,000+ 33 ★ 397KiB

icon

JScript tricks Extension · Developer Tools 1,000+ 50 ★ 340KiB

icon

Custom JavaScript for Websites 2 Extension · Developer Tools 1,000+ 129 ★ 588KiB

icon

Code Injector Extension · Developer Tools 1,000+ 10 ★ 110KiB

icon

Inject Code Extension · Developer Tools 1,000+ 10 ★ 4.7MiB

icon

Console Injector Extension · Developer Tools 1,000+ 12 ★ 20.4KiB

icon

Inject Code Extension · Developer Tools 1,000+ 7 ★ 2.96MiB

icon

LiveScriptConsole Extension · Developer Tools 1,000+ 2 ★ 388KiB

icon

Injector Extension · Developer Tools 1,000+ 24 ★ 1.53MiB

User reviews

icon

Matt (ID: 000000937723ee22) Voted 4 ★ - Updated 05/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.

icon

Jason McElwaine (ID: 0000002bbf69df8b) Voted 5 ★ - Updated 08/01/2021 I can't believe I was using Tampermonkey for so long as this is clearly better by a longshot.

icon

E H (ID: 000000592e413614) Voted 5 ★ - Updated 03/01/2020 Love this one!

icon

Robbin Schmidt (ID: 000000364b365a9b) Voted 5 ★ - Updated 01/24/2020 Great for customizing webpages!

icon

Yegor “estevez” Vialov (ID: 00000024f4bafdb9) Voted 2 ★ - Updated 09/02/2019 Not working in Chrome OS