mobile-safari

Safari mobile and desktop are hiding full referrer URL: why?

会有一股神秘感。 提交于 2021-01-28 03:23:29
问题 I have a website, www.a.com In that website, I serve a page at https://www.a.com/mypage that contains this: <script src='https://www.b.com/anotherpage'></script> If I visit from every browser, b.com will receive this as http referrer: https://www.a.com/mypage However, if I visit from Safari mobile or desktop, the referrer becomes: https://www.a.com/ Why? How can I force Safari to send the full referrer? Example: from Safari, b.com logs: 123.45.678.901 - - [06/Jun/2020:00:32:03 +0200] "GET

Safari mobile and desktop are hiding full referrer URL: why?

帅比萌擦擦* 提交于 2021-01-28 01:50:37
问题 I have a website, www.a.com In that website, I serve a page at https://www.a.com/mypage that contains this: <script src='https://www.b.com/anotherpage'></script> If I visit from every browser, b.com will receive this as http referrer: https://www.a.com/mypage However, if I visit from Safari mobile or desktop, the referrer becomes: https://www.a.com/ Why? How can I force Safari to send the full referrer? Example: from Safari, b.com logs: 123.45.678.901 - - [06/Jun/2020:00:32:03 +0200] "GET

PWA not opening in full screen mode on iphone/ipad

≡放荡痞女 提交于 2021-01-27 16:12:12
问题 I went through several articles related to PWA on ios but still not able to figure out why I am seeing address bar after adding an app to the home screen. I would be glad if someone could help me with this. meta tags in my index file <meta charset="UTF-8"> <meta name="apple-mobile-web-app-capable" content="yes"> <meta name="mobile-web-app-capable" content="yes"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <meta

PWA not opening in full screen mode on iphone/ipad

风格不统一 提交于 2021-01-27 16:09:17
问题 I went through several articles related to PWA on ios but still not able to figure out why I am seeing address bar after adding an app to the home screen. I would be glad if someone could help me with this. meta tags in my index file <meta charset="UTF-8"> <meta name="apple-mobile-web-app-capable" content="yes"> <meta name="mobile-web-app-capable" content="yes"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <meta

Web Audio API Memory Leaks on Mobile Platforms

半城伤御伤魂 提交于 2021-01-17 04:07:06
问题 I am working on an application that will be using Audio quite heavily and I am in the research stages of deciding whether to use Web Audio API on devices that can support it. I have put together a very simple test bed that loads an MP3 sprite file (~600kB in size), has a play and pause button and also a destroy button, which should in theory allow GC reclaim the memory used by the Web Audio API implementation. However, after loading and destroying ~5 times iOS crashes due to an out of memory

How to prevent Safari from implicitly converting character in XHR request?

时光毁灭记忆、已成空白 提交于 2020-12-15 05:25:31
问题 I picked this character 〉 as a separator for my combo-key-field for my DynamoDb database. That character surfaces in the browser as part of a next-page-query token. (in an endless scroll list view) Chrome properly sends that character to the backend (as part of the next-page-query token). However, Safari, sends that character as this character: 〉 , which is different, and as a result, my backend is unable to recognise it. Why is the browser changing the character? Is this behaviour expected?

CSS transform on SVG text element not working in Safari

我怕爱的太早我们不能终老 提交于 2020-12-12 11:22:05
问题 Trying to position a battery indicator within a parent SVG.The SVG <svg viewBox="0 0 24 24"> element has a path for the battery and a text element showing the percentage.Its being positioned with a couple of css transforms and text attributes.The text is correctly positioned when opening in chrome/firefox but goes offshoot in safari. <text text-anchor="middle" dominant-baseline="middle" style="transform:translate(50%,98%) scale(.2); font:700 13px sans-serif;fill:#deba78" >24.2%</text> Codepen