Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make PureJS Edition #46

Open
FoxRefire opened this issue Aug 5, 2024 · 2 comments
Open

Make PureJS Edition #46

FoxRefire opened this issue Aug 5, 2024 · 2 comments
Labels
enhancement New feature or request needs-triage P3

Comments

@FoxRefire
Copy link
Owner

FoxRefire commented Aug 5, 2024

With protobuf.js, it is possible to parse the Protocol Buffer using only Javascript, which means that WVG functionality may be implemented without relying on libraries in other languages such as Pywidevine or WVCore.

Once this is accomplished, dependencies can be greatly reduced and extensions can be lightweight.

Also, unlike other shitty jobs, this one is beneficial to me because it leads to my own learning.

Here is my test project using protobuf.js:
https://github.com/FoxRefire/eme-fingerprinting/tree/main

@FoxRefire FoxRefire added enhancement New feature or request P3 needs-triage labels Aug 5, 2024
@FoxRefire FoxRefire pinned this issue Aug 5, 2024
@FoxRefire FoxRefire changed the title Make pure JS Edition Make PureJS+MV3 Edition Aug 6, 2024
@FoxRefire
Copy link
Owner Author

FoxRefire commented Aug 6, 2024

It would also be great if I could replace webrequests with declarativeNetRequests to support ManifestV3.
In addition, redundant expressions can be avoided by eliminating the use of EME logging to acquire Init data(PSSH) and parsing the challenge as a Protocol Buffer and acquiring it directly.

@FoxRefire FoxRefire changed the title Make PureJS+MV3 Edition Make PureJS Edition Sep 1, 2024
@FoxRefire
Copy link
Owner Author

FoxRefire commented Sep 1, 2024

It would also be great if I could replace webrequests with declarativeNetRequests to support ManifestV3.

It impossible due to API limitation.
declarativeNetRequests doesn't have feature of intercepting requests, sucks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs-triage P3
Projects
None yet
Development

No branches or pull requests

1 participant