Capt'n Flash contact at
Wed Jun 21 13:38:05 UTC 2017



We are trying to migrate our Firefox extension to the new webextension


Actually, when we click on a button, we are able to open a modal dialog.

The goal of this dialog is to prompt a message from the user, and to save
the result in a variable.


We to it llike this :


openDialog("chrome://myextension/content/addcomment.xul", "",
"resizable=yes, modal", params, retVals).focus();






I need to keep this functionnality with webextension, but I get this error
message : openDialog is not a function


How can I do this with webextensions ?



Thanks you in advance for your help,






-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.jpg
Type: image/jpeg
Size: 31706 bytes
Desc: not available
URL: <>

More information about the Webextensions-support mailing list