/youtube-auto-liker

A userscript that automatically likes 👍 each video you watch on YouTube ▶️

Primary LanguageJavaScript

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