HatScripts
2017-10-08T06:15:13Z

Automatically likes videos of channels you're subscribed to

YouTube Auto-Liker

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 | ------------------ | -------------------------------- | ------------ | -------------------------------- | ----------- | | Link (Beta) | - | Link (Beta) | | | Link | Link | Link | | | Link (Beta) | - | Link | | | Link | - | - | Link | | Link | - | - |

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

GitHub (Recommended)

Greasy Fork

OpenUserJS

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