• 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

How to delete all photos and videos in Google Photos in seconds

AnonyViet by AnonyViet
March 7, 2025
in Tips
0

Google Photos is Google's online photo storage service. With a Google (Gmail) account you can store 15GB of high quality or non -gender photos compressed by Google. After the Flick incident of Yahoo charge, Google is now the world's top popular image. On the one hand is to share the account with Gmail, Google Drive, on the one hand, it is free.






Join the channel Telegram belong to Anonyviet 👉 Link 👈

If you come one day, you want to delete all images and videos in empty space, what to do? Google Photos only allows deleting photos, not all. Instead of clicking each photo to delete, you can use the code to delete a series of photos.

How to delete all photos and videos in Google Photos in seconds

Method 1: Use code to delete a series of photos in Google Photos

Google photos currently support both PC and Mobile. If you are a photographer, you can choose Google Photos to store photos instead of phone memory. This will help you save a lot of capacity for your phone. However, to synchronize the unrelated photos on this Cloud will create quite a lot of garbage images. If you want Delete all photos and videos on Google Photos It can be done as follows:

Step 1: Access Google Photos website equal to your Google account.

Step 2: Open Devtools by 1 of 3 ways

  • Press F12 or C key
  • Right -click on the web selection Check (Inspect)
  • Press the key combination Ctrl + Shift + I

Step 3: Select to the console tab and paste the code below and click Enter

The code is shared by gdrive.vip

// Nhấn nút chọn hình ảnh, video và xóa
const ELEMENT_SELECTORS = {
    checkboxClass: '.ckGgle',
    deleteButton: 'button[title="Xóa"]',
    confirmationButton: '#yDmH0d > div.llhEMd.iWO5td > div > div.g3VIld.V639qd.bvQPzd.oEOLpc.Up8vH.J9Nfi.A9Uzve.iWO5td > div.XfpsVe.J9fJmf > button.VfPpkd-LgbsSe.VfPpkd-LgbsSe-OWXEXe-k8QpJ.nCP5yc.kHssdc.HvOprf'
}
// Tự động xóa toàn bộ hình ảnh, video trong bởi https://gdrive.vip/
// Cấu hình thời gian (milliseconds)
const TIME_CONFIG = {
    delete_cycle: 7000,
    press_button_delay: 2000
};

let imageCount = 0;

let checkboxes;
let buttons = {
    deleteButton: null,
    confirmationButton: null
}

let deleteTask = setInterval(() => {

    checkboxes = document.querySelectorAll(ELEMENT_SELECTORS['checkboxClass']);

    if (checkboxes.length <= 0) {
        console.log("[THÔNG TIN] Không còn hình ảnh (video) để xóa.");
        clearInterval(deleteTask);
        console.log("[THÀNH CÔNG] Đã thoát.");
        return;
    }

    imageCount += checkboxes.length;

    checkboxes.forEach((checkbox) => { checkbox.click() });
    console.log("[THÔNG TIN] Đang xóa...", checkboxes.length, "hình ảnh (video)");

    setTimeout(() => {

        buttons.deleteButton = document.querySelector(ELEMENT_SELECTORS['deleteButton']);
        buttons.deleteButton.click();

        setTimeout(() => {
            buttons.confirmation_button = document.querySelector(ELEMENT_SELECTORS['confirmationButton']);
            buttons.confirmation_button.click();
        }, TIME_CONFIG['press_button_delay']);
    }, TIME_CONFIG['press_button_delay']);
}, TIME_CONFIG['delete_cycle']);

or

Download code at github

Code delete all photos and videos in Google Photos

Step 4: Wait a few seconds To operate code. You not only need to leave the mouse and the keyboard, do not manipulate. Code will choose photos and videos to delete for you. When successful will see the notice below:

Delete Google Photos

Deleting time is calculated in milliseconds. If you have a slow loading or the image does not delete it all, increase the number in 2 lines:

  • Delete_Cycle: 7000
  • press_button_delay: 2000

Thus the code will automatically delete all images and videos in your Google Photos. Consider when using!

