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

Execute javascript on tab #77

Open
DiamondDemon669 opened this issue Jun 19, 2022 · 3 comments
Open

Execute javascript on tab #77

DiamondDemon669 opened this issue Jun 19, 2022 · 3 comments

Comments

@DiamondDemon669
Copy link

I want to execute javascript on a selected tab.

I saw a runScript function in the code and chrome.tabs has an executeScript function

@Valodim
Copy link

Valodim commented Jul 3, 2022

I would also like to see this feature, it would really lift brotab's usefulness to the next level.

However, it's currently unclear how manifest v3 extensions could execute js code that isn't statically bundled with the extension itself. So until this is cleared up, such a feature requires breaking chrome web store policies. See this tampermonkey thread for more details: Tampermonkey/tampermonkey#644

@DiamondDemon669
Copy link
Author

Good news! I have managed to code this feature myself. Pull request coming soon (maybe) because I need to iron out all the bugs

@Valodim
Copy link

Valodim commented Jul 10, 2022

Sweet! Don't worry about polish too much, nothing wrong with a draft to gauge interest

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

No branches or pull requests

2 participants