cosmic-cat-yt / Cosmic-Cat

An UserScript that aims to restore YouTube's 2012 layout.
The Unlicense
29 stars 7 forks source link

Stuff got even worse now that videos could not even load properly 😭 #22

Open wnzf opened 5 months ago

wnzf commented 5 months ago

Type

Player

Page URL

https://www.youtube.com/watch

Branch

main

Version

0.7.1

A brief description

I just wanted to watch a video and it does not loads for some reason 😭

Screenshots or videos

https://streamable.com/or9s9p

Console output

userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:6507 Storage.init storage has init. VM135:366

   GET https://raw.githubusercontent.com/cosmic-cat-yt/cosmic-cat-i18n/main/version.json 404 (Not Found)

apply @ VM135:366 apply @ VM135:366 (anonymous) @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:7372 Promise.then (async) (anonymous) @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:7322 (anonymous) @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:7472 Rt @ VM152:9 (anonymous) @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:1 window.fltnoc28s.kn @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:1 Rt @ VM152:9 o @ VM152:80 (anonymous) @ VM152:81 set @ VM152:89 (anonymous) @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:1 Yo @ content.js:58 Zo @ content.js:59 (anonymous) @ content.js:56 (anonymous) @ content.js:65 Lt @ content.js:8 t @ content.js:9 g @ content.js:65 Rt @ VM152:9 p @ VM152:76 u @ VM152:78 (anonymous) @ VM152:78 eo @ VM152:17 send @ VM152:78 (anonymous) @ VM152:81 m @ VM152:77 Lt @ content.js:8 m @ content.js:65 u @ content.js:67 (anonymous) @ content.js:67 Sn @ content.js:15 send @ content.js:67 w @ content.js:56 Ko @ content.js:58 (anonymous) @ content.js:57 Lt @ content.js:8 t @ content.js:9 Go @ content.js:52 ss @ content.js:61 (anonymous) @ content.js:77 (anonymous) @ content.js:15 Lt @ content.js:8 t @ content.js:9 (anonymous) @ content.js:15 (anonymous) @ content.js:74 Show 26 more frames Show less watch:87 Access to fetch at 'https://accounts.google.com/ServiceLogin?uilel=3&passive=true&continue=https%3A%2F%2Fwww.youtube.com%2Fsignin%3Faction_handle_signin%3Dtrue%26app%3Ddesktop%26hl%3Den-GB%26next%3Dhttps%253A%252F%252Fwww.youtube.com%252FgetAccountSwitcherEndpoint%26feature%3Dredirect_login&hl=en-GB' (redirected from 'https://www.youtube.com/getAccountSwitcherEndpoint') from origin 'https://www.youtube.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled. VM135:366

   GET https://accounts.google.com/ServiceLogin?uilel=3&passive=true&continue=https%3A%2F%2Fwww.youtube.com%2Fsignin%3Faction_handle_signin%3Dtrue%26app%3Ddesktop%26hl%3Den-GB%26next%3Dhttps%253A%252F%252Fwww.youtube.com%252FgetAccountSwitcherEndpoint%26feature%3Dredirect_login&hl=en-GB net::ERR_FAILED 302 (Found)

apply @ VM135:366 apply @ VM135:366 checkLogin @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:489 (anonymous) @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:7069 (anonymous) @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:7472 Rt @ VM152:9 (anonymous) @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:1 window.fltnoc28s.kn @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:1 Rt @ VM152:9 o @ VM152:80 (anonymous) @ VM152:81 set @ VM152:89 (anonymous) @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:1 Yo @ content.js:58 Zo @ content.js:59 (anonymous) @ content.js:56 (anonymous) @ content.js:65 Lt @ content.js:8 t @ content.js:9 g @ content.js:65 Rt @ VM152:9 p @ VM152:76 u @ VM152:78 (anonymous) @ VM152:78 eo @ VM152:17 send @ VM152:78 (anonymous) @ VM152:81 m @ VM152:77 Lt @ content.js:8 m @ content.js:65 u @ content.js:67 (anonymous) @ content.js:67 Sn @ content.js:15 send @ content.js:67 w @ content.js:56 Ko @ content.js:58 (anonymous) @ content.js:57 Lt @ content.js:8 t @ content.js:9 Go @ content.js:52 ss @ content.js:61 (anonymous) @ content.js:77 (anonymous) @ content.js:15 Lt @ content.js:8 t @ content.js:9 (anonymous) @ content.js:15 (anonymous) @ content.js:74 Show 26 more frames Show less userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:496 TypeError: Failed to fetch at Object.apply (:366:42) at Object.apply (:366:42) at Object.checkLogin (userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:489:13) at userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:7069:28 at Proxy. (userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:7472:3) at Rt (:9:89) at userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:1:87 at window.fltnoc28s.kn (userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:1:501) at Rt (:9:89) at o (:80:114) (anonymous) @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:496 Promise.catch (async) checkLogin @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:496 (anonymous) @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:7069 (anonymous) @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:7472 Rt @ VM152:9 (anonymous) @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:1 window.fltnoc28s.kn @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:1 Rt @ VM152:9 o @ VM152:80 (anonymous) @ VM152:81 set @ VM152:89 (anonymous) @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:1 Yo @ content.js:58 Zo @ content.js:59 (anonymous) @ content.js:56 (anonymous) @ content.js:65 Lt @ content.js:8 t @ content.js:9 g @ content.js:65 Rt @ VM152:9 p @ VM152:76 u @ VM152:78 (anonymous) @ VM152:78 eo @ VM152:17 send @ VM152:78 (anonymous) @ VM152:81 m @ VM152:77 Lt @ content.js:8 m @ content.js:65 u @ content.js:67 (anonymous) @ content.js:67 Sn @ content.js:15 send @ content.js:67 w @ content.js:56 Ko @ content.js:58 (anonymous) @ content.js:57 Lt @ content.js:8 t @ content.js:9 Go @ content.js:52 ss @ content.js:61 (anonymous) @ content.js:77 (anonymous) @ content.js:15 Lt @ content.js:8 t @ content.js:9 (anonymous) @ content.js:15 (anonymous) @ content.js:74 Show 26 more frames Show less userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:7377 SyntaxError: Unexpected non-whitespace character after JSON at position 3 (line 1 column 4) (anonymous) @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:7377 Promise.catch (async) (anonymous) @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:7377 Promise.then (async) (anonymous) @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:7322 (anonymous) @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:7472 Rt @ VM152:9 (anonymous) @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:1 window.fltnoc28s.kn @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:1 Rt @ VM152:9 o @ VM152:80 (anonymous) @ VM152:81 set @ VM152:89 (anonymous) @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:1 Yo @ content.js:58 Zo @ content.js:59 (anonymous) @ content.js:56 (anonymous) @ content.js:65 Lt @ content.js:8 t @ content.js:9 g @ content.js:65 Rt @ VM152:9 p @ VM152:76 u @ VM152:78 (anonymous) @ VM152:78 eo @ VM152:17 send @ VM152:78 (anonymous) @ VM152:81 m @ VM152:77 Lt @ content.js:8 m @ content.js:65 u @ content.js:67 (anonymous) @ content.js:67 Sn @ content.js:15 send @ content.js:67 w @ content.js:56 Ko @ content.js:58 (anonymous) @ content.js:57 Lt @ content.js:8 t @ content.js:9 Go @ content.js:52 ss @ content.js:61 (anonymous) @ content.js:77 (anonymous) @ content.js:15 Lt @ content.js:8 t @ content.js:9 (anonymous) @ content.js:15 (anonymous) @ content.js:74 Show 26 more frames Show less ryd.content-script.js:910 initializing selectors ryd.content-script.js:918 {buttons: {…}, dislikeTextContainer: Array(4), likeTextContainer: Array(4), menuContainer: Array(1), roundedDesign: Array(2)} watch:1 Access to fetch at 'https://accounts.google.com/ServiceLogin?uilel=3&passive=true&continue=https%3A%2F%2Fwww.youtube.com%2Fsignin%3Faction_handle_signin%3Dtrue%26app%3Ddesktop%26hl%3Den-GB%26next%3Dhttps%253A%252F%252Fwww.youtube.com%252FgetAccountSwitcherEndpoint%26feature%3Dredirect_login&hl=en-GB' (redirected from 'https://www.youtube.com/getAccountSwitcherEndpoint') from origin 'https://www.youtube.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled. VM135:366

   GET https://accounts.google.com/ServiceLogin?uilel=3&passive=true&continue=https%3A%2F%2Fwww.youtube.com%2Fsignin%3Faction_handle_signin%3Dtrue%26app%3Ddesktop%26hl%3Den-GB%26next%3Dhttps%253A%252F%252Fwww.youtube.com%252FgetAccountSwitcherEndpoint%26feature%3Dredirect_login&hl=en-GB net::ERR_FAILED 302 (Found)

