This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How do I disable the DRM warning banner?

  • 11 replies
  • 2 have this problem
  • 1 view
  • Last reply by 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.

Chosen solution

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

Read this answer in context 👍 0

All Replies (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

Chosen Solution

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...

Modified by soundwave

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;

}