Share your repls and programming experiences

← Back to all posts
Firefox web browser on repl.it
UniqueOstrich18 (321)

Got Firefox on repl.it when I was bored in class. It uses a python script to delete a useless log file. It will take a while to install Firefox and Python. It can also be used to visit blocked sites.

Comments
hotnewtop
chocolatejade42 (45)

Well done, works amazing!

williham (11)

@chocolatejade42 if by amazing you mean laggy

williham (11)

@williham and constant tab crashes, but it's cool!

Vandesm14 (2645)

I moved your post from the Ask board to the Share board since Ask is for asking questions.

SixBeeps (5062)

Wooooahh, that's great.
Have you tried visiting blocked sites?

LevonJohnson (1)

I love this guys uploads

[deleted]

I have seen this before in python, but this is still so cool, unlike my python one this one dosent crash, which is pretty cool. I go to a school district where with their chromebooks, they go as far as to blocking reddit, so pretty cool.

RedMonster12 (2)

doesn't work, the python stops and says syntaxError

YPD (1)

Cool, I upvoted. Though you can run firefox in 1 line by opening a new bash file and putting in
firefox --no-sandbox
or in python you can do it in 2 lines by importing webbrowser:

import webbrowser
  webbrowser.get('firefox').open_new_tab('https://google.com')
jeweledfox (6)

There's a syntax error in line 5 in 'launch.py'. You need to put parentheses around the print statement.

Gurglemurgle123 (1)

Just wondering, where does it get the Firefox files from? I don't see the files in the code or any code to get it from the internet. (Note: I'm very new to repl.it)

YPD (1)

@Gurglemurgle123 firefox is actually already an app in repl.it. repl.it basically a docker container that has apps. Sorry I'm bad at explaining and I don't know much about docker containers.