fix 4chan pass on fx

This commit is contained in:
Nicolas Stepien 2012-09-18 20:55:19 +02:00
parent 262b34257e
commit b809fd97ab
3 changed files with 6 additions and 2 deletions

View File

@ -357,6 +357,9 @@
} }
$.extend(r, callbacks); $.extend(r, callbacks);
$.extend(r.upload, upCallbacks); $.extend(r.upload, upCallbacks);
if (type === 'post') {
r.withCredentials = true;
}
r.send(form); r.send(form);
return r; return r;
}, },

View File

@ -1,11 +1,11 @@
master master
- Mayhem
Fix 4chan Pass with QR on Firefox.
2.35.1 2.35.1
- Mayhem - Mayhem
Add support for 4chan Pass. Add support for 4chan Pass.
You can now use 'Enter' in keybind combinations. You can now use 'Enter' in keybind combinations.
!!! This is not working on Firefox because of Greasemonkey/Scriptish limitations, see
https://github.com/greasemonkey/greasemonkey/issues/1630
2.35.0 2.35.0
- Mayhem - Mayhem

View File

@ -290,6 +290,7 @@ $.extend $,
r.setRequestHeader key, val r.setRequestHeader key, val
$.extend r, callbacks $.extend r, callbacks
$.extend r.upload, upCallbacks $.extend r.upload, upCallbacks
r.withCredentials = true if type is 'post'
r.send form r.send form
r r
cache: (url, cb) -> cache: (url, cb) ->