Skip to content

Add console scam warning#760

Merged
7w1 merged 3 commits into
devfrom
console-scam-warning
May 7, 2026
Merged

Add console scam warning#760
7w1 merged 3 commits into
devfrom
console-scam-warning

Conversation

@7w1
Copy link
Copy Markdown
Member

@7w1 7w1 commented May 6, 2026

Description

Adds a bunch of messages warning about pasting into console. Currently set to repeat 15 times with 300 ms delay, maybe excessive? Noticed that when the client starts a lot of messages get spammed into console that quickly bury the warning message, so... extra is probably better than accidentally missing it when someone has console open before the page loads fully.

image

Internal since I don't think this matters too much to anyone.

Checks for console open by comparing the window size to the inner size, triggered on any window resize and running every couple seconds in the background.

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings

AI disclosure:

  • Partially AI assisted (clarify which code was AI assisted and briefly explain what it does).
  • Fully AI generated (explain what all the generated code does in moderate detail).

@7w1 7w1 added the internal label May 6, 2026
@7w1 7w1 requested a review from hazre as a code owner May 6, 2026 22:12
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 6, 2026

Deploying with  Cloudflare Workers  Cloudflare Workers

Status Preview URL Commit Alias Updated (UTC)
✅ Deployment successful! https://pr-760-sable.raspy-dream-bb1d.workers.dev f033320 pr-760 Wed, 06 May 2026 22:16:29 GMT

@7w1 7w1 merged commit 000e9ba into dev May 7, 2026
12 checks passed
@7w1 7w1 deleted the console-scam-warning branch May 7, 2026 01:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant