Last active
July 29, 2020 15:05
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==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