I am trying to use a Chrome extension to inject an html modal popup (like this one: uses css, js, and html). Basically, I have nodejs to send an announcement to the background file, and it has successfully triggered a function. I want that function, though, to be able to inject the modal popup and show it on the screen. Thanks for any help!
Asked
Active
Viewed 3,462 times
0

Rhalp Darren Cabrera
- 926
- 14
- 23

Oliver Leopold
- 21
- 1
- 4
-
You'll need to provide your code so we can see what you're doing and where you're stuck. – freginold Mar 16 '18 at 11:45
-
Show your code. – Aefits Mar 16 '18 at 12:14
-
Hey @Oliver Leopold, did you found any solution, If so Please tell me what it is, i am in the same situation. – Blaze_droid Jul 18 '21 at 15:41
1 Answers
-1
Previously answered question, use content.js in chrome extension to inject markup into the dom.

webbist
- 456
- 4
- 19
-
Modals are a different issue. You will most likely want the modal to look the same across different sites, how do you do this without having the site's css interfere? – Sean Letendre Jun 07 '18 at 04:26