Answer the question
In order to leave comments, you need to log in
How to track on YouTube through js whether a person has put like, dislike and nothing at all?
What's the question ?
I have an extension, I want to track through javascript whether a person likes, dislikes or nothing at all on a video, in general, somehow track whether he somehow rated the video.
I was told in the last question that it is possible like this.
if(document.querySelector('.ytd-subscribe-button-renderer').textContent === 'Вы подписаны'){
console.log('Подписан');
}
document.querySelector('.ytd-toggle-button-renderer').textContent;
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question