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")
Related
I have been trying to google around for a few days to find some kind of answer, but is their a difference between how iOS mobile devices understand JavaScript, vs Android?
I currently have some code that works as expected on Android (Chrome/Edge), and on Windows (Chrome, Edge, IE 8). But once we get to iOS devices, it doesn't work as expected.
I also tried to see if I could find an emulator for iOS mobile, or just downloading the mobile Safari browser, but wasn't able to find one (that didn't have a cost related to it).
I found the issue, it was related to the selectors in the code not being completed - Chrome got it, but safari didn't.
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).
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?
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?
after some time googel'ing I decided to ask for help on SO.
Is there a possibilty to debug iphone/ipad mobile safari browser on windows?
I read the tip in iPhone Browser simulator for Windows? to set the user agent of safari to the one of iphone/ipad but it didn't help.
My problem is the following:
I have a page what uses JavaScript and the page works fine in:
desktop firefox + waterbox, IE, Opera, Chrome, Safari (Safari user agent), Safari (iphone/ipdad user agent)
But it the JS doesn't work when I use the page with my fully updated iphone / ipad with its up-to-date mobile safari.
I know desktop safari is only version 5 with unknown if safari 6 will ever come - so I think that the user agents of this safari version are possibly "outdated".
Any suggestions how I can debug my page under iphone/ipad circumstances to find my mistake?
Thanks in advance