Youtube - Restore Classic

If youtube is in the new 2017 YouTube Material Redesign, automatically restore classic view

< Youtube - Restore Classic 피드백

질문/댓글

D L
§
작성: 2018-08-17

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";

Cptmathix개발자
§
작성: 2018-08-17
수정: 2018-08-17

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

D L
§
작성: 2018-08-17

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

댓글 남기기

댓글을 남기려면 로그인하세요.