Run on Replit badge not disabled in WebView

When you make an HTML, CSS, and JS Repl, it autoinserts a badge. In the code I see:

image

Now of course id.repl.co has been removed, so it’s not suppressed in the WebView. It’s not suppressed anywhere unless you deploy and make the deployment URL anything.id.replit.app. It should instead just check if the location.host is replit.dev, or just check if window==window.top. That would be the simplest solution. This is kinda minor anyway but still if it was intended to be hidden in WebView then it should be.

Thanks for the keen eye on this one, @boston2029. I’ll submit this one for review and see how they’d like to update it.

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.