commit | 476a2a6bd62445fa2c717cd566e8f8e31099bd26 | [log] [tgz] |
---|---|---|
author | avm99963 <me@avm99963.com> | Sun Feb 07 00:40:02 2021 +0100 |
committer | avm99963 <me@avm99963.com> | Sun Feb 07 00:40:02 2021 +0100 |
tree | 2b01ac7bfe1e828800cd598ad9cb7e34839361ad | |
parent | 873bf6ff16f43ee913697221ede1c050bec5f347 [diff] [blame] |
Remove shortcuts and adapt extension to activeTab permission
diff --git a/src/js/page.js b/src/js/page.js index 9ca2463..5fe494d 100644 --- a/src/js/page.js +++ b/src/js/page.js
@@ -847,10 +847,11 @@ /** * Remove an element */ - init: function() { + init: function() { if (document.body.hasAttribute('screen_capture_injected')) { return; } + document.body.setAttribute('screen_capture_injected', true); if (isPageCapturable()) { chrome.extension.sendMessage({msg: 'page_capturable'}); } else {