apply @ VM135:366 apply @ VM135:366 fetch @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:462 (anonymous) @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:7381 Rt @ VM152:9 t. @ VM152:66 Rt @ VM152:9 r @ VM152:24 (anonymous) @ VM152:25 (anonymous) @ VM152:76 m @ VM152:76 Lt @ content.js:8 m @ content.js:65 s @ content.js:66 setTimeout (async) setTimeout @ content.js:48 processMessage @ content.js:51 (anonymous) @ content.js:73 g @ content.js:66 Rt @ VM152:9 p @ VM152:76 u @ VM152:78 (anonymous) @ VM152:78 eo @ VM152:17 send @ VM152:78 No @ VM152:25 Ho @ VM152:25 Rt @ VM152:9 a @ VM152:66 value @ VM152:71 (anonymous) @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:7379 Promise.then (async) (anonymous) @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:7322 (anonymous) @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:7472 Rt @ VM152:9 (anonymous) @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:1 window.fltnoc28s.kn @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:1 Rt @ VM152:9 o @ VM152:80 (anonymous) @ VM152:81 set @ VM152:89 (anonymous) @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:1 Yo @ content.js:58 Zo @ content.js:59 (anonymous) @ content.js:56 (anonymous) @ content.js:65 Lt @ content.js:8 t @ content.js:9 g @ content.js:65 Rt @ VM152:9 p @ VM152:76 u @ VM152:78 (anonymous) @ VM152:78 eo @ VM152:17 send @ VM152:78 (anonymous) @ VM152:81 m @ VM152:77 Lt @ content.js:8 m @ content.js:65 u @ content.js:67 (anonymous) @ content.js:67 Sn @ content.js:15 send @ content.js:67 w @ content.js:56 Ko @ content.js:58 (anonymous) @ content.js:57 Lt @ content.js:8 t @ content.js:9 Go @ content.js:52 ss @ content.js:61 (anonymous) @ content.js:77 (anonymous) @ content.js:15 Lt @ content.js:8 t @ content.js:9 (anonymous) @ content.js:15 (anonymous) @ content.js:74 Show 33 more frames Show less userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:464 [Accounts] Failed to fetch account data: TypeError: Failed to fetch at Object.apply (:366:42) at Object.apply (:366:42) at Object.fetch (userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:462:36) at Proxy. (userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:7381:46) at Rt (:9:89) at t. (:66:214) at Rt (:9:89) at r (:24:484) at :25:112 at :76:476 (anonymous) @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:464 Promise.catch (async) fetch @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:464 (anonymous) @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:7381 Rt @ VM152:9 t. @ VM152:66 Rt @ VM152:9 r @ VM152:24 (anonymous) @ VM152:25 (anonymous) @ VM152:76 m @ VM152:76 Lt @ content.js:8 m @ content.js:65 s @ content.js:66 setTimeout (async) setTimeout @ content.js:48 processMessage @ content.js:51 (anonymous) @ content.js:73 g @ content.js:66 Rt @ VM152:9 p @ VM152:76 u @ VM152:78 (anonymous) @ VM152:78 eo @ VM152:17 send @ VM152:78 No @ VM152:25 Ho @ VM152:25 Rt @ VM152:9 a @ VM152:66 value @ VM152:71 (anonymous) @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:7379 Promise.then (async) (anonymous) @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:7322 (anonymous) @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:7472 Rt @ VM152:9 (anonymous) @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:1 window.fltnoc28s.kn @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:1 Rt @ VM152:9 o @ VM152:80 (anonymous) @ VM152:81 set @ VM152:89 (anonymous) @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:1 Yo @ content.js:58 Zo @ content.js:59 (anonymous) @ content.js:56 (anonymous) @ content.js:65 Lt @ content.js:8 t @ content.js:9 g @ content.js:65 Rt @ VM152:9 p @ VM152:76 u @ VM152:78 (anonymous) @ VM152:78 eo @ VM152:17 send @ VM152:78 (anonymous) @ VM152:81 m @ VM152:77 Lt @ content.js:8 m @ content.js:65 u @ content.js:67 (anonymous) @ content.js:67 Sn @ content.js:15 send @ content.js:67 w @ content.js:56 Ko @ content.js:58 (anonymous) @ content.js:57 Lt @ content.js:8 t @ content.js:9 Go @ content.js:52 ss @ content.js:61 (anonymous) @ content.js:77 (anonymous) @ content.js:15 Lt @ content.js:8 t @ content.js:9 (anonymous) @ content.js:15 (anonymous) @ content.js:74 Show 33 more frames Show less userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:3676 {primary: {…}, secondary: {…}, alternative: {…}} userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:6822 908 'ms' VM135:366

   POST https://www.youtube.com/youtubei/v1/player?key=AIzaSyAO_FJ2SlqU8Q4STEHLGCilw_Y9_11qcW8&prettyPrint=false 400 (Bad Request)

