mirror of
https://github.com/bytedream/stream-bypass.git
synced 2025-12-15 16:40:43 +01:00
add ff2mpv setting + new hosters (#14)
* add Kwik, use unpacker to improve reliabilty
* use packer for filemoon
* use packer for upstream
* add ff2mpv setting + functionality
* Update README.md
* get rid of @types/webextension-polyfill
* Revert "Update README.md"
This reverts commit affb600096.
* Update README.md
* Update info link for ff2mpv
* add kwik to hosters in readme
* removes console.logs
* Delete package-lock.json
* add package-lock.json to .gitignore
* unpack without using eval
* Merge main branch into here
* Add Dropload Hoster
* Add Supervideo Hoster
* Add GoodStream Hoster
* Add hosters to readme and delete console.logs
* Delete package-lock.json
* Fix ff2mpv info url
* Update readme
---------
Co-authored-by: bytedream <bytedream@protonmail.com>
This commit is contained in:
@@ -2,6 +2,12 @@ import {getMatch} from "./match/match";
|
||||
import {storageDelete, storageGet, storageSet} from "./store/store";
|
||||
import {Match} from "./match/matches";
|
||||
|
||||
chrome.runtime.onMessage.addListener((message, sender) => {
|
||||
if (message.action == "ff2mpv") {
|
||||
chrome.runtime.sendNativeMessage("ff2mpv", {url: message.url})
|
||||
.catch((error) => {console.error(error)})
|
||||
}
|
||||
})
|
||||
|
||||
chrome.webRequest.onBeforeRedirect.addListener(async details => {
|
||||
// check if redirects origins from a previous redirect
|
||||
|
||||
Reference in New Issue
Block a user