MayhemYDG/4chan-x — Issue #137: Missing filenames in Firefox (new QR)
Author: MayhemYDG
Created: 2012-01-29 03:56:38+00:00
State: open
Labels: lolFox

Images posted with the new QR on Firefox/Aurora/Nightly have their filename missing.

**How can this problem be resolved?**

- Firefox needs to allow files to be sent to be messaged to iframes across origins. See:

>["We plan to allow postMessaging Files and FileLists across origins, that just needs a more in depth security review."](https://bugzilla.mozilla.org/show_bug.cgi?id=673742#c6)

or

- Firefox updates itself with the latest [XHR2 specs](http://dev.w3.org/2006/webapi/XMLHttpRequest-2/#the-append-method). See: [filename parameter in the FormData.append method](https://bugzilla.mozilla.org/show_bug.cgi?id=690659). 4chan X already does that, you'll just have to wait about 7 months for Mozilla to fix it.

or

- Contact [4chan's](http://www.4chan.org/contact) [admins](http://www.formspring.me/mrvacbob) (lol) and harass them to allow [CORS](http://www.w3.org/TR/cors/) between its subdomains. This would make the use of [iframes workarounds](https://github.com/MayhemYDG/4chan-x/blob/qr/script.coffee#L1342-1385) unnecessary, along with unlocking tons of AJAX possibilities.

or

- Use a [browser](https://www.google.com/chrome) that respects your user experience.