Share your repls and programming experiences

← Back to all posts
Web Unblocker
Evanlicious (78)

After consulting with a guy who had a 3 line version of something that was on the Repl.it blog, I discovered that I could convert it to one line. So, now you can browse the internet.

Note: This is NOT that good for playing games or watching videos, but for viewing any resource, it really helps. Also, you can on any website, since it runs from a different computer that isn't connected to your school computer in any way.

Commentshotnewtop
Coder100 (1308)

Nice 👍 can't use it on iPad tho :(

chromium-browser --no-sandbox
while true ; do $votes++ && $bash++ ; done

Or, even better

chromium-browser --no-sandbox
node -e "for(;;){votes++;bash++;chrome++;}"

:)

Highwayman (1093)

@Coder100 oh yes you can! I made a little repl, I’ll share it with you.

roylatgnail (771)

oh my god
its so faaaaaast

Evanlicious (78)

@TaylorLiang When I described it to my friends, they said it was "like a Raspberry Pi 3B+." It's pretty fast, only takes around 10-20 seconds to get ready and stuff.

Evanlicious (78)

https://repl.it/@Pandapip2/yet-another-chrome-browser is a new browser that supports the shift-key, made by Pandapip2. Give him some congratulations! It also runs around the same speed, if you exclude the downloading of the modules.

Pandapip2 (8)

@Evanlicious Thank you, and you should get most of the credit for the chrome-browser --no-sandbox. I got the idea fully from this post and JordanDixon1's one. Link to my post: https://repl.it/talk/share/Yet-ANOTHER-chrome-browser/29018
(for reference, the reason I didn't use k.type_string is to properly trigger js events and captchas)

Evanlicious (78)

@Pandapip2 Gotcha. Yeah, my project was actually partially inspired off of JordanDixon1's project as well, as well as Vandesm14's project. (Although mostly the latter.)

Evanlicious (78)

@Pandapip2 Also, I believe Vandesm14 had the first "chrome-browser --no-sandbox."

Evanlicious (78)

@14bouncyspoofer By using the pre-installed chromium browser, look at the code for more information.

14bouncyspoofer (1)

@Evanlicious i dont know this magical stuff
also is the pages showing up "oh snap" normal

Evanlicious (78)

@14bouncyspoofer Probably not. I think it happens when a website fails to load. Look into it though. I'll try my best to find out what caused it, because it happened to me once too.

14bouncyspoofer (1)

@Evanlicious
it might be using my school computer though
but yeah
pages work when it starts up and then theres like this special second that stops everything and does aw snap or oh snap
thats all i know but other then that very cool

CodingOH (1)

That is very cool!

Evanlicious (78)

@CodingOH Thanks, much appreciated.

WyattKeenan (17)

Using the Unblocker to use the Unblocker. Whoa.

WyattKeenan (17)

@Evanlicious
Yup. Teeny tiny cursor, can't see anything.

xBlaziken (13)

Um, I kinda accidentally maybe DDOS'd you? You should probably make it so that the IP Address of whatever computer is different from the actual IP. :|

Evanlicious (78)

@xBlaziken It is Repl.it that runs this browser, not me. It's not coming from a computer of mine.

xBlaziken (13)

@Evanlicious Oh epic so I just DDOS'd repl.

Evanlicious (78)

@xBlaziken Maybe. Or it hosts things on separate IPs, so that you can't DDOS the whole thing, but just one project.

xBlaziken (13)

@Evanlicious Yeah I was thinking something along the lines of repl having multiple servers all around the world, but you always connect to the server closest to your location. Because I checked the IP of the repl, and it's rather close to where I live, and I highly doubt that it's a mere coincidence.

Edit: also for some reason when I put the IP in to search, it gives me this message: "ヾ(*ФωФ)βyё βyё☆彡"

Pandapip2 (8)

@Evanlicious I believe that they are hosted in docker/Kubernetes/some other container management system.

CodeSalvageON (333)

I’m only using it with one hand so it’s gonna be difficult......

judeCode (1)

can't get a @ sign :(

Evanlicious (78)

@judeCode Oh, try looking up "at sign" on there, and copying it. I have no other solution to this as of now.

Pandapip2 (8)

@Evanlicious shift just doesn't register.

Evanlicious (78)

@Pandapip2 Yeah, that's something that if I update this, would be the number one priority fix.

Foster_Bryant (97)

bruh I legit made this on polygott like 1 to 2 months ago...

Evanlicious (78)

@Foster_Bryant Oh, cool. Sorry if I accidentally made something like yours. That was not my intent.

Foster_Bryant (97)

@Evanlicious It is ok I don't think u stole from me but someone else who did made the unblocker popular... so more ppl made diff versions. I never posted mine :(

Evanlicious (78)

@Foster_Bryant Gotcha. Well, perhaps you could add something that differentiates it from the others? Whatever you do, good luck. Godspeed, friend.

MrMinimax (149)

This is really nice! I personally like doing this kinda thing via polyogtt like this
'''
.PHONY: run

run:
chromium-browser --no-sandbox https://;
'''

Evanlicious (78)

@MrMinimax I'll take that into consideration. Does it run any faster on polyogtt?

MrMinimax (149)

It runs at about the same speed but only takes 6sec on average to boot [email protected]

MrMinimax (149)

I'm working to make mine accept the shift [email protected]

Evanlicious (78)

@MrMinimax Oh, cool. I saw a few people that were concerned about that, so be sure to comment on some of their posts to tell them you are making a shift-accepting unblocker.

PDanielY (732)

Isn't this basically the other website unblocker?

Evanlicious (78)

@PDanielY I'm not sure, I haven't seen the other, the closest thing I saw to this was a three lined polygott code. I just converted that to Bash.

rose24 (0)

cooooooool!! nice job man

Evanlicious (78)

@rose24 Oh, thanks! You comment is appreciated.

Evanlicious (78)

Credit to @Vandesm14, who is a really cool guy and showed me his version of this.

Also, the benefits of using this rather than the twelve-line Python version by @JordanDixon1 is that goes a lot quicker, while still having the same functionality. Thanks for viewing.

JordanDixon1 (271)

@Evanlicious This is good, however there is still none of the shift-only keys like the @ symbol. In V2 of my post I made it possible.

Evanlicious (78)

@JordanDixon1 Oh, yes. I for some reason couldn't do that in yours either. I had to look up "at symbol" in order to get it. It's something odd that I don't really know how to solve as of now.

Evanlicious (78)

Although, it might be my computer that caused the issue and not your program.

JordanDixon1 (271)

@Evanlicious here is v2 it has shift keys like the @ symbol, however you have to type it in the cmd line interface.
https://repl.it/talk/share/Unblocker-V2/27753

Evanlicious (78)

@JordanDixon1 Oh, never saw that one. Let me check it out and tell you my results.

Evanlicious (78)

@JordanDixon1 It must be my computer, I am using a chromebook and it doesn't work for me.

JordanDixon1 (271)

@Evanlicious Are you typing in the python command interface?

Pandapip2 (8)

@JordanDixon1 use input rather than getkey()?
def dtypeinput():
while True:
driver.type(input())
threading.Thread(target=dtypeinput).run()
should work.
Maybe.

Pandapip2 (8)

Sorry, it removed my whitespace. while True should be indented 1 and driver.type(input()) should be indented 2. Also, since this is python 2.7, maybe raw_input would be better.

JordanDixon1 (271)

@Pandapip2 Either way could work. As long as you have a loop to restart the process.

Pandapip2 (8)

Also, what is the purpose of the os.system('pip3 install pyautogui')? It works fine with it commented in my fork.

Pandapip2 (8)

@Evanlicious I made a version of this that runs in about the same time (minus the package installs) and supports the shift key. https://repl.it/@Pandapip2/yet-another-chrome-browser

Evanlicious (78)

@Pandapip2 Share that with some of the people in the comments, they would love it! Thanks for your support and innovation.

Evanlicious (78)

@Pandapip2 Actually, I'll link it in my post. I'll give you the honor you deserve.