This repository has been archived by the owner on Dec 4, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# jsInjector | ||
##### v0.1 alpha | ||
![Platforms](https://img.shields.io/badge/platform-Safari-lightgrey.svg) ![License](https://img.shields.io/badge/license-MIT-blue.svg) | ||
|
||
jsInjector is a Safari extension that allows users to inject arbitrary JS into specific web pages.\ | ||
The rules can be set up through a control panel and are based on URLs. | ||
|
||
<p align="center"> | ||
<img alt="Example" src="https://i.imgur.com/vGLLRLC.png" width="auto" height="600"> | ||
<br/> | ||
(bad) example usage | ||
</p> | ||
|
||
--- | ||
## Installation | ||
x | ||
|
||
--- | ||
## Setup for development | ||
The control panel is built with ReactJS and npm is required for the development. | ||
|
||
In order to **install** all of the necessary dependencies run: | ||
```bash | ||
cd ./jsinjector-rules | ||
npm install | ||
``` | ||
|
||
To **debug** run: | ||
```bash | ||
npm run start | ||
``` | ||
|
||
To **build** for production run: | ||
```bash | ||
npm run build | ||
``` | ||
which will generate the necessary files for the control panel into the `./build` folder. |