• Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office
AnonyViet - English Version
  • Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office
No Result
View All Result
  • Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office
No Result
View All Result
AnonyViet - English Version
No Result
View All Result

Instructions for downloading Facebook Videos with new interface 2021

AnonyViet by AnonyViet
January 14, 2026
in Tips
0

Currently, some Facebook Video download tools only work in the old interface. When using the new interface, you will not be able to download Facebook Videos. In this article, AnonyViet will guide you to download Videos on your personal page, Group or Fanpage on Facebook to your computer with 100% success.

Join the channel Telegram belong to AnonyViet 👉 Link 👈

Instructions for downloading Facebook Videos with new interface 2021

To Download Facebook Video, you first need to install it Extension Custom JavaScript for Websites 2. This extension helps Run custom JavaScript on any website. Use this tool to insert JavaScript to download videos.

After installation, remember to click on the puzzle icon and click on the tick mark of the Custom JavaScript for Websites 2 icon.

Instructions for downloading Facebook Videos with new interface 2021

Now you access the Facebook post with the Video you want to download to your computer. Press F12 to open DevTools, switch to Console Tab.

Instructions for downloading Facebook Videos with the new interface

Now click on the Extension CJS icon, and paste the Facebook Video download javascript code below into the CJS frame. Then click the button Save in the upper corner

facebook video download script

function downloadFacebookVideo(){
let m;
let str = document.documentElement.innerHTML;
//
let regex_sd = /"playable_url":"([^"]*)"/gm;
let regex_hd = /"playable_url_quality_hd":"([^"]*)"/gm;
let regex_audio = /"audio":\[(.*?)\]/sm; // Tach audio ra
let regex_audio_url = /{"url":"(.*?)\",/;  // Lay chuoi Audio dau tien
//
let video_sd_url = null;
let video_hd_url = null;
let audio_json = null;
let audio_url = null;

// Lay Link SD
while ((m = regex_sd.exec(str)) !== null) {
    if (m.index === regex_sd.lastIndex) {
        regex_sd.lastIndex++;
    }
   video_sd_url = (typeof(m[1]) != "undefined") ? m[1] : null;
}
// Lay Link HD
while ((m = regex_hd.exec(str)) !== null) {
    if (m.index === regex_hd.lastIndex) {
        regex_hd.lastIndex++;
    }
   video_hd_url = (typeof(m[1]) != "undefined") ? m[1] : null;
}
/* Bat dau lay Audio */
// Audio Json
if ((m = regex_audio.exec(str)) !== null) {
    audio_json = (typeof(m[1]) != "undefined") ? m[1] : null;
}
// Audio URL
if (audio_json != "null" && (m = regex_audio_url.exec(audio_json)) !== null ) {
    audio_url = (typeof(m[1]) != "undefined") ? m[1] : null;
}
/* Ket thuc lay Audio */

// Tra loi neu khong co ket qua khi ca 3 ko co
if(video_hd_url == null && video_sd_url == null && audio_url == null){
  console.log("Không tìm thấy link nào !");
  return;
}

// Bo vao chuoi de xuat ra
let output="Ấn vào link bên dưới để tải về : \n";

// Link SD
if(video_sd_url != null){
   let sd = video_sd_url.replaceAll("\\","");
   output += "✔ Chất lượng SD : " + sd + "\n";
}
// Link HD
if(video_hd_url != null){
   let hd = video_hd_url.replaceAll("\\","");
   output += "✔ Chất lượng HD : " + hd + "\n";
}
// Link Audio
if(audio_url != null){
   let audio = audio_url.replaceAll("\\","");
   output += "✔ Link Audio: " + audio + "\n";
}
str = null;
return output;
}

Now turn off the Tab that is displaying that Facebook Video, then reopen that tab again.

Continue pressing F12 and Console tab, enter the command line downloadFacebookVideo() to call the Download Video function. Wait a moment and you will see the results with 3 options to download including SD quality, HD quality, or just download Audio.

Instructions for downloading Facebook Videos with new interface 2021 6

