Dynamically register media overlay content script

This commit is contained in:
hensm
2020-01-14 03:30:40 +00:00
parent 09543f5b2a
commit 6f433d8614
3 changed files with 44 additions and 1 deletions

View File

@@ -9,6 +9,7 @@ const _ = browser.i18n.getMessage;
const req = new XMLHttpRequest();
req.open("GET", browser.runtime.getURL(
"senders/media/overlay/overlayContent.js"), false);
req.send();
if (req.status === 200) {