Skip to content

Commit

Permalink
Fix info popup not show
Browse files Browse the repository at this point in the history
  • Loading branch information
hanydd committed Jan 17, 2024
1 parent 5da53e0 commit 0b22fc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/popup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ class MessageHandler {
let allowPopup = window === window.top;
window.addEventListener("message", async (e): Promise<void> => {
if (e.source !== window.parent) return;
if (e.origin.endsWith('.youtube.com')) {
if (e.origin.endsWith('.bilibili.com')) {
allowPopup = true;

if (e.data && e.data?.type === "style") {
Expand Down

0 comments on commit 0b22fc4

Please sign in to comment.