Closed ACK-J closed 3 years ago
Hi, I can reproduce this problem and it is caused by the code from https://github.com/ACK-J/Port_Authority/pull/6 -
TypeError: can't access property "isListening", bg is null switch.js:12:12
TypeError: can't access property "isNotifying", bg is null notifications.js:8:12
In case I can't find the time to make a pull request: the fix is to not use runtime.getBackgroundPage
at all, but instead use runtime.sendMessage
in the popup and do the background page stuff in a runtime.onMessage
listener in the background page.
Thank @laniakea64, nice find. If you have the time to make a PR that would be appreciated but if not one of these days I will find time to get to it.
Describe the bug When opening a private browsing window with Port Authority the GUI switches don't work but functionality of the addon still works.
To Reproduce Steps to reproduce the behavior:
Expected behavior The GUI to function normally and the switches to work
Screenshots
Desktop (please complete the following information):