Ask coding questions

← Back to all posts
How to mass-delete repls?
h
firefish

I was having a play with the KNOWN_LANGUAGES object when I decided to try

Which you can probably guess what happened.
It created 145 new repls. How do I delete them all without manually going click delete 145 times?

Answered by ch1ck3n [earned 5 cycles]
View Answer
Voters
Leroy01010
ChristopherSonc
CallMeScorpion
tussiez
TheOneAndOnly-
CoolCoderSJ
AnthonyMouse
HahaYes
Kai_Justice
programmeruser
Comments
hotnewtop
ch1ck3n

why don't you make a script in the console?

firefish
firefish

@ch1ck3n OH YES CLEVER I WILL DO THAT

ch1ck3n

@firefish Well, you querySelector all of the delete buttons like this:

and we go from the highest number and to the bottom.

firefish

@ch1ck3n ew jquery learn the normal DOM you lazy small-brain

ch1ck3n
firefish

@ch1ck3n haha works like a charm lol

firefish

@ch1ck3n

Ew jquery learn normal DOM y

what did the rest say?

ch1ck3n

@firefish i realized you didnt use jquery

RayhanADev

RIP @firefish 2020

Succeeded in Getting All Repl.it Languages

firefish

@RayhanADev It's not that I attempted, I succeeded, I attempted to undo that's what killed me

realTronsi

@firefish dw you still have less unnamed projects than @Coder100

RayhanADev

@firefish lmao changed it xD. (This has been the most hilarious 10 minutes of my life xD)

RayhanADev

@realTronsi holy cow Coder has a crap ton how does he still have space???

Coder100
firefish

@RayhanADev This has been the most embarrassing 10 minutes of my life

realTronsi

@RayhanADev he bribed the mods

Coder100

ok are they deleted yet @firefish

RayhanADev
realTronsi

@Coder100 im so confused how that works though, he used fetch, but you authenticate using cookies so I'm so confused

firefish

@RayhanADev He has hacker plan, mine expired yonks ago

firefish

@Coder100 I just had dinner so NotYet Ltd.

Coder100

@realTronsi you send the cookies too lmao

firefish

@realTronsi no lol, the grilled cookie knows nothing about cookies why re you asking him

RayhanADev

@firefish i have hacker till next spooktober lmao

RayhanADev

@Coder100 how would I replicate this except from a NodeJS project?

Coder100

lmao @firefish

Coder100

not even llc @firefish

realTronsi

@firefish no but you send an http request and somehow repl knows your cookie now? if thats the case this is a massive security risk because you can just steal ppl's cookies

firefish

@RayhanADev erm get the value of KNOWN_LANGUAGES and erm.... lol wait verygut idea

RayhanADev

@firefish how to do??? I need to knows?

firefish

@RayhanADev HOLD UP
change Object.keys(stuff) to

please

RayhanADev

@firefish yeah i figured that bit out

but I can’t log into my account now xD.

firefish

@RayhanADev what is your alt account's name, maybe that's a bug

RayhanADev
RayhanADev

@realTronsi wanna work on the Ultimate Dashboard?

firefish

@realTronsi wanna work on the Ultimate Dashboard?

@RayhanADev sure why not

realTronsi

@firefish

@realTronsi wanna work on the Ultimate Dashboard?

@RayhanADev sure why not

@firefish sure why not

firefish

@realTronsi wanna work on the Ultimate Dashboard?

@RayhanADev sure why not

@firefish sure why not

@realTronsi sure why not

RayhanADev
firefish

@RayhanADev so yeah let's work on this

RayhanADev

@firefish lmao oke you can join in too.

RayhanADev

@firefish did you get invite?

Whippingdot

What is the Ultimate Dashboard, can I join. @RayhanADev

RayhanADev

@Whippingdot ababbabahba nononono secret nobody should know (and also are you good nodejs?)

Whippingdot

🤔😢😢. Nooooo!!! Nope. @RayhanADev

RayhanADev

@Whippingdot rip xD, the project is in NodeJS (if you want I can invite you and explain what it is if you promise to keep it secret)

Whippingdot

Have I ever revealed a secret for the more than a month I have been on repl.it. The answer is no! @RayhanADev

Whippingdot

Meaning yes, invite me. @RayhanADev

RayhanADev

@Whippingdot I wouldn’t know OKE!

Whippingdot

I reply on EVERY SINGLE POST of most people. Including you. Try to remember me. I will be here for a long time I hope, I usually don't stay on one thing. Like I keep on switching websites which I use to learn coding from @RayhanADev

RayhanADev

@Whippingdot lmao yea I know you, you follow my empty Github xD. Anyways I added you.

Whippingdot

🤣 I like doing random stuff to waste time when I can be productive and study. I still get good marks in exams though. @RayhanADev

firefish

@Whippingdot @RayhanADev Seriously? 16 pings? Thank you very much, really appreciate it

RayhanADev

@firefish of course xD.

Whippingdot

You're very welcome @firefish

firefish

Your very welcome

@Whippingdot I don't recall owning a very welcome, maybe you meant you're?

