Skip to content

Commit b30da70

Browse files
authored
Create Youtube shorts to v.user.js
1 parent 97ba65f commit b30da70

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

Youtube shorts to v.user.js

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
// ==UserScript==
2+
// @name Youtube shorts to v
3+
// @namespace http://tampermonkey.net/
4+
// @version 0.1
5+
// @description Redirect to video view of shorts
6+
// @author You
7+
// @match https://www.youtube.com/shorts/*
8+
// @icon https://www.google.com/s2/favicons?sz=64&domain=youtube.com
9+
// @grant none
10+
// ==/UserScript==
11+
12+
(function() {
13+
'use strict';
14+
15+
window.location.href = window.location.href.replace('shorts', 'v')
16+
})();

0 commit comments

Comments
 (0)