Skip to content

Instantly share code, notes, and snippets.

@LBranco27
Last active July 29, 2020 15:05
Show Gist options
  • Save LBranco27/450420f0b3e6d00af50273f89e938703 to your computer and use it in GitHub Desktop.
Save LBranco27/450420f0b3e6d00af50273f89e938703 to your computer and use it in GitHub Desktop.
Remove the attribute in the html video that prevents you from downloading video on m.facebook
// ==UserScript==
// @name MFacebookVideoDWNLD
// @namespace http://tampermonkey.net/
// @version 1.1.1
// @description Remove the attribute in the html video that prevents you from downloading video on m.facebook
// @author Lucas Branco
// @match https://m.facebook.com/*
// @grant none
// @run-at document-start
// ==/UserScript==
setInterval(function() {
'use strict';
var video = document.getElementsByTagName("video");
video[0].removeAttribute("controlsList");
}, 400)();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment