I am opening discord.com/channels/@me in an iframe in the Backgroundpage of my Extension. Now i want to mute all sound within the BGPage/iframe.
I tried to inject a Script into the iframe and mute all audio/video Tags everytime the MutationObserver found something didnt work(muted = true | volume = 0 | pause()). For some Reason there is no audio/video Tag on the Site and i cant see any in the MutationObserver.
Then i tried to mute the Page via chrome.tabs, but it cant find the BGPage since its not a Tab.
This question is redundant as manifest V3 will take over soon and it doesnt support background pages anymore.