safari not support FormData.get
See original GitHub issuein main.js line 373.
function connect_without_options() {
// use data from the form
var form = document.querySelector(form_id),
url = form.action,
data = new FormData(form),
pk = data.get('privatekey');
I’m writing a small tool supporting multi platform using webview.
I like your webssh, I really need this, please fix it.
I tried to fix, but I got “‘_xsrf’ argument missing from POST” after calling ajax_post
.
哥们儿加油。
Issue Analytics
- State:
- Created 5 years ago
- Comments:11 (6 by maintainers)
Top Results From Across the Web
formData get() Doesn't seem to work in Safari - Stack Overflow
I solved this by conditionally (if Safari is the browser) iterating through the elements property of an actual form.
Read more >"formdata" | Can I use... Support tables for HTML5, CSS3, etc
"Can I use" provides up-to-date browser support tables for support of front-end web technologies on desktop and mobile web browsers.
Read more >Shiming Request.formData in Safari - Paul Kinlan
When reading the request data that is posted by the user from a Form, you can use the event.request.formData() method to get a...
Read more >FormData.get() - Web APIs - MDN Web Docs
The get() method of the FormData interface returns the first value associated with a given key from within a FormData object.
Read more >Safari form data - Apple Community
After upgrading to IOS 9, safari does not save the form data for my ... hand side tap 'Autofill' and make sure that...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
代码已经更新了,你测试下现在行不行。
恩,我在js中使用两种不同类型的Form。