apply @ VM135:366 apply @ VM135:366 post @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:524 getPlayerData @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:5594 grabPlayerData @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:5614 vorapisPlayer @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:6498 (anonymous) @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:6790 e @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:329 t @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:329 Rt @ VM152:9 t. @ VM152:66 Rt @ VM152:9 r @ VM152:24 (anonymous) @ VM152:25 (anonymous) @ VM152:76 m @ VM152:76 Lt @ content.js:8 m @ content.js:65 s @ content.js:66 setTimeout (async) setTimeout @ content.js:48 processMessage @ content.js:51 (anonymous) @ content.js:73 g @ content.js:66 Rt @ VM152:9 p @ VM152:76 u @ VM152:78 (anonymous) @ VM152:78 eo @ VM152:17 send @ VM152:78 No @ VM152:25 Ho @ VM152:25 Rt @ VM152:9 a @ VM152:66 value @ VM152:71 (anonymous) @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:329 c @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:329 add @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:329 (anonymous) @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:329 Deferred @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:329 then @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:329 S.fn.ready @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:329 watch @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:6700 (anonymous) @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:7441 Promise.then (async) (anonymous) @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:7439 (anonymous) @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:7472 Rt @ VM152:9 (anonymous) @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:1 window.fltnoc28s.kn @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:1 Rt @ VM152:9 o @ VM152:80 (anonymous) @ VM152:81 set @ VM152:89 (anonymous) @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:1 Yo @ content.js:58 Zo @ content.js:59 (anonymous) @ content.js:56 (anonymous) @ content.js:65 Lt @ content.js:8 t @ content.js:9 g @ content.js:65 Rt @ VM152:9 p @ VM152:76 u @ VM152:78 (anonymous) @ VM152:78 eo @ VM152:17 send @ VM152:78 (anonymous) @ VM152:81 m @ VM152:77 Lt @ content.js:8 m @ content.js:65 u @ content.js:67 (anonymous) @ content.js:67 Sn @ content.js:15 send @ content.js:67 w @ content.js:56 Ko @ content.js:58 (anonymous) @ content.js:57 Lt @ content.js:8 t @ content.js:9 Go @ content.js:52 ss @ content.js:61 (anonymous) @ content.js:77 (anonymous) @ content.js:15 Lt @ content.js:8 t @ content.js:9 (anonymous) @ content.js:15 (anonymous) @ content.js:74 Show 33 more frames Show less userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:5635 [Vorapis Player] Player API response: {error: {…}} userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:6067 No fmt TypeError: Cannot read properties of undefined (reading 'adaptiveFormats') at craftVideoStreams (userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:6065:68) at userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:5646:17 at async grabPlayerData (userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:5614:15) craftVideoStreams @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:6067 (anonymous) @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:5646 Promise.then (async) grabPlayerData @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:5614 vorapisPlayer @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:6498 (anonymous) @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:6790 e @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:329 t @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:329 Rt @ VM152:9 t. @ VM152:66 Rt @ VM152:9 r @ VM152:24 (anonymous) @ VM152:25 (anonymous) @ VM152:76 m @ VM152:76 Lt @ content.js:8 m @ content.js:65 s @ content.js:66 setTimeout (async) setTimeout @ content.js:48 processMessage @ content.js:51 (anonymous) @ content.js:73 g @ content.js:66 Rt @ VM152:9 p @ VM152:76 u @ VM152:78 (anonymous) @ VM152:78 eo @ VM152:17 send @ VM152:78 No @ VM152:25 Ho @ VM152:25 Rt @ VM152:9 a @ VM152:66 value @ VM152:71 (anonymous) @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:329 c @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:329 add @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:329 (anonymous) @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:329 Deferred @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:329 then @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:329 S.fn.ready @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:329 watch @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:6700 (anonymous) @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:7441 Promise.then (async) (anonymous) @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:7439 (anonymous) @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:7472 Rt @ VM152:9 (anonymous) @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:1 window.fltnoc28s.kn @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:1 Rt @ VM152:9 o @ VM152:80 (anonymous) @ VM152:81 set @ VM152:89 (anonymous) @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:1 Yo @ content.js:58 Zo @ content.js:59 (anonymous) @ content.js:56 (anonymous) @ content.js:65 Lt @ content.js:8 t @ content.js:9 g @ content.js:65 Rt @ VM152:9 p @ VM152:76 u @ VM152:78 (anonymous) @ VM152:78 eo @ VM152:17 send @ VM152:78 (anonymous) @ VM152:81 m @ VM152:77 Lt @ content.js:8 m @ content.js:65 u @ content.js:67 (anonymous) @ content.js:67 Sn @ content.js:15 send @ content.js:67 w @ content.js:56 Ko @ content.js:58 (anonymous) @ content.js:57 Lt @ content.js:8 t @ content.js:9 Go @ content.js:52 ss @ content.js:61 (anonymous) @ content.js:77 (anonymous) @ content.js:15 Lt @ content.js:8 t @ content.js:9 (anonymous) @ content.js:15 (anonymous) @ content.js:74 Show 33 more frames Show less userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:6240 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'author') at craftVarYtPlayer (userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:6240:60) at userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:6218:17 craftVarYtPlayer @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:6240 (anonymous) @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:6218 Promise.then (async) craftVideoStreams @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:6116 (anonymous) @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:5646 Promise.then (async) grabPlayerData @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:5614 vorapisPlayer @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:6498 (anonymous) @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:6790 e @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:329 t @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:329 Rt @ VM152:9 t. @ VM152:66 Rt @ VM152:9 r @ VM152:24 (anonymous) @ VM152:25 (anonymous) @ VM152:76 m @ VM152:76 Lt @ content.js:8 m @ content.js:65 s @ content.js:66 setTimeout (async) setTimeout @ content.js:48 processMessage @ content.js:51 (anonymous) @ content.js:73 g @ content.js:66 Rt @ VM152:9 p @ VM152:76 u @ VM152:78 (anonymous) @ VM152:78 eo @ VM152:17 send @ VM152:78 No @ VM152:25 Ho @ VM152:25 Rt @ VM152:9 a @ VM152:66 value @ VM152:71 (anonymous) @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:329 c @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:329 add @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:329 (anonymous) @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:329 Deferred @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:329 then @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:329 S.fn.ready @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:329 watch @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:6700 (anonymous) @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:7441 Promise.then (async) (anonymous) @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:7439 (anonymous) @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:7472 Rt @ VM152:9 (anonymous) @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:1 window.fltnoc28s.kn @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:1 Rt @ VM152:9 o @ VM152:80 (anonymous) @ VM152:81 set @ VM152:89 (anonymous) @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:1 Yo @ content.js:58 Zo @ content.js:59 (anonymous) @ content.js:56 (anonymous) @ content.js:65 Lt @ content.js:8 t @ content.js:9 g @ content.js:65 Rt @ VM152:9 p @ VM152:76 u @ VM152:78 (anonymous) @ VM152:78 eo @ VM152:17 send @ VM152:78 (anonymous) @ VM152:81 m @ VM152:77 Lt @ content.js:8 m @ content.js:65 u @ content.js:67 (anonymous) @ content.js:67 Sn @ content.js:15 send @ content.js:67 w @ content.js:56 Ko @ content.js:58 (anonymous) @ content.js:57 Lt @ content.js:8 t @ content.js:9 Go @ content.js:52 ss @ content.js:61 (anonymous) @ content.js:77 (anonymous) @ content.js:15 Lt @ content.js:8 t @ content.js:9 (anonymous) @ content.js:15 (anonymous) @ content.js:74 Show 33 more frames Show less userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:4555 [Comments] Couldn't check if user is logged in or out: Error: TypeError: Cannot read properties of undefined (reading 'buttonRenderer') at Object.init (userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:4547:31) init @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:4555 await in init (async) (anonymous) @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:6778 e @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:329 t @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:329 Rt @ VM152:9 t. @ VM152:66 Rt @ VM152:9 r @ VM152:24 (anonymous) @ VM152:25 (anonymous) @ VM152:76 m @ VM152:76 Lt @ content.js:8 m @ content.js:65 s @ content.js:66 setTimeout (async) setTimeout @ content.js:48 processMessage @ content.js:51 (anonymous) @ content.js:73 g @ content.js:66 Rt @ VM152:9 p @ VM152:76 u @ VM152:78 (anonymous) @ VM152:78 eo @ VM152:17 send @ VM152:78 No @ VM152:25 Ho @ VM152:25 Rt @ VM152:9 a @ VM152:66 value @ VM152:71 (anonymous) @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:329 c @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:329 add @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:329 (anonymous) @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:329 Deferred @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:329 then @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:329 S.fn.ready @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:329 watch @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:6700 (anonymous) @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:7441 Promise.then (async) (anonymous) @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:7439 (anonymous) @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:7472 Rt @ VM152:9 (anonymous) @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:1 window.fltnoc28s.kn @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:1 Rt @ VM152:9 o @ VM152:80 (anonymous) @ VM152:81 set @ VM152:89 (anonymous) @ userscript.html?name=Cosmic-Cat.user.js&id=1a04f932-77ee-48c9-9e4e-60ab546788b5:1 Yo @ content.js:58 Zo @ content.js:59 (anonymous) @ content.js:56 (anonymous) @ content.js:65 Lt @ content.js:8 t @ content.js:9 g @ content.js:65 Rt @ VM152:9 p @ VM152:76 u @ VM152:78 (anonymous) @ VM152:78 eo @ VM152:17 send @ VM152:78 (anonymous) @ VM152:81 m @ VM152:77 Lt @ content.js:8 m @ content.js:65 u @ content.js:67 (anonymous) @ content.js:67 Sn @ content.js:15 send @ content.js:67 w @ content.js:56 Ko @ content.js:58 (anonymous) @ content.js:57 Lt @ content.js:8 t @ content.js:9 Go @ content.js:52 ss @ content.js:61 (anonymous) @ content.js:77 (anonymous) @ content.js:15 Lt @ content.js:8 t @ content.js:9 (anonymous) @ content.js:15 (anonymous) @ content.js:74 Show 33 more frames Show less 5The resource was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate as value and it is preloaded intentionally.

