Initial commit
This commit is contained in:
15
pages/content-runtime/README.md
Normal file
15
pages/content-runtime/README.md
Normal file
@@ -0,0 +1,15 @@
|
||||
# Content Runtime Script
|
||||
|
||||
This tool allows users to inject scripts (Console and UI) during runtime into all pages specified by you.
|
||||
|
||||
### Add New Script
|
||||
|
||||
1. Copy `matches/example` folder and paste it with other name and edit content.
|
||||
2. Define somewhere(e.g in `popup`(You have declared it as default)):
|
||||
|
||||
```ts
|
||||
await chrome.scripting.executeScript({
|
||||
...,
|
||||
files: ['/content-runtime/{matches_folder_name}.iife.js'],
|
||||
})
|
||||
```
|
||||
Reference in New Issue
Block a user