Guy Korland
Guy Korland

Reputation: 9568

How to force a Chrome extension to load after inline install

I have a website which includes an inline installation of Chrome extension.

The problem is that once the extension is installed it doesn't act on the my website until the user refresh the page. Is there a way to load the extension on the existing page without refresh?

Upvotes: 2

Views: 810

Answers (1)

Hank X
Hank X

Reputation: 2044

I think you can not load you extension without reload exsiting page after install.

so I think, try to use chrome.webstore.install(url, successCallback, failureCallback)

and call location.reload() in suncessCallback function.

Upvotes: 2

Related Questions