danny0838 / webscrapbook

A browser extension that captures web pages to local device or backend server for future retrieval, organization, annotation, and edit. This project inherits from legacy Firefox add-on ScrapBook X.
Mozilla Public License 2.0
850 stars 118 forks source link

Firefox extension opens a little window always and takes the focus #359

Open amontero opened 9 months ago

amontero commented 9 months ago

In Firefox extension, the dialog box that appears when the extension get the page is always displayed in the foreground for a short time but long enough to take the focus of Firefox, it happens even if the option "Automatically close dialog box when capture is finished" is set to "always". Is there any way to prevent this dialog box from showing and taking Firefox's focus?

danny0838 commented 9 months ago

No, there's a current bug of Firefox that prevents such config from taking effect. We cannot do anything until Firefox fixes the API.

More details: https://bugzilla.mozilla.org/show_bug.cgi?id=1213484

danny0838 commented 9 months ago

Keep this issue open as we need to update the code when Firefox fixes the API.