mirror of
https://github.com/DevLARLEY/WidevineProxy2.git
synced 2026-04-27 06:25:56 +03:00
[GH-ISSUE #16] Extension breaks some websites due to "ReferenceError: MediaKeyMessageEvent is not defined" #15
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/WidevineProxy2#15
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @fireattack on GitHub (Dec 24, 2024).
Original GitHub issue: https://github.com/DevLARLEY/WidevineProxy2/issues/16
After installing this extension, I noticed that the "TP-LINK ID" page in my router's admin console became non-functional, even when this WebExt is not "enabled" in the dropdown setting menu.
Normal:
Broken:
Upon inspecting the console, I found multiple uncaught errors originating from
content_script.js, such as:This seems to interfere with the router's admin Web UI's built-in JavaScript code, likely causing the page to break.
@DevLARLEY commented on GitHub (Dec 24, 2024):
Issues like these are pretty much bound to happen and it's not possible to find a cause or even fix it
@fireattack commented on GitHub (Dec 25, 2024):
I'm thinking of a simple fix, e.g. just checking if MediaKeyMessageEvent
classinterface is defined first.what do you think? Please see the PR. It works for me.
@DevLARLEY commented on GitHub (Dec 25, 2024):
Hm, I expected the listener itself to collide with the TP-LINK panel.
I'll do some testing of your fix before accepting it