mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-10 05:27:03 +03:00
@@ -71,9 +71,7 @@ window.addEventListener("message", async (e): Promise<void> => {
|
|||||||
if (e.source !== window.parent) return;
|
if (e.source !== window.parent) return;
|
||||||
if (e.origin.endsWith('.youtube.com')) {
|
if (e.origin.endsWith('.youtube.com')) {
|
||||||
allowPopup = true;
|
allowPopup = true;
|
||||||
return
|
|
||||||
}
|
}
|
||||||
else return;
|
|
||||||
});
|
});
|
||||||
|
|
||||||
//make this a function to allow this to run on the content page
|
//make this a function to allow this to run on the content page
|
||||||
|
|||||||
Reference in New Issue
Block a user