Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

Showing default context menu when playing some videos. Is this a bug or a feature?

  • 11 답장
  • 2 이 문제를 만남
  • 2 보기
  • 최종 답변자: etchot

more options

Sometime ago I found a way to call the default context menu (bypassing the video player context menu) when playing videos of some known websites in Firefox for Windows and Mac (see image). This is not possible with other browsers. The way to call the default context menu is really simple. However, I do not want to explain it here to prevent people downloading videos this way.

Here are some websites where the context menu can be called: https://www.nytimes.com https://www.ft.com http://www.ndtv.com http://www.sesamestreet.org

I would like to hear from the community whether they believe this is a bug or a feature and whether this possibility should be removed from Firefox.

Thanks

Sometime ago I found a way to call the default context menu (bypassing the video player context menu) when playing videos of some known websites in Firefox for Windows and Mac (see image). This is not possible with other browsers. The way to call the default context menu is really simple. However, I do not want to explain it here to prevent people downloading videos this way. Here are some websites where the context menu can be called: https://www.nytimes.com https://www.ft.com http://www.ndtv.com http://www.sesamestreet.org I would like to hear from the community whether they believe this is a bug or a feature and whether this possibility should be removed from Firefox. Thanks
첨부된 스크린샷

모든 댓글 (11)

more options

This is normal when the built-in HTML5 media player is used, so you can consider this a feature that you get for free. Only if the website uses a dedicated player then you get the context menu of this player.

more options

The websites I am talking about are using a dedicated player (JW Player or video.js). I am not getting the context menu of this player but the default context menu.

more options

The websites I reported are not using the built-in HTML5 media player but a dedicated player (JW Player or video.js). I am not getting the context menu of this player as expected but the default context menu player.

more options

Such a player script usually checks for built-in support toe play the media file and if support is found then create a video tag to play a MP4 or WebM file. This then uses the built-in HTML5 media player.

You can right-click and select "Inspect Element" to open the built-in Inspector with this element selected to see whether the VIDEO tag is used (plugins are no longer supported anyway).

more options

Is there really a secret, or is it this setting designed to manage whether pages can replace the default context menu?

(1) In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button promising to be careful.

(2) In the search box above the list, type or paste contex and pause while the list is filtered

(3) Double-click the dom.event.contextmenu.enabled preference to switch the value from true to false

With this setting, Firefox's context menu typically appears in front of a site's custom context menu. If you need to clear away Firefox's context menu to access the site's menu, on Windows, briefly tapping the Alt key should take care of it. Not sure about other platforms.

And I certainly wouldn't want this preference removed from Firefox.

more options

cor-el said

Such a player script usually checks for built-in support toe play the media file and if support is found then create a video tag to play a MP4 or WebM file. This then uses the built-in HTML5 media player. You can right-click and select "Inspect Element" to open the built-in Inspector with this element selected to see whether the VIDEO tag is used (plugins are no longer supported anyway).

I will make my point more clear for you. I believe it is not acceptable that Firefox allows to easily download videos from some websites when the built-in HTML5 media player is used because these videos are copyright protected.

more options

jscher2000 said

Is there really a secret, or is it this setting designed to manage whether pages can replace the default context menu? (1) In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button promising to be careful. (2) In the search box above the list, type or paste contex and pause while the list is filtered (3) Double-click the dom.event.contextmenu.enabled preference to switch the value from true to false With this setting, Firefox's context menu typically appears in front of a site's custom context menu. If you need to clear away Firefox's context menu to access the site's menu, on Windows, briefly tapping the Alt key should take care of it. Not sure about other platforms. And I certainly wouldn't want this preference removed from Firefox.

I do not need to access the settings for the default context menu to be displayed. It is easier than that. The story here is not about whether this setting is designed to manage if pages can replace the default context menu but about the fact that videos can easily be downloaded using this feature.

more options

etchot said

The story here is not about whether this setting is designed to manage if pages can replace the default context menu but about the fact that videos can easily be downloaded using this feature.

So is the question whether Save Video As, or Save Image As, or Save Link As, or Save Page As should be removed from context menus? As long as the features are not illegal, I think users should be the ones to decide whether or not to use them, but that's just my opinion.

more options

This is about the HTML5 media player context menu showing items like "Get Video URL". The Inspector only allows to see the source URL, but wouldn't give you the extras you see in the HTML5 media player context menu.

more options

Yes, that is the question. However is not about whether the features are or are not illegal but about the fact this features allow to easily download copyright protected material (videos and images). In my opinion Mozilla should decide if they want to make it so simple to download this material.

more options

The default context menu can easily been displayed using a keyboard and mouse combination. As a result you get options like "Save video as..."