![]() |
chat not working in Chrome and Firefox |
Post Reply ![]() |
Author | |
damian ![]() New User ![]() Joined: 13 Sep 2018 Location: manchester Points: 2 |
![]() ![]() ![]() ![]() ![]() Posted: 13 Sep 2018 at 4:05am |
Whos On has suddenly stopped working in Chrome and Firefox, but still works in IE11 and Edge. When I look at the console in Chrome, I see the following error: GET https://www.example.com/chat/include.js?domain=www.example.com net::ERR_CONTENT_DECODING_FAILED 200 (OK) Firefox gives me this error: Loading failed for the <script> with source "https://www.example.com/chat/include.js?domain=www.example.com"My embed code is as follows: <li style="display:none" id="whoson_chat_wrapper"> <!-- Embedded WhosOn: Insert the script below at the point on your page where you want the Click To Chat link to appear --> <script type="text/javascript" src="https://www.example.com/chat/include.js?domain=www.example.com"></script> <script>if(typeof sWOTrackPage=="function")sWOTrackPage();</script> </li> Both browsers also give me this error: Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help http://xhr.spec.whatwg.org/ Could this be due to a recent update of Chrome and Firefox which is now blocking the synchronous embeded script? If this is the case, is there a known fix? Thanks. Damian
|
|
![]() |
|
Biker-Jim ![]() Expert ![]() ![]() Joined: 11 Nov 2016 Location: Terra Points: 150 |
![]() ![]() ![]() ![]() ![]() |
I assume you are not actually using example.com as the chat server hostname. Try taking the tracking code out of the <li> (list) tags as from your excerpt you appear to have it embedded in them. As it is javascript you don't need to put it inside list tags. To advise better, I will need the URL of one of the webpages where you tracking code is present.
Edited by parkersoft-jim - 13 Sep 2018 at 7:49am |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |