Created
January 3, 2020 16:44
-
-
Save ReeganExE/39137bcbb26a7fece28bd8e60eb8ded2 to your computer and use it in GitHub Desktop.
Revisions
-
ReeganExE created this gist
Jan 3, 2020 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,7 @@ var body = new FormData(); body.append('URLz', prompt('link:')); await fetch('https://fbdown.net/download.php', { method: 'post', body: body }).then(a => a.text()).then(a => new DOMParser().parseFromString(a, 'text/html').getElementById('hdlink').href);