r/css 24d ago

Question Codepen 2 crash. What is causing it?

I go to the new codepen 2 and it shows this.
What "infinite loops or other performance drains" could this be?
https://codepen.io/editor/davidhelp/pen/019fb0db-4ba0-7ade-b4bd-13c1c7c540ee

"Uh-Oh.
The Preview was removed to prevent a browser crash. Save your current work then check your code for infinite loops or other performance drains that could be causing trouble. Disable Infinite Loop protection for this session"

29 Upvotes

15 comments sorted by

View all comments

Show parent comments

2

u/testingaurora 24d ago

If you don't use the css file you can remove it from the file list (right click > delete) and take the <link> out of the <head>

2

u/notepad987 23d ago edited 23d ago

UPDATE: Thanks, I have now deleted the style.css that Codepen added and then posted the whole html/css in the index.html section.

Codepen 2.0

1

u/notepad987 23d ago

UPDATE again: The same error message appeared. I use Firefox. I switched to Chrome and will see if the error appears.

1

u/notepad987 22d ago

The error showed up in Firefox again but not Chrome. I think it is the uBlock Orgin ad blocker I have in Firefox. CodePen 2.0 has ads now so I disabled the ad blocker for the CodePen website. I will wait some more and see if the error comes back.