https://github.com/tomer8007/widevine-l3-decryptor
Revision 73aec0bb7d9c45995b20c569880d1330e8bd09e6 authored by Tomer on 23 October 2020, 21:16:54 UTC, committed by GitHub on 23 October 2020, 21:16:54 UTC
1 parent 5350515
Tip revision: 73aec0bb7d9c45995b20c569880d1330e8bd09e6 authored by Tomer on 23 October 2020, 21:16:54 UTC
Fixed a typo
Fixed a typo
Tip revision: 73aec0b
content_script.js
injectScripts();
async function injectScripts()
{
await injectScript('lib/pbf.3.0.5.min.js');
await injectScript('lib/cryptojs-aes_0.2.0.min.js');
await injectScript('protobuf-generated/license_protocol.proto.js');
await injectScript('content_key_decryption.js');
await injectScript('eme_interception.js');
}
function injectScript(scriptName)
{
return new Promise(function(resolve, reject)
{
var s = document.createElement('script');
s.src = chrome.extension.getURL(scriptName);
s.onload = function() {
this.parentNode.removeChild(this);
resolve(true);
};
(document.head||document.documentElement).appendChild(s);
});
}
Computing file changes ...