Skip to content

Kawaizombi/kawai-scripts

Repository files navigation

Kawai user scripts

Awesome user scripts for your browser

List

Name Description Install url
Hover zoom Show image preview on link hover Install
AnimeSpirit ost downloader Adds bulk download for www.animespirit.ru/ost and www.animespirit.su/ost Install
Youtube blocker Adds the ability to block youtube videos from specific channels and users Install
Get Qr code Generates QR code for page Install
SoundCloud downloader Adds the ability to download any track or playlist from soundcloud.com Install

Note: If you don't have browser plugin to run user scripts install one listed bellow

Browser Install url
Firefox Violentmonkey or Tampermonkey
Chrome Violentmonkey or Tampermonkey
Edge Violentmonkey or Tampermonkey
Safari Tampermonkey

Development

Setup
npm i
npx lerna bootstrap
npx lerna run build
Build user script

Run command in terminal npm run build:<project-name> for example:

npm run build:hover-zoom
Develop user script

Run command in terminal npm run dev:<project-name> for example:

npm run dev:hover-zoom

then open dist folder and copy contents of proxy script(<project-name>.dev.proxy.user.js) into your your script manager or drag and drop proxy script into browser

Also you can switch proxy to user file:// protocol with env variable for example:

# Linux/Mac
export FILE_PROTOCOL=1

# Windows
set FILE_PROTOCOL=1