• 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

[Godot Shooter] #2: Creating characters & shooting bullets
Tips

[Godot Shooter] #2: Creating characters & shooting bullets

June 7, 2025
What do you need to learn game programming? Is it difficult? How long does it take?
Tips

What do you need to learn game programming? Is it difficult? How long does it take?

June 6, 2025
Instructions for registering chatgpt team at $ 1
Tips

Instructions for registering chatgpt team at $ 1

June 5, 2025
How to engrave the right mouse menu error on Windows
Tips

How to engrave the right mouse menu error on Windows

June 5, 2025
How to create online meme photos is very easy with a few steps
Tips

How to create online meme photos is very easy with a few steps

June 5, 2025
[Godot Engine] Export to Windows, Linux, MacOS, Android
Tips

[Godot Engine] Export to Windows, Linux, MacOS, Android

June 4, 2025
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
Inline Feedbacks
View all comments

Recent News

[Godot Shooter] #2: Creating characters & shooting bullets

[Godot Shooter] #2: Creating characters & shooting bullets

June 7, 2025

Tải App 89Bet Để Trải Nghiệm Không Giới Hạn

June 6, 2025
What do you need to learn game programming? Is it difficult? How long does it take?

What do you need to learn game programming? Is it difficult? How long does it take?

June 6, 2025
Guide to search law with AI quickly and accurately

Guide to search law with AI quickly and accurately

June 6, 2025
[Godot Shooter] #2: Creating characters & shooting bullets

[Godot Shooter] #2: Creating characters & shooting bullets

June 7, 2025

Tải App 89Bet Để Trải Nghiệm Không Giới Hạn

June 6, 2025
What do you need to learn game programming? Is it difficult? How long does it take?

What do you need to learn game programming? Is it difficult? How long does it take?

June 6, 2025
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

[Godot Shooter] #2: Creating characters & shooting bullets

[Godot Shooter] #2: Creating characters & shooting bullets

June 7, 2025

Tải App 89Bet Để Trải Nghiệm Không Giới Hạn

June 6, 2025
  • Home
  • Home 2
  • Home 3
  • Home 4
  • Home 5
  • Home 6
  • Next Dest Page
  • Sample Page

©2024 AnonyVietFor Knowledge kqxs hôm nay xem phim miễn phí SHBET https://kubet88.yoga/ bj88

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

©2024 AnonyVietFor Knowledge kqxs hôm nay xem phim miễn phí SHBET https://kubet88.yoga/ bj88

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