forked from tpd94/CDRM-Extension
CDRM Extension
An extension to show keys from DRM protected content, which are used to decrypt content.
Notes
Keep these extension core files inside src
:
background.js
content.js
inject.js
manifest.json
The mv2
folder is for Manifest v2 backup for legacy reasons.
Frontend React source stays in frontend
.
The build process will take care of everything into extension-release
.
To update the version across the entire project, simply change the version number in the root package.json
. The build script will handle version sync automatically to both the extension's version and the frontend's title bar.
Build instructions
Prerequisites
- Node.js v21 or higher. Download Node.js here.
How to build by yourself
-
Open terminal at the project root
-
Run the build script:
npm run buildext
This will:
- Sync the version number from the root
package.json
tosrc/manifest.json
andfrontend/package.json
- Install frontend dependencies if needed
- Build the React frontend
- Clean and prepare the
extension-release
folder - Copy extension files in
src
, built frontend assets, and icons intoextension-release
How to load the extension in Google Chrome or Chromium browsers
- Go to
chrome://extensions/
- Enable Developer mode
- Click Load unpacked and select the
extension-release
folder - Verify the extension is working by clicking its icon or opening the developer console (F12) to check for any logs or errors.
Description
Edge/Firefox/Chrome extension to be used in tandem with a instance of CDRM-Project to decrypt Widevine, PlayReady and ClearKey content.
Languages
JavaScript
99.6%
HTML
0.3%