diff --git a/4chan_x.user.js b/4chan_x.user.js index 4c5179b44..93548709c 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -357,6 +357,9 @@ } $.extend(r, callbacks); $.extend(r.upload, upCallbacks); + if (type === 'post') { + r.withCredentials = true; + } r.send(form); return r; }, diff --git a/changelog b/changelog index c5a00642d..706540354 100644 --- a/changelog +++ b/changelog @@ -1,11 +1,11 @@ master +- Mayhem + Fix 4chan Pass with QR on Firefox. 2.35.1 - Mayhem Add support for 4chan Pass. 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 - Mayhem diff --git a/script.coffee b/script.coffee index eac00f189..77295ce64 100644 --- a/script.coffee +++ b/script.coffee @@ -290,6 +290,7 @@ $.extend $, r.setRequestHeader key, val $.extend r, callbacks $.extend r.upload, upCallbacks + r.withCredentials = true if type is 'post' r.send form r cache: (url, cb) ->