RayhanADev

@firefish hahahhahahahahhahahha
awesome.

Whippingdot

Bully. 😢😢😢😢. 🤣. You are ve ry wel come @firefish

Whippingdot

I thought you were are on my side. 😢😢🤣🤣 @RayhanADev

RayhanADev

@Whippingdot sorry grammar trumps all lmao. xD

Whippingdot

BETRAYER, YOU SHALL NEVER EARN MY TRUST. AHHHHHHHGRRRRAAAHHHH!!! 😁😁😁😁•℃℃⁕‣‶⁑⁚·(me just spamming all the symbols I can find) @RayhanADev

firefish

@Whippingdot sorry grammar trumps all lmao. xD

@RayhanADev so true lmao

firefish

@Whippingdot well that ain't many symbols

Whippingdot

I tried putting every emoji there once but it took to long. Had to give up, burnt fish. @firefish

firefish

@Whippingdot who are you calling burnt, the only guy who's burnt here is the grilled cookie - @Coder100, who was in fact burnt at 1234°C on a stake, for deleting index.html. He also changed the listening port from 6111 to 8080, thus giving him another nickname: port 8080 (which i of course added into the urban dictionary). For more information contact @HahaYes.

Whippingdot

Man, sometimes burnt fish lose their brains. Other non-burnt fish can't understand them. @firefish

firefish

@Whippingdot look, all i did was make a joke on the fact that you used the wrong your/you're. If I were you, I'd edit the comment, and pretend like it never happened. But not you, you start calling people burnt.

Whippingdot

Ughh, I hate this. I am not speaking in a mean tone. I am speaking in a joking tone bruh. Sry if that was mean. I don't mean to be mean. If you knew me then you would know I don't like being mean. Just a joke. Sry! @firefish

firefish

@Whippingdot Well I was doing the exact same thing, making a joke. but yours was too un-jokey it didn't seem like a joke

Whippingdot

That is cause you didn't hear my tone. Your name is fire fish, so I was going to write firey fish, but then that is not a word so I changed it to burnt fish. @firefish

firefish

That is cause you didn't here my tone.

@Whippingdot I really want to make another joke out of here and hear, but now I'm scared.

Whippingdot

Why are you scared, @firefish

firefish

@Whippingdot Well look what happened last time I made a joke about bad grammar

Whippingdot

It is ok, you can do it. I like jokes. I didn't mean this to get serious. I will give you upvotes to make up for it. @firefish

firefish

@Whippingdot clears throat then gives lecture about how giving cycles for the sake of it is against the rules

Whippingdot

Aww, then bye bye cycles for @firefish. Oh, and why are you not in the ultimate dashboard, I thought you were going to join

firefish

@Whippingdot been kicked out i think (here are all repls i've been invited to):


god will @TravisRaney stop inviting people, I'll report him

Whippingdot
firefish

@Whippingdot HOW THE FLIP DID YOU FIND MY GITHUB ACCOUNT

Whippingdot

Through @RayhanADev. I follow him and he started following you and other people so I started following everyone I know. @firefish

inyourface3445

@firefish shure why not

firefish

@RayhanADev @realTronsi @Coder100 @Coder100 haha done lol after all of this time

realTronsi
firefish

@realTronsi Fun Fact: Back in the 19th century, nice meant ignorant.

realTronsi

@firefish ur gay

Fun Fact: Back in the 69th century, gay meant happy/pleasant (nice), and nice meant ignorant.

firefish

@realTronsi guys a time traveller from 6837 has come to haunt us

firefish

@realTronsi Still thinking broccoli is celery then?

HackermonDev

Code a nodejs program to do it.

firefish

@PDanielY erm how lol

HackermonDev

By looking at this comment, I just created an F# repl on your account. Go check your repls 😉

https://repl.it/languages/fsharp

firefish

@PDanielY why though :/

HackermonDev
Codemonkey51

Rude @PDanielY

ThisUserTaken

@PDanielY im so dumb i actually clicked on the image. :|

TsunamiOrSumth

@PDanielY why did i get an f# repl i didnt do anything to you
edit: hol up i didnt even click the image but today i found an unamed f# repl that i never made 😳

HackermonDev

@TsunamiOrSumth yea thats the point ;-;

TsunamiOrSumth

@PDanielY im a confuzzled

firefish

@TsunamiOrSumth it's black magic

Whippingdot

This was actually scary. i thought a hacker gained access to my account and started creating random F# repls @PDanielY

firefish

@PDanielY I really want you to delete this now

Codemonkey51

It's called hax @firefish

firefish

@Codemonkey51 IT'S CALLED ABUSING HTTP

Codemonkey51

:) reeeeeee @firefish

firefish

@PDanielY Hm... would suggest deleting this

firefish

@TsunamiOrSumth I know this is a random post, but thanks a lot.

TsunamiOrSumth

@firefish np :>
(bruh i did like 10 of those)

firefish

@TsunamiOrSumth haha yuo are gonna ignor "e" spam

[deleted]

how do you even do that lol

firefish

