Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prep for v1.2.1 and Chrome Web Store submission #246

Merged
merged 6 commits into from
Apr 14, 2024
Merged

Prep for v1.2.1 and Chrome Web Store submission #246

merged 6 commits into from
Apr 14, 2024

Conversation

aspiers
Copy link
Member

@aspiers aspiers commented Apr 14, 2024

Remove activeTab from Chrome manifest, as it seems we don't need it after all.

This handler is actually getting called not just when handling
clicks from the right-click context menu within a page, but also
when clicking the toggle item provided by webext-permission-toggle
within the extension context menu.

Since it's not suppose to handle anything in that case, make sure it
returns gracefully.

Also improve debugging in this handler function.
According to research detailed in:

fregante/webext-permission-toggle#50

it seems that the `activeTab` permission is only required in Firefox
to make webext-permission-toggle work, and in the Chrome family it
works fine without it.
Prepare for new release without `activeTab` permission.
@aspiers aspiers merged commit 372582f into main Apr 14, 2024
4 checks passed
@aspiers aspiers deleted the dev branch April 14, 2024 16:04
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.

None yet

1 participant