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!

Questo sito potrebbe offrire funzionalità limitate durante le operazioni di manutenzione per migliorare l'esperienza utente. Se un articolo non risolve il tuo problema e vuoi richiedere supporto, la nostra comunità di supporto è pronta ad aiutarti tramite @FirefoxSupport su Twitter e /r/firefox su Reddit.

Cerca nel supporto

Attenzione alle mail truffa. Mozilla non chiederà mai di chiamare o mandare messaggi a un numero di telefono o di inviare dati personali. Segnalare qualsiasi attività sospetta utilizzando l'opzione “Segnala abuso”.

Ulteriori informazioni

Questa discussione è archiviata. Inserire una nuova richiesta se occorre aiuto.

How do I disable the DRM warning banner?

  • 11 risposte
  • 2 hanno questo problema
  • 1 visualizzazione
  • Ultima risposta di soundwave

more options

Firefox displays a very annoying DRM banner all the time on nbcnews.com and a few other sites. I have DRM disabled, I do not want to play DRM content, how do I get rid of the banner? There should always be an option to hide a warning banner permanently.

Firefox displays a very annoying DRM banner all the time on nbcnews.com and a few other sites. I have DRM disabled, I do not want to play DRM content, how do I get rid of the banner? There should always be an option to hide a warning banner permanently.

Soluzione scelta

Well, we're just support volunteers and work with the Firefox we have today. You can submit suggestions for new/different features for future versions of Firefox on the following page (click the sad face):

https://input.mozilla.org/feedback/firefox

Leggere questa risposta nel contesto 👍 0

Tutte le risposte (11)

more options

On DRM, I found this; http://dictionary.cambridge.org/us/dictionary/english/drm

I went to your web page but saw no banner.

In order to better assist you with your issue please provide us with a screenshot. If you need help to create a screenshot, please see How do I create a screenshot of my problem?

Once you've done this, attach the saved screenshot file to your forum post by clicking the Browse... button below the Post your reply box. This will help us to visualize the problem.


Start Firefox in Safe Mode {web Link} by holding down the <Shift>
(Mac=Options)
key, and then starting Firefox. Is the problem still there?

more options

Attached is a screen shot. I think you only get the error if you disable DRM within the Firefox options. All I want to do now is disable the banner from warning me.

more options

You often can use custom style rules to hide unwanted infobars. As an example, a user asked how to hide the plugin notification bar in this thread: https://support.mozilla.org/questions/1119003#answer-867641

The trick is to discover the unique identifier for that particular DRM message so that is the one hidden and you still get other infobar messages you might want, such as the one about blocked popups.

more options

It's a shame that for every infobar there is not a checkbox or option to always remember answer. Or at least the infobar could go away after 30s or so. Having to revert to custom style rules for something that detracts from the browsing experience like that doesn't sound very user friendly.

more options

Soluzione scelta

Well, we're just support volunteers and work with the Firefox we have today. You can submit suggestions for new/different features for future versions of Firefox on the following page (click the sad face):

https://input.mozilla.org/feedback/firefox

more options

Thank you for everyone's help. I submitted feedback to the Firefox team. I also suggested the same thing for location services and remembering passwords. Firefox asks a lot of questions from the user depending on the site, but it does not always have an option to permanently store the answer so it's very annoying to have to keep clicking info bars and other popups when all I want to do is read the web page.

more options

jscher2000 said

The trick is to discover the unique identifier for that particular DRM message so that is the one hidden and you still get other infobar messages you might want, such as the one about blocked popups.

Where can I go to look for that unique identifier?

more options

Hi soundwave, I use a pair of extensions for that. Once they are both activated, if you shift+right-click on something, the DOM Inspector opens and has the clicked element selected. Then you can figure out whether that or its surrounding "container" has a unique selector that is useful for writing a blocking rule.

more options

Well, I guess it's "notificationbox-stack"? But I have a feeling that would hide all notifications or something...

Modificato da soundwave il

more options

Here's an example of a targeted rule. In DOM Inspector, the first panel shows various attributes associated with messages, including the value attribute, so you can target specific notifications using whatever the value is of the notification you do not want to see (it's the part in [brackets]):

/* Hide Plugin Notification Infobar */
notification[value="plugin-hidden"]{
  display:none !important;
}

Can you find that for the notification you don't want to see?

more options

Thanks jscher2000, it's "drmContentDisabled". Until you said "value" I couldn't figure out where it was. Also (based on assumptions) I was looking for something with the format word-word not wordWord.

So the detailed actual solution to the OP question (albeit a hack), is to add the following to your userChrome.css file:

notification[value="drmContentDisabled"]{

 display:none !important;

}