-
Notifications
You must be signed in to change notification settings - Fork 3
/
content.js
35 lines (31 loc) · 999 Bytes
/
content.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
var i = 0;
var delete_amount = 0;
while (delete_amount <= 0) {
var delete_amount = prompt('How Many Photos to Delete? : ', '100');
}
function banner() {
console.log("---------------------------------");
console.log(" Bulk Photo Delete For Instagram ");
console.log("-------- GITHUB/NARCOTIC --------");
}
function bulkDelete() {
setTimeout(function () {
document.querySelector('div.eLAPa').click();
setTimeout(function () {
document.querySelector('div.qF0y9.Igw0E.rBNOH.YBx95._4EzTm').click();
}, 2800)
setTimeout(function () {
document.querySelector('button.aOOlW.-Cab_').click();
}, 2800)
setTimeout(function () {
document.querySelector('button.aOOlW.-Cab_').click();
}, 2800)
console.log(i + 1 + " Photos Deleted");
i++;
if (i < delete_amount) {
bulkDelete();
}
}, 2800)
}
banner();
bulkDelete();