JS-Clock seems to be paused on Chrome - javascript

I have the following clock code of JS-Clock:
$(document).ready(function(){
$(".clock").jsclock('{{date('H:i:s')}}');
});
It works fine, but on Google Chrome 63.0.3239.108 (Official Build) (64-bit) on Ubuntu 16.04, when jump to another tab or open another application window i.e blur, the clock seems to be paused.
I tested it with Opera 49.0.2725.64 and it works fine without pause. What's the root cause of this issue and how could I solve it with Chrome, if possible?

Related

Webpage breaks on mobile devices (aw, snap!)

I have a problem with the https://konfiguratorszkolen.pl/ webpage - it works fine on desktop, but breaks on mobile devices.
On mobile, it loads at first and everything looks fine, but after a 1-2sec it shows "aw, snap" error. I've checked it only with Chrome and Safari on iPhone, but I believe it's a general problem.
I've already checked the website on
https://search.google.com/test/mobile-friendly
and
https://developers.google.com/speed/pagespeed/insights/
and the result are alright (mobile performance would be better).
What might be the problem? How can I debug this issue on mobile (of course works fine on a desktop browser)?
Here is the repository (it's only a code look-in): https://github.com/KamilSobieraj/Konfigurator_szkolen
What you're looking for is called remote debugging and is available for firefox, chrome and there's even solutions to debug iOS safari from your computer (no Mac needed).

Cannot set breakpoints at some lines in Chrome devTools source panel

This happens recently in my Chrome's source panel. It used to work just fine. Not sure if that's causing by the recent update of Chrome (I'm currently using 68.0.3440.106 (Official Build) (64-bit) on macOS High Sierra 10.13.6)
As you can see in the screenshot, these are all the locations that I can set breakpoints in this file. Normally, you can at least set breakpoints at line 6-10 but now, I can only set at line 8. Why?
Anyone who is also experiencing this?
Update: This also happens on my Windows machine with the same 68.0.3440.106 Build.

Delay firing socketio socket.on("disconnect") for mac only?

I am making this game and at one point the socket.on("disconnect") just decided to stop working on macs when they close the browser. It works fine on all windows computers I have tested it on, it just doesn't work on the mac. It does not work on all browsers that I tested on the mac (chrome, safari, firefox) but it works on windows chrome and firefox.
It is frustrating because it worked before and now there is a delay on the socket.on("disconnect")

Script errors that only show up in iOS Safari

We just launched a website for a client, but we've run into some weird issues (like images only loading half-way) on Safari on iPhone.
While trying to troubleshoot the issue, I checked for errors in inspect element with my phone hooked up to the macbook, and I see these three errors come up when I tap refresh:
We've only discovered these on mobile Safari so far. We've tested the site on Windows, OSX, Firefox, Safari, Firefox, and Chrome iOS, and the only place where we see the issue is Safari on iOS. Everywhere else the site loads beautifully.
Has anyone run into this before?

Drop down navigationw works in Firefox but not in Chrome

I've designed a web site with drop down navigation. It seems to work fine in Firefox, But Chrome refuses to show the drop downs on MouseOver.
Might be a JQuery issue....?
URL: http://www.lslib.ca/
EDIT1
Problem is being experienced with Version 45.0.2454.101 Ubuntu 14.04 (64-bit) (Chromium) and Version 39.0.2171.71 (64-bit) (Chrome on Ubuntu as well)
It actually appears to work just fine on my end (Chrome & Chromium). The drop downs successfully appear on mouse over. Maybe it's an issue on your browser?
It looks like you are using jQuery 1.4.4 and according to bootsrap (https://github.com/twbs/bootstrap/blob/v3.3.6/bower.json) it needs 1.9.1.

Categories