Skip to content

Added More Clipboard Information#373

Open
rijulshrestha wants to merge 2 commits intomainfrom
clipboard-info
Open

Added More Clipboard Information#373
rijulshrestha wants to merge 2 commits intomainfrom
clipboard-info

Conversation

@rijulshrestha
Copy link
Contributor

No description provided.

Comment on lines +132 to +139
> [!warning] HTTP limitations
> The internal browser clipboard API to access any clipboard data is only available over a secure context (HTTPS). When the application is accessed over HTTP, browsers enforce serious limitations on how the system clipboard can be accessed. Users can only copy and paste text to the page itself and will have to double press `Ctrl+C` and `Ctrl+V` (`Cmd+C` and `Cmd+V` on macOS).
>
> To resolve this issue:
>
> - Using an **HTTPS proxy**.
> - Enable the page as a secure context using browser settings.

Copy link
Member

Choose a reason for hiding this comment

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

This should be added under the clipboardMode permission. Only when using permission it uses the underlying browser clipboard api which requires a secure context.

@rijulshrestha rijulshrestha marked this pull request as ready for review March 20, 2026 09:38
@rijulshrestha rijulshrestha requested a review from epanholz March 20, 2026 09:38

The first time an operation is requested, the user will be asked for permission to use the clipboard. If this permission is refused, a message will be prompted explaining this permission is necessary to continue.

> [!warning] HTTP limitations
Copy link
Member

Choose a reason for hiding this comment

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

Please add that this limitation is specific to permission mode, to make it more clear:

[!warning] HTTP limitations in permission mode

After that we can merge it

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