-
Notifications
You must be signed in to change notification settings - Fork 972
window.prompt is not supported currently #94
Comments
I think the work I'm doing in electron right now might help out with this |
looks like prompt is still not supported? |
+1 from @CliqueBait via #3295 |
+1 from Twitter; a user who would like to use Brave internally, but cannot due to the lack of |
@bridiver do you know if the underlying support is there for this? If so, I can knock this out pretty easily. It should help w/ out extension support |
We are currently relying on window.prompt for our dashboard, so support for this would be highly appreciated! :) |
Just learned from a user today that WooCommerce (3+ million WordPress users) uses |
+1 from Community: https://community.brave.com/t/dialogue-alert-pop-up-preferences/1974 |
Chromium to change behavior of dialogs: Chromium policy on JavaScript dialogs |
1+ need it for my WebApp.... |
Tentatively assigning to 0.23.x since this does cause a crash |
+3 from https://community.brave.com/t/brave-crashes-upon-javascript-popup-in-google-tasks/15138/6 @bsclifton can this be moved up to 0.24.x? |
This sa first pass at implementing the JavaScript function window.prompt. closes brave#94
This is a first pass at implementing the JavaScript function window.prompt. closes brave#94 - Add translations for message box 'ok' and 'cancel' - Introduce PromptTextbox and use it in messageBox for window.prompt
🎉 Thanks guys. Now if I want to super lazily implement user input, I don't have to do any extra work. |
+1 from community: https://community.brave.com/t/javascript-prompt-not-prompting/11315 |
Test plan
Try it
button on the right hand sideBrave
and clickOK
Hello Brave! How are you today?
is shownOK
Try it
button on the right hand sideCancel
buttonUser cancelled the prompt.
is shownCancel
Original issue description
We can patch here:
https://github.com/atom/electron/blob/c4931bb2d12f5905cdf434ed6ff1a755ccad053f/atom/renderer/lib/override.coffee#L92
window.prompt
The text was updated successfully, but these errors were encountered: