1
0
Fork 0
 
 
 
Go to file
TPD94 20719bd2c6 Bump version 2024-06-17 20:11:33 -04:00
.idea CDRM Fork 2024-05-31 09:03:41 -04:00
.gitattributes Initial commit 2024-04-09 08:46:15 +09:00
.gitignore Added NosTV 2024-06-17 20:06:55 -04:00
CONTRIBUTION.md CDRM Fork 2024-05-31 09:03:41 -04:00
LICENSE Initial commit 2024-04-09 08:46:15 +09:00
README.md CDRM Fork 2024-05-31 09:03:41 -04:00
background.js Added auto MPD support 2024-05-31 09:49:24 -04:00
background.png CDRM Fork 2024-05-31 09:03:41 -04:00
blockRules.conf Added NosTV 2024-06-17 20:06:55 -04:00
content.js Attempt for corsFetch 2024-05-13 04:28:48 +09:00
extension_download.txt CDRM Fork 2024-05-31 09:03:41 -04:00
extension_url.txt CDRM Fork 2024-05-31 09:03:41 -04:00
icon.png Initial commit 2024-04-09 08:46:15 +09:00
inject.js Clearkey support 2024-05-08 04:43:06 +09:00
jsonview.js Record the history of key acquisition 2024-04-25 03:37:31 +09:00
manifest.json CDRM Fork 2024-05-31 09:03:41 -04:00
popup.html Added NosTV 2024-06-17 20:06:55 -04:00
popup.js Version 1.14 2024-06-06 13:54:47 -04:00
popup_drawList.js [Refactor] Move some snippets 2024-04-25 03:41:58 +09:00
popup_showHistory.js Version 1.14 2024-06-06 13:54:47 -04:00
popup_updateNotice.js Bump version 2024-06-17 20:11:33 -04:00
selectRules.conf Added NosTV 2024-06-17 20:06:55 -04:00
style.css Version 1.14 2024-06-06 13:54:47 -04:00

README.md

WVGuesserExtension-NextGen

Extension works standalone.

Not anymore need WVCore.Server API setup!

Looking for legacy version?: https://github.com/FoxRefire/wvg/tree/legacy

Instalation

  1. Download or clone this code

  2. At the same directory of manifest.json(root directory of this extension), put the one of the following Android L3 CDM file(s).

    • Supported CDM Types

      1. device.wvd

      2. device_client_id_blob + device_private_key

      3. client_id.bin + private_key.pem

  3. Install extension

    • Firefox

      1. Navigate to about:debugging#/runtime/this-firefox

      2. Load temporary addon

    • Chrome

      1. Navigate to chrome://extensions/

      2. Load unpacked

    • Kiwi Browser(Android)

      1. Navigate to ︙ --> Extensions

      2. +(from .zip/.crx/.user.js)

Demo

Screencast_20240505_014046.webm

Todo

  • Improve UI
  • Localization
  • Cache pyodide to make guessing process faster

For contributors, see here: https://github.com/FoxRefire/wvg/blob/next/CONTRIBUTION.md

Disclaimer

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?

image

  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 calls pywidevine script using pyodide in browser

Third-party libraries

Big Thanks and inspired by

https://github.com/emarsden/pssh-box-wasm/