We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 474adf2 commit 17eabc7Copy full SHA for 17eabc7
ggpht.com/index.js
@@ -0,0 +1,7 @@
1
+const S = /(yt\d+.(?:ggpht|googleusercontent).com.+)s\d+-c/;
2
+
3
+// default size to 4096px
4
+if (!location.href.includes("4096")) {
5
+ const dest = location.href.replace(S, "$1-s4096-c");
6
+ location.href = dest;
7
+}
index.js
@@ -26,6 +26,11 @@ switch (location.host) {
26
case "build.opensuse.org":
27
case "youtube.com":
28
target = domain;
29
+ default: {
30
+ if (/(ggpht|googleusercontent).com$/.test(domain)) {
31
+ target = "ggpht.com";
32
+ }
33
34
}
35
36
0 commit comments