Skip to content

fix: close tab action#36

Merged
alyssaxuu merged 1 commit intoalyssaxuu:masterfrom
dubisdev:master
Jan 15, 2022
Merged

fix: close tab action#36
alyssaxuu merged 1 commit intoalyssaxuu:masterfrom
dubisdev:master

Conversation

@dubisdev
Copy link
Contributor

Hi! For security reasons window.close() doesn't work on tabs that haven't been opened by the same script, which was causing an error when trying to close the current tab.

image

I have added a function to close the tab from the background.js using the chrome API.

Thank you for this awesome extension 🚀

@alyssaxuu alyssaxuu merged commit f02d8b7 into alyssaxuu:master Jan 15, 2022
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