Open Toxblh opened 2 years ago
looks like it possible
function getChannelIdFromObject() {
// This will parse the window object 'ytInitialPlayerResponse'
let raw_data = window.ytInitialPlayerResponse;
if (raw_data.videoDetails) {
return raw_data.videoDetails.channelId;
}
return null;
}
console.log(getChannelIdFromObject());
Does this mean the extension would remember playback speed per channel? That's what I'd like - some video creators talk very slowly.