Commit dc680e7
committed
fix: allow vault + extension pages in tabs to access sensitive ops
isExtensionSender was blocking ALL messages with sender.tab, including
extension pages opened in tabs (vault.html). Now checks if the tab URL
starts with the extension origin — allows extension tabs while still
blocking content scripts on web pages.
Fixes "Unauthorized sender" error when creating a vault.1 parent 5641c6d commit dc680e7
File tree
17 files changed
+61002
-133
lines changed- distros/safari
- api-keys
- event_history
- experimental
- nostr-keys
- permission
- profiles
- security
- vault
- src
17 files changed
+61002
-133
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
362 | 362 | | |
363 | 363 | | |
364 | 364 | | |
365 | | - | |
366 | | - | |
367 | | - | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
368 | 369 | | |
369 | | - | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
370 | 376 | | |
371 | 377 | | |
372 | 378 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Large diffs are not rendered by default.
0 commit comments