Giter Site home page Giter Site logo

ryanjbach / witchcraft Goto Github PK

View Code? Open in Web Editor NEW

This project forked from luciopaiva/witchcraft

0.0 0.0 0.0 4.09 MB

Inject Javascript and CSS right from your file system. Think GreaseMonkey for more advanced users.

Home Page: https://luciopaiva.com/witchcraft

License: MIT License

JavaScript 93.46% CSS 3.98% HTML 2.57%

witchcraft's Introduction

Witchcraft

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 www.google.com, Witchcraft will try to load and run google.com.js and google.com.css.

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

Development

Node.js is required, but just to run tests. I also use nvm to manage Node.js versions, but that's not required (just make sure your Node.js version is similar to the one .nvmrc currently points to). To install test dependencies:

cd <project-folder>
nvm install
npm install

Then you're ready to run tests:

npm test

Credits

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.

witchcraft's People

Contributors

luciopaiva avatar dependabot[bot] avatar ehershey avatar shihshen avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.