你正在訪問的內容是外部程式的映像位址,僅用於使用者加速訪問,本站無法保證其可靠性。當前的連結位址(單點即可複製)為 https://greasyfork.org.cn/zh-CN/scripts/34818-youtube-restore-classic/discussions/21339,源站連結 點此以跳轉。
If youtube is in the new 2017 YouTube Material Redesign, automatically restore classic view
< 脚本 Youtube - Restore Classic 的反馈
It's not exactly an error more like a warning that I can simplify to: document.cookie = "PREF=" + cookie + "&f6=8;path=/;domain=.youtube.com"; which has one less concatenation and will probably be like 0.00001s faster :P
I've fixed the warnings in 1.0.9
well like i said i know nothing about coding it just popped up on the tamper-monkey debug feature. i am a computer tech but the idea of coding hurts my brain
i dont code but i was looking at it on tampermonkey and line 72 has an error
error is unexpected string concatenation of literals
document.cookie = "PREF=" + cookie + "&f6=8" + ";path=/;domain=.youtube.com";