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
Post a Comment