google chrome - How can I open my extension's pop-up with JavaScript? -


i trying write javascript function open extension when extension icon clicked. know how open extension in new tab:

var url = "chrome-extension://kelodmiboakdjlbcdfoceeiafckgojel/login.html"; window.open(url); 

but want open pop-up in upper right corner of browser, when extension icon clicked.

the chromium dev team has explicitly said not enable functionality. see feature request: open extension popup bubble programmatically :

the philosophy browser , page action popups must triggered user action. our suggestion use new html notifications feature...

desktop notifications can used progammatically present user small html page popup. it's not perfect substitution, might provide type of functionality need.


Comments

Popular posts from this blog

java - Plugin org.apache.maven.plugins:maven-install-plugin:2.4 or one of its dependencies could not be resolved -

Round ImageView Android -

How can I utilize Yahoo Weather API in android -