create project
This commit is contained in:
parent
48e7ec02f7
commit
51646cc5f9
5 changed files with 29 additions and 0 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
dist
|
7
Makefile
Normal file
7
Makefile
Normal file
|
@ -0,0 +1,7 @@
|
|||
.PHONY: build
|
||||
build: dist/web-ext.zip
|
||||
|
||||
dist/web-ext.zip:
|
||||
mkdir -p "$(dir $@)"
|
||||
cd src \
|
||||
; zip -r "$(abspath $@)" .
|
7
README.md
Normal file
7
README.md
Normal file
|
@ -0,0 +1,7 @@
|
|||
# Piped Redirection
|
||||
|
||||
YouTube から piped.video にリダイレクトする拡張機能
|
||||
|
||||
## License
|
||||
|
||||
MIT
|
3
src/content.js
Normal file
3
src/content.js
Normal file
|
@ -0,0 +1,3 @@
|
|||
"use strict";
|
||||
|
||||
location.hostname = "piped.video";
|
11
src/manifest.json
Normal file
11
src/manifest.json
Normal file
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"manifest_version": 3,
|
||||
"name": "Piped Redirection",
|
||||
"version": "0.0.0",
|
||||
"content_scripts": [
|
||||
{
|
||||
"matches": ["https://www.youtube.com/*"],
|
||||
"js": ["content.js"]
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Add table
Reference in a new issue