After using this demo (http://crossrider.com/apps/24802/ide) I was able to make a popup menu that drops down once my extension button is clicked, just like the demo.
However I though I'd be able to modify it to make popups appear wherever I wanted on pages, similar to what LastPass extension does.
The goal here is to make little windows which users can interact with appear near certain DOM elements, without using pure HTML injection as that would not work in cases where I need to show a popup wider than an iFrame for example.
Is that possible?
Thanks
Help get this topic noticed by sharing it on
Twitter,
Facebook, or email.
Twitter,
Facebook, or email.
-
EMPLOYEE
1Hello Lee,
The browserAction popup menu is by design only opened and shown by the button as with any button popup.
If you need a menu within the page, you can use appAPI.contextMenu which opens when a user right-clicks on the page. -
-
I've thought of appAPI.contextMenu, but I need to be able to invoke this menu upon an interaction with another element rather than right-clicking
I've kinda sorted it out by injecting html into the page, which in fact I wanted to avoid.
Thanks! -
Loading Profile...




