Skip to content

Instantly share code, notes, and snippets.

View arnvgh's full-sized avatar
🦀
(๑>◡<๑)

Arunava Ghosh arnvgh

🦀
(๑>◡<๑)
View GitHub Profile
// Simple script to download multiple whatssapp files at once
// Go the Chat-> Media -> Select any File -> paste the code in browser console -> Viola! Now Download all of them at once XD
document.querySelectorAll('[data-testid="checkbox-round-passive"]').forEach(s => s.click())
@arnvgh
arnvgh / countries.json
Created October 10, 2022 14:02
List of All Countries in JSON
{
"af": {
"name": "Afghanistan",
"official_name": "Islamic Republic of Afghanistan",
"topLevelDomain": [
".af"
],
"alpha2Code": "AF",
"alpha3Code": "AFG",
"cioc": "AFG",
@arnvgh
arnvgh / console-log.js
Created October 1, 2022 11:45
Console logs all texts of same classes of a website :)
// Use inspect element to get classes of a particular element (Dont remove that "." before className you noob 🤡 )
const className = document.querySelectorAll('.<CHANGE WITH THE CLASS NAME>');
for (i = 0; i < className.length; i++) {
console.log(className[i].innerText);
}
@arnvgh
arnvgh / birthdaywish.py
Created September 17, 2022 08:28
Wishes Hppy Birthday to you
import time
from random import randint
for i in range(1, 100):
print(' ')
space = ' '
for i in range(1, 1000):
count = randint(1, 99)