In case you click on the link and cannot download it, open it Internet Download Manager up, choose Add URLcopy the entire download link and paste it, IDM will automatically capture the Download link for you.

idm download facebook videos

Currently the Download Video script has been saved in CJS, so next time you want to download a Video, you just need to open the Facebook post with that Video, click F12 -> Console and type the command downloadFacebookVideo() You can download the Video now.

Currently this method applies to the new Facebook interface. If you use an Extension to switch Facebook back to the old interface, it will not work.

Refer to: httzip.com

Frequently asked questions

What software/extension do I need to install to download Facebook videos?

You need to install Extension Custom JavaScript for Websites 2. This extension allows running custom JavaScript code to download videos.

If I don’t see the option to download videos after running the command downloadFacebookVideo() so what?

Verify that you have pasted the correct JavaScript code into Custom JavaScript for Websites 2 and run the command downloadFacebookVideo() in Console. If it still doesn’t work, try using Internet Download Manager (IDM) to download the video by pasting the link into IDM.

Does this method work with the old Facebook interface?

No, this method only works with Facebook’s new interface. If you are using the old interface, it will not work.

Previous Post

How to get ChatGPT K-12 Teacher for free

Next Post

Instructions for looking up land information online to avoid fraud

AnonyViet

AnonyViet

Related Posts

How to add sliders to Facebook Stories to easily rewind videos
Tips

How to add sliders to Facebook Stories to easily rewind videos

April 21, 2026
How to change the default font on Windows 10
Tips

How to change the default font on Windows 10

April 13, 2026
5 tips for using a Browser to replace an App (helps save RAM, time and money)
Tips

5 tips for using a Browser to replace an App (helps save RAM, time and money)

April 13, 2026
How to make funny MeMe photos without Photoshop within 10 seconds
Tips

How to make funny MeMe photos without Photoshop within 10 seconds

April 11, 2026
How to quickly design your own Logo without Photoshop
Tips

How to quickly design your own Logo without Photoshop

April 10, 2026
How to convert Website into App on Windows
Tips

How to convert Website into App on Windows

April 9, 2026
Next Post
Instructions for looking up land information online to avoid fraud

Instructions for looking up land information online to avoid fraud

0 0 votes
Article Rating
Subscribe
Login
Notify of
guest

guest

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments

Recent News

Create an avatar to celebrate April 30 with a beautiful red flag shirt with yellow stars

Create an avatar to celebrate April 30 with a beautiful red flag shirt with yellow stars

April 30, 2026
How to get 2 months of Super Duolingo for free worth 300k

How to get 2 months of Super Duolingo for free worth 300k

April 30, 2026
How to create a Face Sticker Collection using ChatGPT

How to create a Face Sticker Collection using ChatGPT

April 29, 2026
How to install the cute Bongo Cat mouse pointer for Windows

How to install the cute Bongo Cat mouse pointer for Windows

April 29, 2026
Create an avatar to celebrate April 30 with a beautiful red flag shirt with yellow stars

Create an avatar to celebrate April 30 with a beautiful red flag shirt with yellow stars

April 30, 2026
How to get 2 months of Super Duolingo for free worth 300k

How to get 2 months of Super Duolingo for free worth 300k

April 30, 2026
How to create a Face Sticker Collection using ChatGPT

How to create a Face Sticker Collection using ChatGPT

April 29, 2026
AnonyViet - English Version

AnonyViet

AnonyViet is a website share knowledge that you have never learned in school!

We are ready to welcome your comments, as well as your articles sent to AnonyViet.

Follow Us

Contact:

Email: anonyviet.com[@]gmail.com

Main Website: https://anonyviet.com

Recent News

Create an avatar to celebrate April 30 with a beautiful red flag shirt with yellow stars

Create an avatar to celebrate April 30 with a beautiful red flag shirt with yellow stars

April 30, 2026
How to get 2 months of Super Duolingo for free worth 300k

How to get 2 months of Super Duolingo for free worth 300k

April 30, 2026
No Result
View All Result
  • Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office

wpDiscuz
0
0
Would love your thoughts, please comment.x
()
x
| Reply