Ask coding questions

← Back to all posts
[Solved] Why won't my program run in a new tab?
AtriDey

It never works. I don't know what else to say. This one's a program for a Breakout.edu I'm doing at school, and it once again won't work.

https://denied-the-decryptor.atridey.repl.run/

Edit: It doesn't run on my school computer but it does on my PC and both my parents' MacBooks. Having friends check if it's the school or just me.

Answered by Giothecoder [earned 5 cycles]
View Answer
Voters
ArcherOfTheCode
AtriDey
Comments
hotnewtop
a5rocks

Looks like it works to me? Mind taking a screenshot / saying what the desired behaviour is?

AtriDey

@a5rocks

The desired output is WIP

I get a blank screen

Giothecoder

@AtriDey huh. There isn’t even the run button..

Maybe it’s being blocked for whatever reason?

AtriDey

@Giothecoder That's what I'm thinking. All other computers in my household run it. I'm having my friends check if it's a school thing, in which case I'll have to use the direct repl. I don't know. Well, I have to close this thread so enjoy the cycles.

Giothecoder

@AtriDey actually I think there is a thing you can put in the query string to a repl to make it really close to that, maybe if I find it I’ll send you an example.

Giothecoder

@AtriDey found it! Look at the end of the link, see that extra stuff? Just add it to the end of the repl link and it should workhttps://repl.it/@instagram/Follow-request-accepter?lite=1&outputonly=1

AtriDey

@Giothecoder From where? I tried after follow, after request, and after lite but got 404s on all.

Giothecoder

@AtriDey everything after the '?'.
here, the template is
https://repl.it/@<USERNAME>/<PROGRAM_NAME>?lite=1&outputonly=1

AtriDey

@Giothecoder Tried it. Didn't get a 404, so I'm assuming it worked, but still blank. Guess I'll have the player go to the teacher to run a Windows executable of this.
Edit 2: Spelled output wrong, thanks!
Edit: I misunderstood and did the wrong thing, but the right thing shows the code, which is unsatisfactory.

Giothecoder

@AtriDey wait so judging from the numbers on the edits: it works?

Giothecoder

@AtriDey oh! I see it now! Ok yeah. I’ll fix it too just so other people don’t get confused too.

Giothecoder

It just shows up as 404?

AtriDey

@Giothecoder No, it's just blank.