搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

Modify Firefox location allow prompt

more options

Hi there,

I'm trying to see if there is a way to modify how the Firefox "Location" prompts ("Do you want to give this site access to your location? Allow/Block") are displayed on the screen. Although, microphone and camera access prompts are also relevant to me.

My use case is mobile Linux and similar to some of the problems solved by https://gitlab.com/postmarketOS/mobile-config-firefox

If anybody is knowledgeable on the subject and could point me to relevant source or terminology used by Firefox to help narrow my search, I'd appreciate it. Is it possible to modify these prompts with any of the built-in CSS modifiers like userChrome.css or anything else?

Thanks!

Hi there, I'm trying to see if there is a way to modify how the Firefox "Location" prompts ("Do you want to give this site access to your location? Allow/Block") are displayed on the screen. Although, microphone and camera access prompts are also relevant to me. My use case is mobile Linux and similar to some of the problems solved by https://gitlab.com/postmarketOS/mobile-config-firefox If anybody is knowledgeable on the subject and could point me to relevant source or terminology used by Firefox to help narrow my search, I'd appreciate it. Is it possible to modify these prompts with any of the built-in CSS modifiers like userChrome.css or anything else? Thanks!

所有回覆 (1)

more options

Have you looked at - Firefox Page Info window https://support.mozilla.org/en-US/kb/firefox-page-info-window