• 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

How to detect IRQ conflict – Hardware conflict on Windows
Tips

How to detect IRQ conflict – Hardware conflict on Windows

May 13, 2025
How to use Auto Share Facebook to increase the article sharing
Tips

How to use Auto Share Facebook to increase the article sharing

May 12, 2025
Instructions for installing Facebook Lite on super light iPhone
Tips

Instructions for installing Facebook Lite on super light iPhone

May 10, 2025
Download Vietnamese Pascal Video course for beginners
Tips

Download Vietnamese Pascal Video course for beginners

May 9, 2025
How to download and delete your information on Google
Tips

How to download and delete your information on Google

May 8, 2025
How does the police ask Facebook to provide criminal data?
Tips

How does the police ask Facebook to provide criminal data?

May 7, 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

Lucida: Download SoundCloud, Tidal for free, no advertising

Lucida: Download SoundCloud, Tidal for free, no advertising

May 13, 2025
How to detect IRQ conflict – Hardware conflict on Windows

How to detect IRQ conflict – Hardware conflict on Windows

May 13, 2025
Learn about En81 safety standards for home elevators

Learn about En81 safety standards for home elevators

May 12, 2025
Change super easy Windows folder icon

Change super easy Windows folder icon

May 12, 2025
Lucida: Download SoundCloud, Tidal for free, no advertising

Lucida: Download SoundCloud, Tidal for free, no advertising

May 13, 2025
How to detect IRQ conflict – Hardware conflict on Windows

How to detect IRQ conflict – Hardware conflict on Windows

May 13, 2025
Learn about En81 safety standards for home elevators

Learn about En81 safety standards for home elevators

May 12, 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

Lucida: Download SoundCloud, Tidal for free, no advertising

Lucida: Download SoundCloud, Tidal for free, no advertising

May 13, 2025
How to detect IRQ conflict – Hardware conflict on Windows

How to detect IRQ conflict – Hardware conflict on Windows

May 13, 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 bongdaso

wpDiscuz
0
0
Would love your thoughts, please comment.x
()
x
| Reply
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 bongdaso