Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

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

了解更多

How to stop add application prompts

more options

I've recently been receiving prompts to "add application" for one of the sites I visit (related to mail). I don't want these prompts to show up every time and there's no option to permanently dismiss them. Is there something in about:config which will stop these prompts?

I've recently been receiving prompts to "add application" for one of the sites I visit (related to mail). I don't want these prompts to show up every time and there's no option to permanently dismiss them. Is there something in about:config which will stop these prompts?

所有回覆 (13)

more options
  1. Install Stylish and restart Firefox when prompted.
  2. Open the Add-ons Manager (Ctrl+Shift+A), then the User Styles category.
  3. Click the Write New Style button at the top. Paste the following in the text box, give the style a name, then click the Save button.

@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
/*
Title: Hide "add as an application for mailto links" notifications
Author: http://forums.mozillazine.org/memberlist.php?mode=viewprofile&u=261941
Tested on: Firefox 28, Firefox 31
*/

notification[value="Protocol Registration: mailto"] {
  display: none !important;
}

If you object to installing Stylish, you can use the userChrome.css file instead. Just make sure the first line in the style only appears once in that file. There are several pitfalls to using this file, which is why I don't recommend it to those who aren't already familiar with it.

Edit: I filed a bug report. If anyone here has the privileges to mark it NEW, please do so. There's already an identical one for Firefox OS that's ASSIGNED, so I think it's perfectly reasonable.

由 Gingerbread Man 於 修改

more options

Is there any way that doesn't require an addon? getting really sick of having to fix FF's many UI flaws with yet another addon.

more options

As an alternative, you can add the code to the userChrome.css file below the default @namespace line.

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */

notification[value="Protocol Registration: mailto"] {
  display: none !important;
}

The customization files userChrome.css (user interface) and userContent.css (websites) are located in the chrome folder in the Firefox profile folder.

You can use this button to go to the currently used Firefox profile folder:

  • Help > Troubleshooting Information > Profile Director: Show Folder (Linux: Open Director; Mac: Show in Finder)
more options

JMJimmy wrote:

getting really sick of having to fix FF's many UI flaws with yet another addon.

This isn't a flaw in Firefox. The website pops up that prompt. Websites normally provide a link for you to click on to add them as a protocol handler, but Yahoo! Mail automatically pops up the prompt when you load your inbox.

more options

The flaw is Firefox's as it allows the prompt to be repeated infinitely. Users should never be required to make the same decision twice, regardless of what a website tries to do.

more options

It is probably not Firefox that is doing this by itself, but is done by a Yahoo script that doesn't test or remember that it already has shown this notification.

They can test for this as in shown here:

    if (!navigator.isProtocolHandlerRegistered("fake", url)) {
      navigator.registerProtocolHandler("fake", url, "Fake Protocol");
    }
more options

Firefox shouldn't care what 3rd party code is doing, nor should users. Just as the "Remember password" and "Share location" prompts have a "never" option, so should the "add application" prompt (and any other similar ones). That's handled by Firefox and should be reflected in the UI. It's not and as a result a 3rd party addon is required, unfortunately it has the side effect of blocking all prompts of that type instead of ones specific to a site.

more options

JMJimmy,

If it irritates you that much, you can go ahead and file a bug at Bugzilla to see what developers have to say about it.

more options
more options

JMJimmy wrote:

The flaw is Firefox's as it allows the prompt to be repeated infinitely.

You should only get the prompt until you click the Add Application button. In my testing, I don't get prompted to add Yahoo as a protocol handler if it's already added.

more options

All the pathetic excuses being made for Firefox.

I do not want to have to find some obscure CSS file and start editing it with the risk that I completely screw up the program, I want an option with a pretty little tick box that say F off and don't bother me again EVER.

I do not want some stupid App either, had enough of bloatware some of which has adware in it.

This is a FIREFOX issue, it is pissing a lot of people off and they should fix it

more options

Oh and about the share my location NEVER option, they clearly do not understand NEVER because to me NEVER means..well NEVER, yet despite saying NEVER share my location and tell sites I do not want to be tracked (basically known as FO and let me get on) I get "this site wants you to share your location".

more options

FedUpWithFirefox wrote:

I want an option with a pretty little tick box that say F off and don't bother me again EVER.

Such an option doesn't exist. That's what the bug report is for. You can click the Add Application button, you can hide the message with the user style, or you can get the message each time you open your Yahoo inbox.

FedUpWithFirefox wrote:

I do not want some stupid App either, had enough of bloatware some of which has adware in it.

As I've repeatedly explained, it's not a software application. It's not a program. It's not an add-on. It's not a plug-in. It's just information, a few lines of text that tell Firefox when clicking mailto:user@example.com links, Yahoo is a possible option to handle them.

FedUpWithFirefox wrote:

Oh and about the share my location NEVER option

If you want to disable geolocation ("Location-Aware Browsing"), set geo.enabled to false in about:config.