Skip to content

Commit

Permalink
Add rule for YouTube Shorts > Normal Videos
Browse files Browse the repository at this point in the history
  • Loading branch information
mshibanami committed Aug 30, 2024
1 parent 8762f55 commit ec5c2da
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 0 deletions.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"contributorGitHubIds": [
"mshibanami"
],
"imageFiles": [
"cover.webp"
],
"primaryCategoryId": "arts_and_entertainment",
"secondaryCategoryId": "social_media"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"bundleID": "io.github.mshibanami.RedirectWebForSafari",
"formatVersion": "2",
"kind": "RedirectList",
"redirects": [
{
"comments": "This converts YouTube Shorts into regular videos, allowing them to be played on a less addictive UI with full controls.",
"destinationURLPattern": "https:\/\/$1.youtube.com\/watch?v=$2",
"exampleURLs": [
"https:\/\/www.youtube.com\/shorts\/ontm1vqONVY",
"https:\/\/m.youtube.com\/shorts\/ontm1vqONVY"
],
"kind": "Redirect",
"resourceTypes": [
"main_frame"
],
"sourceURLPattern": {
"type": "regularExpression",
"value": "https:\/\/((?:www)*(?:m)*)\\.youtube\\.com\/shorts\/([^?]+).*"
},
"title": "YouTube: Watch Short Videos as Normal Videos",
"type": "declarativeNetRequestRedirect"
}
]
}

0 comments on commit ec5c2da

Please sign in to comment.