HAYDENCRAFT2008 commented 5 months ago

RIP Cosmic Cat, use Customtube, look for a 2012 frontend (there isn't one at the time of me typing this), or give up and use V3 or Redux

wnzf commented 5 months ago

i do not rlly like customtube bc it overheats my laptop and stuff is not accurate :/

na0miluv commented 5 months ago

There is another project that it's in development right now just called V3. It aims for 2013 YT instead of 2012 though and so far you can only get them from their Discord. I've tested it and it's the next best thing. RIP Cosmic Cat =,n,=7

JoveyMcJupi commented 5 months ago

There is another project that it's in development right now just called V3. It aims for 2013 YT instead of 2012 though and so far you can only get them from their Discord. I've tested it and it's the next best thing. RIP Cosmic Cat =,n,=7

Couldn't really find anything about V3, mainly because of the name itself being so vague. How do we go around finding their Discord server?

na0miluv commented 5 months ago

Couldn't really find anything about V3, mainly because of the name itself being so vague. How do we go around finding their Discord server?

Sorry for the late reply, there is an invite in the Rehike github page. They're not by the same dev, but both aim for a similar thing by different approaches.

JoveyMcJupi commented 5 months ago

Couldn't really find anything about V3, mainly because of the name itself being so vague. How do we go around finding their Discord server?

Sorry for the late reply, there is an invite in the Rehike github page. They're not by the same dev, but both aim for a similar thing by different approaches.

Thank you!! Appreciate it!

JoveyMcJupi commented 5 months ago

Also, for anyone else having this issue still, here's a band-aid solution till it's fixed:

First of all, to feed the data to videoCon, change line 3116 from:

${document.cosmicCat.Template.Watch.Content.videoCon()}

To:

${document.cosmicCat.Template.Watch.Content.videoCon(data)}

Afterwards, we add an iFrame and the data into the empty player area by changing this section at line 3203 from:

                videoCon: () => {
                    return `<div id="watch-video-container">
<div id="watch-video">
<div id="watch-player" class="flash-player player-root wm-videoplayer">
</div>
</div>
</div>`;

To:

                videoCon: (data) => {
                    return `<div id="watch-video-container">
<div id="watch-video">
<div id="watch-player" style="background-color: red;" class="flash-player player-root wm-videoplayer">
<iframe width="100%" height="100%"
src="https://www.youtube.com/embed/${data.alternative.id}?autoplay=1&modestbranding=1">
</iframe>
</div>
</div>
</div>`;

And then lastly, in order to change the look of the embedded YouTube player we just added to make it look more like the default player, we add this piece of code to line 7135:

function delay() {
    setTimeout(function() {
        var titleHTML = window.frames[0].document.getElementsByClassName("ytp-title-link")[0];
        var shareHTML = window.frames[0].document.getElementsByClassName("ytp-button ytp-share-button")[0];
        var buttonHTML = window.frames[0].document.getElementsByClassName("ytp-youtube-button ytp-button")[0];
        var topHTML = window.frames[0].document.getElementsByClassName("ytp-chrome-top ytp-show-cards-title")[0];
        titleHTML.remove();
        shareHTML.remove();
        buttonHTML.remove();
        topHTML.remove();
    }, 1000);
}

if (document.readyState == 'complete') {
    delay();
} else {
    document.onreadystatechange = function () {
        if (document.readyState === "complete") {
            delay();
        }
    }
}

After all that, you should have a proper player within the page again! It's quite a janky band-aid solution but it's better than nothing I believe.

Don't forget to use PlayerTube as well!