livereload / livereload-extensions

LiveReload Browser Extensions
http://livereload.com/
198 stars 71 forks source link

Firefox extension doesn't seem to work #6

Open mgoerlich-dev opened 12 years ago

mgoerlich-dev commented 12 years ago

OS: Ubuntu 12.04 LiveReload Server: Guard-LiveReload v1.0.0 LiveReload-Extension: Firefox(13.0) extension v2.0.8 and 2.0.9

Starting Guard:
%> guard
Guard uses NotifySend to send notifications.
Guard is now watching at '/webapps/unite-ass'
> LiveReload 1.6 is waiting for a browser to connect.
> 
Pressing the LiveReload-Button in Firefox:

(Happens with the official 2.0.8 downloaded from here and a freshly build 2.0.9 from this Repo)

Browser connected.
Browser URL: {"command":"hello","protocols":["http://livereload.com/protocols/connection-check-1"]}
Browser disconnected.
Pressing the LiveReload-Button in Chromium:

(only tested v2.0.8, but i think 2.0.9 should be fine too)

Browser connected.
Browser URL: {"command":"hello","protocols":["http://livereload.com/protocols/official-6","http://livereload.com/protocols/official-7"],"ver":"2.0.6","ext":"Chrome","extver":"2.0.8"}
Using Rack-LiveReload:
Browser connected.
Browser URL: {"command":"hello","protocols":["http://livereload.com/protocols/official-6","http://livereload.com/protocols/official-7"],"ver":"2.0.3"}
exocode commented 12 years ago

same here... chrome works.. firefox 12 does not...

exocode commented 12 years ago

Firefox 8, Firefox 9 Firefox 12, Firefox 13, Firefox 14beta also not working!!!!

Chrome works, Safari works...

Come on people.. Firefox IS THE DEVELOPER TOOL!

mgoerlich-dev commented 12 years ago

at least a statement about this would be nice

exocode commented 12 years ago

this one helped me....

http://stackoverflow.com/a/11068251/977017

works now with firefox 13

;-)

carloslopes commented 11 years ago

same here and the stackoverflow solution works here too

ItayXD commented 11 years ago

Indeed the stackoverflow solution works for me too. please accept his pull req.

maksimr commented 11 years ago

Hi! I have same problem with Firefox extension, v2.0.9 (downloaded from the link above).

In Chromium, it's all right.

I have:

guard-livereload (1.1.3) firefox-livereload 2.0.9 OS Ubuntu (12.10) Firefox 20.0

firefox-extenson trace:

"Connecting to ws://127.0.0.1:35729/livereload..."
"Web socket connected, sending handshake."
"Incoming message: !!ver:1.6"
"Web socket disconnected."

It's fallback on script. chrome://livereload/content/livereload.js?ext=Firefox&extver=2.0.9&host=127.0.0.1&port=35729 in HTLM body. But when I change any file page doesn't reload.

guard-livereload trace:

22:59:11 - INFO - Browser connected.
22:59:11 - INFO - Browser disconnected.

Any suggestion how to make it...

UPDATE:

Exception... "The operation is insecure." code: "18" nsresult: "0x80530012 (SecurityError)" location: "chrome://livereload/content/livereload.js?ext=Firefox&extver=2.0.9&host=127.0.0.1&port=35729 Line: 191" Page located on remote server and accessed only for https.

Root of the problem https://github.com/RobotWebTools/rosbridge_suite/issues/6

Solution: Going to firefox's about:config and toggling network.websocket.allowInsecureFromHTTPS will get rid of the SecurityError.

Thanks!

cdekok commented 9 years ago

Changing this setting did not work for me it only works on chrome :( Firefox 35.01 / Ubuntu 14.10 - Livereload 2.08 / 2.0.9

thibaudroyer commented 9 years ago

mediatainment is right! Worked for me. Firefox 39 on Yosemite.

gitolog commented 9 years ago

@mediatainment Works perfect! Firefox 40.0.3

jnachtigall commented 8 years ago

Works perfect here with FF 42 and FF 43 using the current version (2.1.1) from AMO. So I think this issue could be closed.