Typing prompt()
in browser console returns null immediately. it doesn't work in scripts either.
It doesn't work in either Librewolf or Palemoon, and no errors either.
To reproduce:
prompt()
in your browser's Console.I suspect this has something to do with CSP.
Yes, this is by design.
Why is
allow-modals
disabled by design? It is used in this quantum circuit editor to prompt for user input.
~sircmpwn I don't understand the design.
allow-popups
is currently enabled, which offers more possibility to display information. Functions like window.alert are used by actual applications; they are also useful during prototyping. Please reconsider.