Last active
January 17, 2023 14:26
-
-
Save gaulatti/9877127 to your computer and use it in GitHub Desktop.
Facebook Video Downloader (JS Console)
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
/* | |
* Facebook Video Downloader, Tested in Chrome / Safari | |
* rotvulpix - July11/2015@0918 CLST | |
*/ | |
/* | |
* Usage: Go to video page (not modal window), and execute this code in console. | |
* If you want the HD Source, please see it on HD first. | |
*/ | |
console.log(document.getElementsByClassName("videoStage")[0].getElementsByTagName("video")[0].src); |
Still works if you delete the getElementsByClassName("videoStage")[0]
part.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Also tested in Safari 7.0.3 in Mavericks... working fine! :D