Hi,
> Again, with little knowledge of the new APIs, here are some potential > solutions: > > - The JS API `window` has a few existing methods to display a dialog: alert > <https://developer.mozilla.org/en-US/docs/Web/API/Window/alert> (dialog > with OK button), confirm > <https://developer.mozilla.org/en-US/docs/Web/API/Window/confirm> (dialog > with OK & cancel buttons), and prompt > <https://developer.mozilla.org/en-US/docs/Web/API/Window/prompt> (dialog > with OK & cancel buttons and an input field). You can run these in the > context of the page. not flexible enough. So far I have a custom vertical menu with 5 entries which could easily become more. > - Inject your own custom HTML prompt in the page the user is interacting > with – you could model it after the JS prompts or existing Android prompts. > There are also open source libraries for this (some examples, which I have > not vetted myself: bootbox <http://bootboxjs.com/> and vex > <http://github.hubspot.com/vex/docs/welcome/>). Isn't this a security disaster waiting to happen analogous to this: https://bugzilla.mozilla.org/show_bug.cgi?id=1287590 Has this been somehow addressed? Richard -- Name and OpenPGP keys available from pgp key servers _______________________________________________ mobile-firefox-dev mailing list mobile-firefox-dev@mozilla.org https://mail.mozilla.org/listinfo/mobile-firefox-dev