@DevAxl do what lol

[deleted]

@firefish where to run the script

[deleted]

@firefish you could make an ai to mass delete it

firefish

@DevZlx Like I have enough knowledge to be able to do that also that's not how ai works, i think you mean a bot, but still I have no idea

[deleted]

@firefish yes I mean bot

firefish

@DevZlx yeah but I still have no idea how to do that though

ColePete

I am very sorry, but through all of my research, you can't mass delete repls. You might just have to create a new account. Sorry!

firefish
ColePete

@firefish what do you mean no?

firefish

@ColePete no new account
I'll stick with over 250 unnamed repls, it's fine by me

ColePete

@firefish ok, but can you still give me credit for answering your question.

firefish

@ColePete you still haven't solved my problem, so I can't

ColePete

@firefish but there is no solution, so I am still correct.

Leroy01010
XD 145 new repls oof
xxpertHacker

Has this been solved yet? Are you still swimming in Repls?

firefish
xxpertHacker

@firefish How'd you deal with it?
Manually deleting them one by one?

firefish

@xxpertHacker That's what I want to avoid, but anyway, that would be impossible because @PDanielY is creating F# repls from his comment on the post

xxpertHacker

@firefish Lmao, yeah, he got me the first time I checked this too.

firefish

@xxpertHacker I've been gotten around 20 times now, I asked him to delete but he's ignoring. I may just report.

firefish

@xxpertHacker I have just solved it.

xxpertHacker

@firefish (o_o) Good job.

Btw, I opened this some time ago: https://repl.it/feedback/p/bulk-operations

HahaYes

lol gg

firefish

@HahaYes sórry for le pungery

firefish

@HahaYes i ain't giving you dem cycles back

bwoop

well i mean that wont work now but i mean that is what you should've done in the beginning

bwoop

ctrl z

firefish

@bwoop genius: but not working, because it's pretty hard to un-send 145 http requests that ended up creating a repl each, so um.... please add a ctrl-z for fetch mozilla, PLEASE

bwoop

@firefish idk how to help you sorry but if you delete 3 or 4 a day they will be gone in no time

firefish

@bwoop Well not of course with @PDanielY constantly creating F# repls with his image

xxpertHacker

LMAO, I'm dying, real smart move there.

Now honestly, I recommend heading over to repl.it/feedback and asking for mass Repl management options.

I want 'em too. ( I have too many repls and have used well over the 500MB cap :) )

FlaminHotValdez

Either move all of them into the folder and delete the folder or manually click delete 145 times. Or there's some console shenanigans you can do that I don't know T-T

RYANTADIPARTHI

Do you mean you want to delete them all at once?

firefish
RYANTADIPARTHI

@firefish i don't think there is a way to do that. You have to manually delete them. The only way to do it is call the repl.it team. Call them, and they can do it.

Coder100

Well you could move them all into a folder and deleting them, but that's dragging 145 times

firefish

@Coder100 lol génius pog

OlauPla

If it is something systematic you can do a pyautogui in your own IDE and it will do it automatically

programmeruser

Try looking at the js library here and see if there are any actions in the API that can delete repls.

firefish

@programmeruser oh wait... thankyou lol

TsunamiOrSumth

ouch

RayhanADev

Ummm, I don’t think you can xD. That’s a big rip xD how are there 145 langs though?

firefish

@RayhanADev erm try it lol (on an alt maybe)

RayhanADev

@firefish I no has pc rn (can i do it from a Repl console?)

firefish

@RayhanADev no lol has to be in le devtools (maybe repl has an XSS loophole lol)

realTronsi

@firefish nope you can't

realTronsi

@firefish wait how did you create repls, does repl have some user API?

firefish

@realTronsi like maybe mods can

firefish

@realTronsi it does actually, but can't you see i just use fetch()

realTronsi

@firefish no but how did you make the repl on behalf of your account though..

firefish

@realTronsi the repl.it/languages/[your_lang_here] creates a new repl of [your_lang_here]. Thaat's how secret langs came about.

realTronsi

@firefish

(maybe repl has an XSS loophole lol)

Probably not, XSS is a well known security risk now and most decent websites have protection against it, but imagine if you could write scripts in markdown lol

realTronsi

@firefish I don't see those 145 repls

firefish
firefish

@realTronsi Well I certainly do

realTronsi

@firefish but fetch can access cookies?

realTronsi

@firefish oh oof, also good luck getting that 500MB storage back.. I mean if repl does have some API you can go to your CLI and delete all the most recent ones

programmeruser

@realTronsi probably

RayhanADev

@firefish please sent screenshots of everything in that folder :)

firefish

@RayhanADev oof gimme a millenium

RayhanADev

@firefish hahahhahahaha lmao

FlaminHotValdez

@firefish Dang it

FlaminHotValdez

@firefish I shall create 4 more unnamed repls and exceed your unnamed repl count mwahahaha

firefish

@maxyang Well, thanks to @PDanielY, I now have 186 unnamed repls.

firefish

@RayhanADev me dumb lol

RayhanADev

@firefish oof, big brain move there.