javascript - Getting the previous tab url on click of tab in chrome extensions -


i have published application in chrome webstore (example.extension.in). requirement add extension of example.extension.in browser programatically. i.e., in test application have icon. if drag , drop beside address-bar extension should added browser.

and when user clicks on icon while watching other site eg: www.facebook.com should url (www.facebook.com).

is there way achieve this?

you can't address bar since that's outside web view, can inline installation: https://developer.chrome.com/webstore/inline_installation

in terms of icon while on site, that's doable. need build browser action icon, , use active tab: https://developer.chrome.com/extensions/tabs


Comments

Popular posts from this blog

facebook - android ACTION_SEND to share with specific application only -

python - Creating a new virtualenv gives a permissions error -

javascript - cocos2d-js draw circle not instantly -