From c7c65d69e6db6c2bd66ae07d1ab7bd8b5db36278 Mon Sep 17 00:00:00 2001 From: FoxRefire <155989196+FoxRefire@users.noreply.github.com> Date: Fri, 12 Apr 2024 02:06:46 +0900 Subject: [PATCH 1/2] Update README.md --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index 4d6ac65..d72933a 100644 --- a/README.md +++ b/README.md @@ -39,3 +39,14 @@ This extension is for educational and researchment purpose. Only use it for content for which you own the rights and do not use it for piracy purposes. + +### How it works? + +![diagram drawio](https://github.com/FoxRefire/wvg/assets/155989196/d1196125-ab07-4f5a-baed-c60d8c47bceb) +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 From 36e79e55b0b52a9ff30bb74fa8f3dbb52a6782bf Mon Sep 17 00:00:00 2001 From: FoxRefire <155989196+FoxRefire@users.noreply.github.com> Date: Fri, 12 Apr 2024 02:07:41 +0900 Subject: [PATCH 2/2] Update README.md --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index d72933a..0e5f382 100644 --- a/README.md +++ b/README.md @@ -8,21 +8,21 @@ * Firefox - 1. Navigate to `about:debugging#/runtime/this-firefox` + 1\. Navigate to `about:debugging#/runtime/this-firefox` - 2. Load temporary addon + 2\. Load temporary addon * Chrome - 1. Navigate to `chrome://extensions/` + 1\. Navigate to `chrome://extensions/` - 2. Load unpacked + 2\. Load unpacked * Kiwi Browser(Android) NOTE:Remote API needed; Not work with Termux for now - 1. Navigate to ︙ --> Extensions + 1\. Navigate to ︙ --> Extensions - 2. \+(from .zip/.crx/.user.js) + 2\. \+(from .zip/.crx/.user.js) ### Demo [demo.webm](https://github.com/FoxRefire/wvg/assets/155989196/f2f41e88-1fc5-4954-89d4-3dc4552258e2)