项目作者: HatScripts

项目描述 :
A userscript that automatically likes 👍 each video you watch on YouTube ▶️
高级语言: JavaScript
项目地址: git://github.com/HatScripts/youtube-auto-liker.git
创建时间: 2017-06-10T03:14:18Z
项目社区:https://github.com/HatScripts/youtube-auto-liker

开源协议:

下载


" class="reference-link">YouTube Auto-Liker YouTube Auto-Liker logo

This userscript automatically likes videos of channels you’re subscribed to on YouTube, after you’ve watched at least half of the video.

Download

  1. This is a userscript. To use it you’ll first need one of the following browser extensions:

    | | Tampermonkey | Greasemonkey | Violentmonkey | Userscripts
    | ————————— | ———————————————— | —————— | ———————————————— | —————-
    | Chrome | Link (Beta) | - | Link (Beta) |
    | Firefox | Link | Link | Link |
    | Edge | Link (Beta) | - | Link |
    | Safari | Link | - | - | Link
    | Opera | Link | - | - |

  1. Then install this script from one of the following links:

Settings

You can configure the settings by clicking the ‘Settings’ button under ‘YouTube Auto-Liker’ in your userscript manager.

Setting Description Default
Debug mode Log debug messages to the console off
Check frequency How often to attempt liking the video 5000 ms
Watch threshold The percentage of the video watched before liking 50%
Like if not subscribed Like videos from channels you are not subscribed to off

TODO

  • Add settings:
    • Retries - How many times to retry liking upon failure.
    • Whitelisted channels - A list of channels to always like the videos of, even if you are not subscribed to them.
    • Blacklisted channels - A list of channels to never like the videos of, even if you are subscribed to them.

Acknowledgements

  • The userscript itself was inspired by this one by JoeSimmons, which hasn’t worked since 2015
  • The debugger code was adapted from this Stack Overflow answer by arctelix
  • The settings interface uses GM_config by sizzlemctwizzle