Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Etsi tuesta

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Lue lisää

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

  • 1 vastaus
  • 1 henkilöllä on sama ongelma
  • 2 näyttöä
  • Viimeisin kirjoittaja 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.

Muokattu , muokkaaja jessica3

Kaikki vastaukset (1)

more options