127.0.0.1 ajax.googleapis.com in my hosts file and a script listening (and dummy-serving) on port 80. When I load
http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js directly, Firefox loads it correctly, but when I load
http://superuser.com/ (which uses jquery in a
<script> element) it doesn't request the script at all (and Superuser shows the "external js failed to load" error). The weird part is that when I remove the hosts entry and load the script from 126.96.36.199, Firefox does request the script (and successfully load it, although I don't care about that).
How can I get Firefox to correctly load scripts from 127.0.0.1?
(Edit: Happens on any 127.*.*.* and with various sites and (presumably) scripts.)