ember-cli-chrome icon indicating copy to clipboard operation
ember-cli-chrome copied to clipboard

support for "content_scripts"

Open narendrashetty opened this issue 10 years ago • 4 comments

Hi, Thanks for the toolkit. I am using it to build my extension, I have hit a road block while adding content_scripts can anyone help me out with it?

narendrashetty avatar Jul 08 '15 05:07 narendrashetty

You may need to place your extensions original manifest.json into the public folder, so this addon uses that instead of generating it's own manifest.json

devinrhode2 avatar Oct 13 '15 02:10 devinrhode2

@devinrhode2 do you see any particular caveats of placing the entire ember app in content scripts? I think it gives you more control on page placement etc.

lcpriest avatar Feb 09 '16 04:02 lcpriest

Well first, updatability. Second overall architecture. Do you have any mobile web access for the service? I would try to stick to the standard way of doing things as much as possible. I would recommend putting the ember app inside an iframe, that way to live reload worlflow given to you by ember cli still works.

devinrhode2 avatar Feb 09 '16 04:02 devinrhode2

Then once you have the ember app inside an iframe, use a content script to embed the iframe (this is how tweet/like buttons work)

devinrhode2 avatar Feb 09 '16 04:02 devinrhode2