That checkbox is not useless, to a user who doesn't want to be
assaulted by dialog boxes from malicious or annoying sites (assuming
they still have cause to visit those sites). I regularly have to fend
off advances that ask for notifications or geolocation permission on
sites that I have no interest in sharing that information with.
Sadly, we can't give away the ability to write browser UX, which
includes removing the annoyance controls we offer people who use
Firefox. So your first three requests are ones we can't grant.
The addition of screen sharing to the permissions API is intended to
address your last point. See
https://github.com/w3c/mediacapture-screen-share/issues/28 This is
something of a neglected piece of code, but if you care about this,
contributions are welcome.
On Wed, Apr 11, 2018 at 12:12 AM, Alexander Abagian <aabag...@gmail.com> wrote:
> I'm faced with a UI problem concerning screen sharing dialog in FF 59. This
> dialog offers two options : "Allow" and "Don't Allow" and a checkbox Remember
> this decision.
> First of all, the checkbox is useless, if checked, "Allow" is disabled and
> "Firefox can not allow permanent access to you screen" text appears. The only
> alive button rest is "Don't allow".
> If an user select "Don't allow", then the dialog does no more appear at all.
> The user should find some icon left to the URL field and unblock sharing
> Worse, this dialog is called in my app from another dialog which selects the
> object type to be shared - screen or window.
> What I wish to have
> - best of all an ability to create my own dialog with needed options and
> buttons (Cancel instead of "Don't Allow")
> - or ability to disable "Don't Allow" button
> - or ability to programmatically cancel screen sharing blocking
> - or at least let the script know if it's blocked or not
> Would you advise something ?
> dev-media mailing list
dev-media mailing list