mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-11 18:41:47 +00:00
use session.webRequest.onBeforeSendHeaders for useragent
This commit is contained in:
@ -98,7 +98,7 @@ function moveVolumeHud(showVideo) {
|
||||
|
||||
function observeThumbnail() {
|
||||
const playbackModeObserver = new MutationObserver(mutations => {
|
||||
if (!$('#player').videoMode_) return;
|
||||
if (!player.videoMode_) return;
|
||||
|
||||
mutations.forEach(mutation => {
|
||||
if (!mutation.target.src.startsWith('data:')) return;
|
||||
|
||||
Reference in New Issue
Block a user