create project

This commit is contained in:
Nebel 2023-10-30 14:16:48 +09:00
parent 48e7ec02f7
commit 51646cc5f9
Signed by: nebel
GPG key ID: 79807D08C6EF6460
5 changed files with 29 additions and 0 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
dist

7
Makefile Normal file
View 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
View file

@ -0,0 +1,7 @@
# Piped Redirection
YouTube から piped.video にリダイレクトする拡張機能
## License
MIT

3
src/content.js Normal file
View file

@ -0,0 +1,3 @@
"use strict";
location.hostname = "piped.video";

11
src/manifest.json Normal file
View 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"]
}
]
}