mirror of
https://github.com/bytedream/stream-bypass.git
synced 2025-12-16 08:40:44 +01:00
Make mv3 compatible
This commit is contained in:
5
src/entries/background/shared.ts
Normal file
5
src/entries/background/shared.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
chrome.runtime.onMessage.addListener(async (message) => {
|
||||
if (message.action == 'ff2mpv') {
|
||||
await chrome.runtime.sendNativeMessage('ff2mpv', { url: message.url });
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user