/jsWebHacks

PogChamp

Primary LanguageTypeScript

jsWebHacks

Usage

  1. Download and install Custom JavaScript for Websites 2
  2. Navigate to website you wish to run script on
  3. Open installed extension
  4. Paste the contents of updater.js into the extension
  5. Modify const script = ''; by using correct script filename (all available scripts are in /scripts folder)

Optionally, if you do not want to use autoupdater, you can copy and paste the script directly.

Prerequisites

Contribution

  1. Install dependencies:

    npm install
    
  2. Run webserver:

    npm run dev
    
  3. Turn on DEV mode by setting MONAR_JS_WEB_HACK_DEV in localStorage

    localStorage.setItem('MONAR_JS_WEB_HACK_DEV','true')
    

Build

After finishing your changes, don't forget to build the files

npm run build:prod