Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have in my hosts file and a script listening (and dummy-serving) on port 80. When I load directly, Firefox loads it correctly, but when I load (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, 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

(Edit: Happens on any 127.*.*.* and with various sites and (presumably) scripts.)

share|improve this question
Perhaps it's not loading it because it already loaded it. – David Schwartz May 4 '13 at 12:01
@Schwartz, Superuser gives me the "requires external js that failed to load" error (updated question). I'd be okay with Firefox just caching it for no good reason, since it would still have to request it eventually, but this seems to be Firefox thinking the server doesn't exist if it's hosted in 127/8. – David X May 4 '13 at 23:18
If it failed to load, then it probably is requesting it. – David Schwartz May 4 '13 at 23:28
Except that no connection shows up on the server script output (which does show a connection for url bar loads (and a couple of /favicon.ico loads as well)). – David X May 5 '13 at 0:03
Probably a long shot, but are you using a proxy by chance? And if so, when you go into Preferences (or Options), is there anything set that matches your 127.x.x.x pattern under Advanced -> Network -> Settings -> No proxy for? – jerdiggity May 5 '13 at 2:46

It's apparently NoScript's 'Application Boundaries Enforcer', which I just found out exists. Disabling it seems to makes the problem go away. Now I just need to figure out the most malware-hostile way of forcing it not to block jQuery.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .