Join us and the lead editor of IRL, Mozilla's multi-award-winning podcast, for a behind-the-scenes look at the pod and to contribute your ideas for the next season, themed: "AI and ME." Mark your calendar and join our Community Call on Wednesday, Aug 7, 17:00–17:45 UTC. See you there!

Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

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

  • 1 답장
  • 1 이 문제를 만남
  • 2 보기
  • 최종 답변자: 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.

글쓴이 jessica3 수정일시

모든 댓글 (1)

more options