L
L
Leshrac2014-02-26 22:40:56
JavaScript
Leshrac, 2014-02-26 22:40:56

How to leave extension UI open in Chrome Extension when focus is lost?

Extension UI - popup with multiple inputs. Each input is filled after clicking on the page.
When clicked, the extension UI loses focus and closes.
Google suggests 2 solutions:
- use infobar (not sure what suits me)
- use localStorage (before closing the UI, save - StorageArea.set (object items), when opening unload by keys (keys - field names in the form) - StorageArea.get (string or array of string or object keys)).
Are there any other ways to bypass the closure? Set the vector of thoughts please.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nikolai Vasilchuk, 2014-02-27
@Leshrac

Popup is not designed for this.
Use content_script and draw custom controls on the page.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question