There isn't a way to mass delete images offered by Gyazo, other than Deleting your account. Sucks for you if you paid for there service.
This repo is based on the older repo by @jkctech. I updated their script for adding a Select All
and Delete All
button, as well as created a drastically improved "delete all" script that works with the API directly.
As long as you're comfortable using the Console section of your browser, you can use this. (Last tested on 23rd Jan 2023)
Copy paste the contents of selectall_delete_buttons.js in a chrome developer console on https://gyazo.com/captures.
2 buttons will appear in the navbar.
Click the "Delete All" button to execute an automatic mass deleter for all visible items (this will take about 5 seconds to complete).
Click the "Select All" button to only mass select all visible items.
After deleting a couple of items, the Gyazo UI likes to get glitched. Reload the page and repeat the mentioned steps above.
Copy paste the contents of massDeleteCollect.js
in a chrome developer console on https://gyazo.com/captures BUT DO NOT HIT ENTER.
Head to the Network
tab, then select and delete an image normally.
Without refreshing the page at all in this process, click the delete request in the network log (it should be the last entry).
On the Headers section you can scroll to the bottom until you see x-csrf-token
. Copy that, and enter it into the second line between the quotes, so you end up with var x_csrf_token = "XYZABC"
.
Then enter the total number of images you would like to delete at the very top of the script, where you see var totalItems = 300
. Instead set 300
to your desired number of images to delete. Usually the max seems to be around 3000
. Any higher causes things to break and Gyazo's servers to time you out.
Then hit enter to collect a large number of images to delete. You will see multiple Processing [x/10]
appear. Just wait for it to reach [10/10]
, for example.
Now to actually delete those images. Copy the contents of massDeleteRun.js
and paste it into the same console. Then hit enter.
Just remember to wait some time! Refreshing the page every few seconds will show you that the images are slowly being deleted from Gyazo's server, even though we sent them hundreds of delete requests.