Merge branch 'next' of https://github.com/FoxRefire/wvg into next

This commit is contained in:
FoxRefire 2024-04-22 20:57:07 +09:00
commit f6011f1ff5

View File

@ -3,9 +3,7 @@ Extension works standalone.
Not anymore need WVCore.Server API setup!
Looking for legacy version?
See here: https://github.com/FoxRefire/wvg/tree/legacy
Looking for legacy version?: https://github.com/FoxRefire/wvg/tree/legacy
### Instalation
@ -25,7 +23,7 @@ See here: https://github.com/FoxRefire/wvg/tree/legacy
2\. Load unpacked
* Kiwi Browser(Android) NOTE:Remote API needed; Not work with Termux for now
* Kiwi Browser(Android)
1\. Navigate to ︙ --> Extensions
@ -47,11 +45,17 @@ Only use it for content for which you own the rights and do not use it for pirac
### How it works?
![diagram drawio](https://github.com/FoxRefire/wvg/assets/155989196/d1196125-ab07-4f5a-baed-c60d8c47bceb)
![image](https://github.com/FoxRefire/wvg/assets/155989196/91a52607-9d24-4072-8c25-c4dc7d062415)
1. inject.js injected by content.js gets Widevine PSSH by hooking EME.
2. background.js fetches POST URLs/Headers
3. PSSHs will passed by this route inject.js-->content.js-->background.js-->popup.js
4. PSSHs+URLs+Headers will passed by this route background.js-->popup.js
5. popup.js will contols UI(popup.html)
6. User input into UI
7. popup.js sends key request to Guesser API
7. popup.js calls pywidevine script using pyodide in browser
### Big Thanks and inspired by
https://github.com/emarsden/pssh-box-wasm/