Pretraži podršku

Izbjegni prevare podrške. Nikad te nećemo tražiti da nas nazoveš, da nam pošalješ telefonski broj ili da podijeliš osobne podatke. Prijavi sumnjive radnje pomoću opcije „Prijavi zlouporabu”.

Learn More

Scratchpad won't stop reloading after adding window.addEventListener("load", function(){})

  • 1 odgovor
  • 1 ima ovaj problem
  • 2 prikaza
  • Posljednji odgovor od cor-el

more options

I wanted to see if my code would run on load, so I added my script onto Scratchpad: window.addEventListener("load", function(){...}) and went to Execute Reload and Run. Now, whenever I go onto that site, the page will not stop reloading even though I have deleted my script from Scratchpad, closed the tab and navigated to the same site in a new tab, and even tried going into a private window. The reload problem persists.

Update: I thought that this was only happening locally, but it looks like it is happening on the live site. It's been refreshing nonstop. Would anyone happen to know how to remove the Scratchpad edit I made? I'm doing research on this, and I can't seem to find any documentation on it. I tried deleting the Scratchpad event listener code, then hitting run. I tried exiting out of scratchpad and the tab that I was using, restarting my computer, etc. Though I don't know if those last steps would make a difference.

I wanted to see if my code would run on load, so I added my script onto Scratchpad: window.addEventListener("load", function(){...}) and went to Execute Reload and Run. Now, whenever I go onto that site, the page will not stop reloading even though I have deleted my script from Scratchpad, closed the tab and navigated to the same site in a new tab, and even tried going into a private window. The reload problem persists. Update: I thought that this was only happening locally, but it looks like it is happening on the live site. It's been refreshing nonstop. Would anyone happen to know how to remove the Scratchpad edit I made? I'm doing research on this, and I can't seem to find any documentation on it. I tried deleting the Scratchpad event listener code, then hitting run. I tried exiting out of scratchpad and the tab that I was using, restarting my computer, etc. Though I don't know if those last steps would make a difference.

Izmjenjeno od jessica3

Svi odgovori (1)

more options