Relative Content

Tag Archive for javascriptgoogle-chrome-extension

How can I enter data into a custom-handled input field?

My extension has a context menu with items. What I’d like it to do: is when I right-click a editable HTML element (e.g. input or textarea) and then select and click on an item in my menu – some value defined by my extension gets entered into the input.

I tried to connect firebase to my chrome extension but It didn’t work

It showed this error:
Refused to load the script ‘https://gstatic.com/firebasejs/8.2.9/firebase-app.js’ because it violates the following Content Security Policy directive: “script-src-elem ‘self’ ‘unsafe-inline’ https://www.gsataic.com https://*.firebaseio.com https://www.googleapis.com”.
I build my chrome extension with manifest version 3,
Please help me !