Initial commit
This commit is contained in:
commit
513d10a41b
1
disable_shorts.js
Normal file
1
disable_shorts.js
Normal file
@ -0,0 +1 @@
|
||||
location.href = "https://www.youtube.com/watch?v=" + location.pathname.split("/")[2];
|
19
manifest.json
Normal file
19
manifest.json
Normal 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"]
|
||||
}]
|
||||
}
|
Loading…
Reference in New Issue
Block a user