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

Q: Inject ContentScriptUI manually #1016

Open
2 tasks done
rezamajidi opened this issue Jun 29, 2024 · 0 comments
Open
2 tasks done

Q: Inject ContentScriptUI manually #1016

rezamajidi opened this issue Jun 29, 2024 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@rezamajidi
Copy link

What is the example you wish to see?

I'm creating a Chrome extension and for a small feature(optional) in my extension, I need to use ContentScript (I have a content.tsx file)
But as this content.tsx file requires lots of permissions and increases the review time by Google, I want to put it behind a button and use optional_host_permissions & optional_permissions to ask the user to grant the permission and then inject the content script to the DOM.(activate the feature)

I tried multiple ways already and still didn't succeed.

Is there any context that might help us understand?

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
  • I checked the current issues for duplicate problems.
@rezamajidi rezamajidi added the documentation Improvements or additions to documentation label Jun 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant