Is there a Firefox addon to remove <video> elements with right-click menu item?

181 views Asked by At

The inspector in Developer Edition allows you to remove any element you choose with one click; I wish there was a simple way to automatically NOT play or download HTML5 <video> elements unless I click on them - I am forced to download large files I do not want when browsing web. Any way to turn off video elements that will automatically download without disabling them completely?

Is there a way to get some JavaScript run for every page load that could enforce this behaviour, other than putting ' video: { display: none; } ' in user CSS stylesheet? Is there a 'user library.js' that Firefox will run for every page load I'd like to be able to ONLY download & play videos I click on. I can write the JavaScript to do this easy, but how to get it loaded by Firefox for every page?

1

There are 1 answers

0
JVD On

Aha! I found the answer:

about:config -> media.autoplay.enabled

This is described at: https://www.howtogeek.com/227669/how-to-stop-auto-playing-html5-videos-in-your-web-browser/