Display Chrome extension popup at middle of page -


i new writing chrome extensions , wondering how can following.

how can make popup(when clicks on extension icon) display @ center of webpage instead of displaying popup @ top right corner ?

use chrome.browseraction.onclicked.addlistener(), fires "when browser action icon clicked." inject popup manually dom of supplied tab, using chrome.tabs.executescript().

also consider adding context-menu item, might make more sense user depending on extension does.


Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -