amperser / proselint

A linter for prose.
http://proselint.com
BSD 3-Clause "New" or "Revised" License
4.37k stars 179 forks source link

Live demo broken on Firefox #227

Open suchow opened 9 years ago

suchow commented 9 years ago

The live demo at http://proselint.com/write is broken on Firefox, which gives the following error:

NS_ERROR_DOM_BAD_URI: Access to restricted URI denied
PatchRanger commented 9 years ago

Can't reproduce, opening the URL with my Firefox at Ubuntu works fine (Ubuntu 14.04, Firefox 41.0.1).

suchow commented 9 years ago

Weird, I can reproduce this on OS X and Firefox 34.0.5:

screenshot 2015-10-13 13 46 49

PatchRanger commented 9 years ago

Sorry, I misunderstood you, I am getting the same message in the console at my environment.

suchow commented 9 years ago

@PatchRanger If the demo is working, you should be able to see some phrases underlined in black that, when hovered, give recommendations:

screenshot 2015-10-13 14 11 53

pyk commented 9 years ago

It's look like the firefox itself doesn't automatically accept URL like https://user:pass@domain https://bugzilla.mozilla.org/show_bug.cgi?id=523117

It requires user to manually edit the user preference "network.automatic-ntlm-auth.trusted-uris". https://groups.google.com/d/msg/mozilla.dev.web-development/B26FSKBvhvM/3E6eOVOtAl0J

PatchRanger commented 9 years ago

The error occurs in Reqwest library, so I guess this issue is related: https://github.com/ded/reqwest/issues/136 .

alexyorke commented 8 years ago

I wasn't able to get Firefox 47.0 working on Ubuntu 16.04 with proselint 0.6.1 using network.automatic-ntlm-auth.trusted-uris value serverName. I still get the above errors in the DOM console though, and it seems to originate from the Reqwest library.

There's no sign that that bug in Reqwest is getting closed; someone suggested that the httpplease.js library might be a nice replacement.

suchow commented 8 years ago

This library also looks like it could be a good replacement: https://github.com/mzabriskie/axios

alexyorke commented 8 years ago

It looks like axios would be a very good option, as it seems that it doesn't have any problems in Firefox that we were experiencing, and should fix the website. Did you want us to start getting the website transitioned over to axios?