Hiển thị các câu hỏi được đánh dấu: Xem tất cả các câu hỏi

Firefox Add-On need to open an open dialog from the activeTab page

Hi all, i'm currently developing an add-on that has an import from file feature that needs to open an "Open file" dialog, now the problem is that in order to do that i h… (xem thêm)

Hi all,

i'm currently developing an add-on that has an import from file feature that needs to open an "Open file" dialog, now the problem is that in order to do that i had to do the following:

  • inject some javascript code in the active page as a content script
  • call the execute command from the extension to open the dialog popup (that is actually emulating a click)

I have to do it, because from an extension when a "File open" dialog appear, the extension lose the focus and it is automatically closed, and its context destroyed, so when i actually press open on the dialog, the "caller" is already gone (https://stackoverflow.com/questions/26884140/open-import-file-in-a-chrome-extension/26917671#26917671 you can refer to my stackoverflow question to get an idea of what i was doing)

This works fine in chrome (And it worked for a while on firefox) but probably in the latest months/years (not sure when it happened) it stopped working and when i press the import button nothing happens, after some investigation i found what is the problem: the "block popup" windows option enabled by default (i suppose it is enabled by default i don't remember to have never enabled it), so when i disable it, the feature resume working. What i'm wondering is if there is a way to programmatically add an exception to the popup blocker option while installing the extension, or if there is any way to avoid closing the exception popup when the "File Open" Dialog appears.

Thanks everyone

Đã được hỏi bởi ivan.gualandri 5 giờ trước

How can I enable Firefox in Windows Defender Firewall?

I'm using Windows Defender Firewall in Windows 10, and I have blocked all Inbound and Outbound connections, created a New Rule for Firefox (version 78.11.0_ESR), and allo… (xem thêm)

I'm using Windows Defender Firewall in Windows 10, and I have blocked all Inbound and Outbound connections, created a New Rule for Firefox (version 78.11.0_ESR), and allowed the program to access the internet from the installation path: "C:\Program Files\Mozilla Firefox\firefox.exe". However, internet access is inaccessable? Does Firefox makes some DETOUR route without my knowelage or is it just me and my moderate IQ? All other applications have full respect to Windows Defender Firewall rules. Thank you.

Đã được hỏi bởi Предраг Ољача 1 tuần trước

Trả lời lần cuối bởi Предраг Ољача 5 ngày trước