Skip to content

Commit

Permalink
Update like button selector (Fixes #16)
Browse files Browse the repository at this point in the history
  • Loading branch information
HatScripts committed May 22, 2022
1 parent 2d30f43 commit 2ede432
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions youtube-auto-liker.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// @name:zh YouTube自動點讚
// @name:ja YouTubeのような自動
// @namespace https://github.com/HatScripts/youtube-auto-liker
// @version 1.3.6
// @version 1.3.7
// @description Automatically likes videos of channels you're subscribed to
// @description:zh 對您訂閲的頻道視頻自動點讚
// @description:ja 購読しているチャンネルの動画が自動的に好きです
Expand Down Expand Up @@ -95,7 +95,7 @@
const SELECTORS = {
PLAYER: '#movie_player',
SUBSCRIBE_BUTTON: '#subscribe-button > ytd-subscribe-button-renderer > tp-yt-paper-button',
LIKE_BUTTON: 'ytd-video-primary-info-renderer #top-level-buttons-computed > ytd-toggle-button-renderer:nth-child(1)',
LIKE_BUTTON: '#actions #top-level-buttons-computed > ytd-toggle-button-renderer:nth-child(1)',
NOTIFICATION: 'ytd-popup-container'
}
const LIKE_BUTTON_CLICKED_CLASS = 'style-default-active'
Expand Down

0 comments on commit 2ede432

Please sign in to comment.