Skip to content

Conversation

@Urgau
Copy link
Member

@Urgau Urgau commented Dec 12, 2025

Turns out that using user-select: none is only guaranteed to not visually select a element, but does not necessarily prevent copying them.

Instead it is preferred that we used pseudo-elements to avoid copying the timestamps.

I have tested this change on Edge and Firefox.

cf. https://danoc.me/blog/css-prevent-copy

@Urgau Urgau requested a review from Kobzol December 12, 2025 18:18
Copy link
Member

@Kobzol Kobzol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Seems to work on Chrome too.

View changes since this review

@Kobzol Kobzol added this pull request to the merge queue Dec 13, 2025
Merged via the queue into rust-lang:master with commit f05fd9e Dec 13, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants