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.

返信を投稿

返信を投稿するにはログインしてください。