Greasy Fork is available in English.

YouTube Links

Download YouTube videos. Video formats are listed at the top of the watch page. Video links are tagged so that they can be downloaded easily.

< YouTube Links 피드백

리뷰: 나쁨 - 동작하지 않음

JCV
§
작성: 2020-06-07

I am getting 189 Errors on Tampermonkey on Google Chrome

Any ideas why so many?

nhyone개발자
§
작성: 2020-06-08

Hi, does it go away if you refresh the page?

This should happen just once when the script is updated.

nhyone개발자
§
작성: 2020-08-04
수정: 2020-08-04

Okay, so you are talking about Developer > Run Syntax Check instead of actual script errors.

On a casual glance, over 95% are due to braceless 'if'. Not everyone believes that braces should be mandatory for 'if', 'for', 'while', etc.

There are some var redeclarations. They are harmless, but should be removed if one is pedantic.

There are also some warnings for accessing variables declared in an outer function. I'm surprised by this.

If you hover over the !, it explains the warning.

It is a good idea to lint JavaScript code, but we should not follow preset lint rules blindly. Always tune it to fit your coding style.

댓글 남기기

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