're-enable disabled menu "save video as" chrome ext or chrome itself "Save Video As"

How can I re-enable the "Save Video As" option when it is disabled on a video?

This is basically the opposite of this question.

Is there a global command I can send to the chrome command line which re-enables this option?

Or is there a simple extension I could use?



Solution 1:[1]

I think it is possible (at least in one way)

If we are using this method to "block" the menu context of the video

<video oncontextmenu="return false;">
   <source src="https://test-videos.co.uk/vids/bigbuckbunny/mp4/h264/360/Big_Buck_Bunny_360_10s_2MB.mp4"/>
</video>

Then, all you need to do is to select video element (using dev-tools) and reverse the blocking command. For instance:

document.querySelector('body > video').oncontextmenu="return true"

Will re-enable the "right click menu" + allows you to download video using the "save video as..." option

As noted in accepted answer this is a bad practice because experienced users that already familiar with dev-tools can by-pass this easily. If you intend to protect your videos, please consider using a cloud service that specialized in that specific task.

Solution 2:[2]

download-button { display: none; }

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 ymz
Solution 2 arjunishi