Tampermonkey is the most popular userscript manager, with over 10 million users. It's available for Chrome, Microsoft Edge, Safari, Opera Next, and Firefox.
GNU General Public License v3.0
4.28k
stars
423
forks
source link
overrideMimeType in GM_xmlhttpRequest doesn't work #14
What steps will reproduce the problem?
1. Send GM xhr with overrideMimeType: "charset=x-user-defined".
2. Send GM xhr without overrideMimeType.
3. The returned responseText is the same.
This is also an issue in Blank Canvas, so I don't know if this is a bug in the
Chrome extension API or what, but this makes it impossible to request unencoded
binary files, since the default encoding corrupts them. It apparently works in
normal xmlhttpRequests:
http://blank-canvas.net/forums/topic/id_506/n_overridemimetype_for_gmxmlhttprequ
est/
Original issue reported on code.google.com by couchym...@gmail.com on 18 Mar 2011 at 3:40
Original issue reported on code.google.com by
couchym...@gmail.com
on 18 Mar 2011 at 3:40