Method 2: Use the Shift key to select all photos

This method is quite simple if you have few pictures saved on Google Photos. Just use the mouse and the Shift key to select all photos to delete.

Step 1: Click the first photo

Use Shift key to select all photos to delete in Google Photos

Step 2: Hold the Shift button simultaneously rat down Last photoand Click on the last image.

Select all images to delete in Google Photos

Step 3: At this time all images and videos have been checked. You just need to choose garbage bin symbol To delete.

Note

Images and videos after being deleted are still in trash can. You access the path https://photos.google.com/trash select Clean the trash To release the capacity.

  • How to delete all photo, video in google photo
  • Quick Remove All Video Photo in Google Photos
Previous Post

Summary of websites to receive SMS online to confirm accounts

Next Post

How to exploit the holy hole of Hijacking on Windows

AnonyViet

AnonyViet

Related Posts

Windows 7/8.1/10 users will be upgraded to Windows 11 for free
Tips

Windows 7/8.1/10 users will be upgraded to Windows 11 for free

July 30, 2026
Instructions for receiving ChatGPT Plus for 1 month for free in 2026
Tips

Instructions for receiving ChatGPT Plus for 1 month for free in 2026

July 28, 2026
Some reasons I don’t like Windows 11
Tips

Some reasons I don’t like Windows 11

July 27, 2026
Instructions on how to get free Facebook white ticks
Tips

Instructions on how to get free Facebook white ticks

July 27, 2026
Collection of Windows 11 wallpapers for computers and phones
Tips

Collection of Windows 11 wallpapers for computers and phones

July 26, 2026
Don’t install leaked Windows 11
Tips

Don’t install leaked Windows 11

July 25, 2026
Next Post
How to exploit the holy hole of Hijacking on Windows

How to exploit the holy hole of Hijacking on Windows

0 0 votes
Article Rating
Subscribe
Login
Notify of
guest

guest

0 Comments
Oldest
Newest Most Voted

Recent News

Hướng dẫn dùng Uneed.vn để đánh giá kiến thức Online miễn phí cho học sinh

Hướng dẫn dùng Uneed.vn để đánh giá kiến thức Online miễn phí cho học sinh

September 22, 2026
Windows 7/8.1/10 users will be upgraded to Windows 11 for free

Windows 7/8.1/10 users will be upgraded to Windows 11 for free

July 30, 2026
Instructions for receiving the free Certified LLM Security Expert certificate

Instructions for receiving the free Certified LLM Security Expert certificate

July 30, 2026
MSI laptops are not just for gamers: Which line is suitable for students, office workers and creative people?

MSI laptops are not just for gamers: Which line is suitable for students, office workers and creative people?

July 29, 2026
Hướng dẫn dùng Uneed.vn để đánh giá kiến thức Online miễn phí cho học sinh

Hướng dẫn dùng Uneed.vn để đánh giá kiến thức Online miễn phí cho học sinh

September 22, 2026
Windows 7/8.1/10 users will be upgraded to Windows 11 for free

Windows 7/8.1/10 users will be upgraded to Windows 11 for free

July 30, 2026
Instructions for receiving the free Certified LLM Security Expert certificate

Instructions for receiving the free Certified LLM Security Expert certificate

July 30, 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

Hướng dẫn dùng Uneed.vn để đánh giá kiến thức Online miễn phí cho học sinh

Hướng dẫn dùng Uneed.vn để đánh giá kiến thức Online miễn phí cho học sinh

September 22, 2026
Windows 7/8.1/10 users will be upgraded to Windows 11 for free

Windows 7/8.1/10 users will be upgraded to Windows 11 for free

July 30, 2026
  • Home
  • Home 2
  • Home 3
  • Home 4
  • Home 5
  • Home 6
  • Next Dest Page
  • Sample Page

say88 tỷ lệ kèo nhà cái kèo nhà cái 5 febet

No Result
View All Result
  • Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office

say88 tỷ lệ kèo nhà cái kèo nhà cái 5 febet

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