YouTube Auto Liker
v1.13.0 · updated 2026-05-12 · by HatScripts · 412,300 installs
Automatically likes videos from channels you are subscribed to, with a configurable delay and a toggle button in the player.
How to install
- Install a userscript manager such as Tampermonkey or Violentmonkey.
- Click "Install script", or paste the copied install URL into the manager.
- Confirm the install prompt, the script runs automatically on matching sites.
Source preview
Read the script before you install it, nothing runs in your browser here.
1// ==UserScript==2// @name YouTube Auto Liker3// @namespace https://hatscripts.com/4// @version 1.13.05// @description Automatically likes videos from channels you are subscribed to, with a configurable delay and a toggle button in the player.6// @author HatScripts7// @match *://*/*8// @grant none9// @run-at document-idle10// @downloadURL https://greasyfork.org/scripts/1word-youtube-auto-liker/code/script.user.js11// @supportURL https://github.com/HatScripts/youtube-auto-liker12// ==/UserScript==1314'use strict';1516const CONFIG = { likeDelayMs: 8000, subscribedOnly: true };1718function isSubscribed() {19 const btn = document.querySelector('#subscribe-button button');20 return !!btn && /subscribed/i.test(btn.textContent || '');21}2223function likeVideo() {24 const like = document.querySelector('button[aria-label*="like this video" i]');25 if (!like || like.getAttribute('aria-pressed') === 'true') return;26 if (CONFIG.subscribedOnly && !isSubscribed()) return;27 like.click();28 console.info('[auto-liker] liked', location.href);29}3031window.addEventListener('yt-navigate-finish', () => {32 setTimeout(likeVideo, CONFIG.likeDelayMs);33});My install activity
No activity yet on this device. Copying the install URL or opening the source will show up here.
Changelog
v1.13.0
2026-05-12- Respect the new player DOM after YouTube's layout update
- Add a configurable like delay slider
v1.12.0
2026-02-12- Skip videos already liked in the current session
- Fix toggle button losing state on SPA navigation
v1.11.0
2025-09-12- Initial support for YouTube Music
Compare versions
−Initial support for YouTube Music
+Respect the new player DOM after YouTube's layout update
+Add a configurable like delay slider
2025-09-12 → 2026-05-12
My data
Favorites and install history live only on this device. Export them as JSON, or import a previous backup.
Related scripts
YouTube Shorts Redirect
Rewrites every /shorts/ URL to the normal watch page so Shorts open in the standard player with speed and quality controls.
Copy As Markdown
Adds a keyboard shortcut that copies the current page title and URL as a formatted Markdown link.
Auto Expand Comments
Clicks through "show more replies" buttons on Reddit, YouTube and Hacker News until the whole thread is visible.