Skip to content

Fix settings link in Arc popup#811

Open
ddhjy wants to merge 1 commit into
obsidianmd:mainfrom
ddhjy:codex/fix-arc-settings-page
Open

Fix settings link in Arc popup#811
ddhjy wants to merge 1 commit into
obsidianmd:mainfrom
ddhjy:codex/fix-arc-settings-page

Conversation

@ddhjy
Copy link
Copy Markdown

@ddhjy ddhjy commented Apr 28, 2026

Summary

  • open the settings page through an explicit extension URL instead of runtime.openOptionsPage()
  • route the popup settings button through the existing openSettings message
  • prevent the popup settings anchor from falling back to #

Why

In Arc, clicking the popup settings button from a non-clippable page such as arc://extensions/ can land on the extension error page instead of opening the Web Clipper settings page. Opening settings.html?section=general explicitly avoids Arc's openOptionsPage() behavior.

Testing

  • npx webpack --env BROWSER=chrome --mode development
  • loaded the unpacked extension in Arc and verified the popup settings button opens settings.html?section=general

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.

1 participant