Skip to content

clicking the copy-url extension icon to copy the URL#2532

Open
0xRichardH wants to merge 4 commits intobasecamp:devfrom
0xRichardH:copy-url-to-clipboard-on-click
Open

clicking the copy-url extension icon to copy the URL#2532
0xRichardH wants to merge 4 commits intobasecamp:devfrom
0xRichardH:copy-url-to-clipboard-on-click

Conversation

@0xRichardH
Copy link

@0xRichardH 0xRichardH commented Oct 18, 2025

Closes: #2493

  • Added support for copying the current tab's URL when the extension icon is clicked
  • Modified notifications to auto-close after 4 seconds, preventing them from lingering indefinitely

@0xRichardH 0xRichardH force-pushed the copy-url-to-clipboard-on-click branch from 99c7301 to ee0dfee Compare October 18, 2025 16:43
@dhh
Copy link
Member

dhh commented Oct 18, 2025

Getting this error when I click the icon:

image

@0xRichardH
Copy link
Author

The error occurs because the extension tries to access chrome:// URLs, which Chrome extensions cannot access for security reasons.

This change introduces a check to prevent the extension from attempting to copy these restricted URLs.

@0xRichardH 0xRichardH force-pushed the copy-url-to-clipboard-on-click branch from d75eb5a to dcd828c Compare October 20, 2025 01:16
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