Initial commit

This commit is contained in:
L. Bradley LaBoon 2022-03-13 01:18:42 -05:00
commit 513d10a41b
3 changed files with 20 additions and 0 deletions

1
disable_shorts.js Normal file
View File

@ -0,0 +1 @@
location.href = "https://www.youtube.com/watch?v=" + location.pathname.split("/")[2];

19
manifest.json Normal file
View File

@ -0,0 +1,19 @@
{
"manifest_version": 2,
"name": "YouTube Shorts Disabler",
"author": "L. Bradley LaBoon",
"description": "Redirects YouTube shorts to regular videos",
"version": "1.0",
"icons": {
"16": "ysd.png",
"48": "ysd.png",
"128": "ysd.png"
},
"content_scripts": [{
"matches": ["https://www.youtube.com/shorts/*"],
"js": ["disable_shorts.js"]
}]
}

BIN
ysd.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB