diff options
Diffstat (limited to 'ext/bg/js/permissions-main.js')
-rw-r--r-- | ext/bg/js/permissions-main.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ext/bg/js/permissions-main.js b/ext/bg/js/permissions-main.js index a464f40e..b1c0430e 100644 --- a/ext/bg/js/permissions-main.js +++ b/ext/bg/js/permissions-main.js @@ -16,6 +16,7 @@ */ /* global + * DocumentFocusController * api */ @@ -52,7 +53,9 @@ async function setPermissionsGranted(permissions, shouldHave) { (async () => { try { - document.querySelector('#content-scroll-focus').focus(); + const documentFocusController = new DocumentFocusController(); + documentFocusController.prepare(); + document.querySelector('#extension-id-example').textContent = chrome.runtime.getURL('/'); api.forwardLogsToBackend(); |