How to detect when Mobile Safari is closed? - mobile

$(window).bind('beforeunload',function(){
alert('closing');
})
Above code only seems to work for desktop browsers.

You can do alerts on unload, but mobile safari doesn't seem to have beforeunload.

Related

in Ipad history.replace() results in error only in production

In react/iPad do we have limitation regarding the history.replace() function ? As during testing history.replace() function is not working only in iPads the same works fine in Android mobiles and tablets.
Is there any limitation or so either in React BrowserRoutes or iPad browsing history.?
Seems like issue wasn't with the history.replace() rather using localStorage in incognito window in safari browser on mobile and tablet devices. Guess this is specific to Safari browser versions too

Why Fullstory library makes scroll slower on Chrome browser?

We use the Fullstory (www.fullstory.com) library to track the usage of our product, but we have problems on Chrome browser : when we scroll on desktop or mobile, it's 2 or 3 times slower than on other browers (for instance Safari or Firefox).
Is it a Chrome API problem (onScroll ? ) or a Fullstory bug ? We use AngularJS as front-end framework, maybe this is an AngularJS <> Fullstory bug ?

Maximize method is not working for safari browser

I have been using
driver.manage().window().maximize();
for maximizing the window browser. It works fine with other browsers i.e IE,Chrome,FireFox.
I have installed safari on my windows machine and trying to automate my application on safari.But Its not working with safari.
You can use Glims add on for maximizing safari(MAC OS). Look at the link : Maximize safari browser

Website content is pushed left when viewed in Android browsers

This website's content is bunched to the left when viewed on android browsers, as demonstrated in the two screenshots below. I feel like I've come across other websites with this issue when using my mobile browser, so I'm thinking it isn't an uncommon issue.
The site isn't responsive (yet) and there are no media queries. I am not using the viewport meta tag, to prevent initial zoom-in on a non-responsive site (as detailed here).
The issue isn't happening on:
iOS Simulator, Safari Browser
Opera Mobile Emulator (emulating opera running android devices like Kindle Fire and HTC phones)
Android Samsung Smartphone, Firefox and Opera browsers
The issue is happening on:
Android SDK, (emulating an android browser on a Nexus S)
A Samsung Galaxy S2 (pictured below), in Chrome, Dolphin, & Default browser
Here are the details for the device in the screenshot:
device_model = samsung SGH-T989
device_res = 480x800
orientation = portrait
os_name = Android
os_version = 4.0.4
pixel_density = 240 dpi
url = http://bryanbraun.com/
Mobile Version
Desktop Version
Try adding a background-color on the tags which contain the text. This way, android will (hopefully) consider these some kind of blocks and (probably) will render them fine.

Silverlight iframe issue with google chrome - works in Firefox & IE

I have an application, built in silverlight that I am calling via an iframe.
In IE, firefox the applications buttons work but in google chrome they do not..
I am pulling my hair out and am thinking that it is a bug in Google Chrome.
Does anyone have any ideas/suggestions?
URL: http://gotek.dev.pixel-geeks.co.uk/
Click on the "Click here to try our panel live!" button to see the issue.
It is a Chrome bug that Google has previously fixed but has risen again.
There are reports that it only affects if app running in windowless mode.

Resources