In our web application we have a video with a playsinline attribute. It shouldn’t switch to fullscreen mode in Safari but it does.
Any help would be appreciated.
Safari
RSS for tagSafari is the web browser developed by Apple and built into all Apple devices.
Posts under Safari tag
200 Posts
Sort by:
Post
Replies
Boosts
Views
Activity
Hello everyone, i want to set transparent status bar (where wifi and time), in my pwa app, writing on html, using manifest.manifest and sw.js, i make:
and this not work, i am want but this work on ios 15-17.xx, who know, how do setup this variable?
Hello Sirs,
I've developed http/2 server, tested with nghttpx, Edge, Mozilla, Chrome web browsers, all seems to be fine.
As I navigate to an url under my http/2 server with Safari browser (ver 17.^) on MacBook 2023, the server is catching WINDOW_UPDATE frame for stream id 0, but unfortunately no WINDOW_UPDATE frames with specific stream Id are sent from Safari
http/2 specification tells, that this frame for stream id 0 isn't yet enough to be allowed to send DATA frames to browser. The concrete stream id is needed in WINDOW_UPDATE frame.
The INITIAL_WINDOW_SIZE setting of the SETTINGS frame from Safari is only 100 bytes. I just send the response SETTINGS frame with ACK flag set true, not trying to increase this setting's value.
Now the server just sends first DATA frames for each stream, and Safari fetches them, renders and shows in browser, however the streams' window sizes are exhausted. But I'm not risking pushing all DATA frames of larger files, so that other browsers then don't RST these streams.
Any infos for me please about specific Safari http/2 frames flow?
I'm developing a PWA for mobile Safari. Here is a video of the problem that I have: https://share.icloud.com/photos/068xNZvHZqAQI83EP5FHJj8ag
I open the app. It's like a Hacker News or Reddit clone so users always navigate away to external links.
The external link gets opened in this overlay, which I really like, that's great
However, when I press "done", you can see how the page somehow re-evaluates the JavaScript. E.g. the "voting errors" start pulsating which means that the page re-fetches some data from the server, which IMO isn't strictly necessary as the page was fine without that
I noticed that this isn't happening if I e.g. have the page open in a tab on regular Safari. When I then navigate to the tab, it doesn't reload JUST the JavaScript
What I also find weird about this is that it seems to only reload the JavaScript, not the entire page.
My site is at https://news.kiwistand.com/ so you can test this for yourself. The source code of the frontend is here https://github.com/attestate/kiwistand/tree/main/src/web and here's the PWA manifest https://github.com/attestate/kiwistand/blob/main/src/public/pwa.json
My question: Is there a way I can stop Safari from "reloading" the JavaScript when navigating back from an external link?
In Safari 17.0 App Extension user is able to modify per-site permissions due to which
extension is not able to inspect the url's and content.
Is there any way to restrict the user from modifying per-site permissions for the specific extension through api or mdm ?
I checked the official documentation but I could not see a specific colour to use for the icons sitting in Safari's toolbar (e.g. "toolbar-icon-72").
I have tried a number of different greys and although I have the one that looks good to my eye, it may be a little off to others. So I was wondering if there was a recommended colour ?
I also tried using the bundled Digital Colour Meter in macOS to determine a single grey colour, but of course, at the pixel level, anti-aliasing leaves that very much down to interpretation.
I have gone with 141/141/141 (RGB).
Is there any way to open new tab next to the current tab instead of opening it all the way to the right? I tried my best to find some setting to do this but didn't found any. Any help will be appreciated. 🙂
To reproduce this bug:
Create a simple Safari App Extension using the SFSafariWindow.getAllTabs method
Open a few tabs in Safari and save them to a named tab group
Quit Safari with Command + Q
Open Safari and navigate to the saved named tab group (do not navigate to other tabs, those non-active tabs will be suspended until we navigate to them)
Trigger the SFSafariWindow.getAllTabs method in our Safari App Extension
Ideally we should get all tabs in the tab group of the window, but instead we only get the active tab
Did I miss anything to make it work as expected?
I have the m3u8 like this
#EXTM3U #EXT-X-STREAM-INF:AVERAGE-BANDWIDTH=190000,BANDWIDTH=240000,RESOLUTION=240x160,FRAME-RATE=24.000,CODECS="avc1.42c01e,mp4a.40.2",CLOSED-CAPTIONS=NONE tracks-v1a1/mono.m3u8?thumbnails=10 #EXT-X-IMAGE-STREAM-INF:BANDWIDTH=10000,RESOLUTION=240x160,CODECS="jpeg",URI="images-240x160/tpl-0-60-10.m3u8?thumbnails=10"
and I have no thumbnails in the Safari native player. Could you please tell me why?
I provide a website, which can be added to Home screen. Does Apple support dynamic widgets that can be added to Home screen for web apps?
Also, can these widgets be updated by setting update frequency as described on Apple page: https://developer.apple.com/design/human-interface-guidelines/widgets ?
It zooms in and zooms out while opening the camera on safari. It happens on all web apps using camera (getusermedia) API.
Link - https://codesandbox.io/s/getusermedia-demo-br031
Hi everyone, I hope this a right place to ask questions like this.
I have an app which uses WEBGL scene implemented with three.js. At some point of loading, the app crashes (page reloads), which usually indicates that device ran out of memory reserved for this tab. This webgl scene however is fairly light compared to other scenes that load without any issues.
How do I debug this? Is it possible to reallocate more memory before page is loaded, or is there a simple way to reduce memory consumption?
I have very limited control over 3d scene, and it doesn't use heavy assets (mostly simple geometry with textures on them)
This page is not opening on safari, however if i open it on chrome it works. What is the issue with it.
link to website not opening
link.txt
Not developer related but I can't find any help with google and trying to send a crash report to apple just causes spinning beachball. So hoping i can find some much needed help in this forum. Safari runs very slow and every time it launches i get an error producing the log below.
Any fix suggestions please. Seeing a WebPrivacy library missing leaves me with no confidence using my mac. I had hoped a software update to Ventura 13.6.3 would resolve but no.
Path: /Volumes/VOLUME/*/WebPrivacy.framework/Versions/A/XPCServices/com.apple.WebPrivacy.Service.xpc/Contents/MacOS/com.apple.WebPrivacy.Service
Identifier: com.apple.WebPrivacy.Service
Version: 34 (34.1.1)
Build Info: WebPrivacy-34000000000000~249 (617C13)
Code Type: X86-64 (Native)
Parent Process: launchd [1]
Responsible: Safari [5749]
User ID: 501
Date/Time: 2023-11-15 09:15:24.5072 +0000
OS Version: macOS 13.6.3 (22G423)
Report Version: 12
Anonymous UUID: EC45AED0-4F92-87DE-6EE8-AE74E4A4BD5E
Sleep/Wake UUID: 65B3C137-4BC0-476B-9975-503694B76241
Time Awake Since Boot: 150000 seconds
Time Since Wake: 88111 seconds
System Integrity Protection: enabled
Crashed Thread: 0
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Termination Reason: Namespace DYLD, Code 1 Library missing
Library not loaded: /System/Library/PrivateFrameworks/WebPrivacy.framework/Versions/A/WebPrivacy
Referenced from: <BF03A141-E3B8-3EC8-B0D3-79F9E987841B> /Volumes/VOLUME/*/WebPrivacy.framework/Versions/A/XPCServices/com.apple.WebPrivacy.Service.xpc/Contents/MacOS/com.apple.WebPrivacy.Service
Reason: tried: '/System/Library/PrivateFrameworks/WebPrivacy.framework/Versions/A/WebPrivacy' (no such file), '/System/Volumes/Preboot/Cryptexes/Incoming/OS/System/Library/PrivateFrameworks/WebPrivacy.framework/Versions/A/WebPrivacy' (no such file), '/System/Library/PrivateFrameworks/WebPrivacy.framework/Versions/A/WebPrivacy' (no such file, not in dyld cache), '/System/Library/Frameworks/WebPrivacy.framework/Versions/A/WebPrivacy' (no such file, not in dyld cache)
(terminated at launch; ignore backtrace)
Thread 0 Crashed:
0 dyld 0x7ff812633c52 __abort_with_payload + 10
1 dyld 0x7ff81264dfd7 abort_with_payload_wrapper_internal + 82
2 dyld 0x7ff81264e009 abort_with_payload + 9
3 dyld 0x7ff8125d28f0 dyld4::halt(char const*) + 375
4 dyld 0x7ff8125cfb71 dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*) + 4526
5 dyld 0x7ff8125ce3bd start + 1805
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000002000209 rbx: 0x0000000000000000 rcx: 0x00007ff7b8f8a3c8 rdx: 0x00007ff7b8f8a830
rdi: 0x0000000000000006 rsi: 0x0000000000000001 rbp: 0x00007ff7b8f8a410 rsp: 0x00007ff7b8f8a3c8
r8: 0x00007ff7b8f8a430 r9: 0x0000000000000000 r10: 0x0000000000000127 r11: 0x0000000000000246
r12: 0x0000000000000127 r13: 0x00007ff7b8f8a830 r14: 0x0000000000000001 r15: 0x0000000000000006
rip: 0x00007ff812633c52 rfl: 0x0000000000000246 cr2: 0x0000000000000000
Logical CPU: 0
Error Code: 0x02000209
Trap Number: 133
Binary Images:
0x106f74000 - 0x106f8bfff com.apple.WebPrivacy.Service (34) <bf03a141-e3b8-3ec8-b0d3-79f9e987841b> /Volumes/VOLUME/*/WebPrivacy.framework/Versions/A/XPCServices/com.apple.WebPrivacy.Service.xpc/Contents/MacOS/com.apple.WebPrivacy.Service
0x7ff8125c8000 - 0x7ff8126605ef dyld (*) <d963b325-2b69-3e5a-ab79-8ce1662ec8cc> /usr/lib/dyld
External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by all processes on this machine:
task_for_pid: 153
thread_create: 0
thread_set_state: 5851
VM Region Summary:
ReadOnly portion of Libraries: Total=171.8M resident=0K(0%) swapped_out_or_unallocated=171.8M(100%)
Writable regions: Total=8452K written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=8452K(100%)
I need help for this issue which is happening only in ios 17 ipad devices.
I have an application which generates report in a pdf form. We are loading the html file as a string to webkit webView which is further helping us by generating the content in pdf format.
our report contains rows & columns which uses div tags and few css properties. If we view the report which is in pdf form, the data is getting truncated for a row horizentally at the page end and displaying the remaing truncated data in the next page.
This issue is happening only in ios 17 updated devices. It was working fine and displaying the data correctly with same html content.
Please let me know any possible ways through which I can resolve this issue. I have tried few properties like page-break-X(inside,before,after)- avoid; margin-bottom, padding etc...nothing worked for me.
How start an ajax request to a "local" http adress (hardware device without ssl) inside a https site in safari?
Some tips are a pfx file. But a pfx file can no longer be installed on an ios device, since settings->common->certificate trust settings has no longer setting for it. There is only one line "Version" and one more "Trust Asset-Version" - no more settings are available anymore?
Any idea? Thanks!
I'm unable to customize the margins for a Letter Size Page in print preview. Even though i have added these custom margins, it doesn't accurately print and there is still gap.
Problems when connecting Bluetooth speakers on iOS devices. When trying to use the Web Speech Api -(Text-To-Speech) in safari immediately after connecting to a Bluetooth speaker, it playing the sound using the phone's speakers instead of the connected Bluetooth speaker's. Then, when I summon Siri and briefly use the voice function, the Web Speech API in the web browser uses the Bluetooth speaker, and it works. It seems that there may be some kind of limitation or issue when switching between Bluetooth devices and voice apis.
I have created a react-three-fiber web-app which uses webgl canvas. When the canvas is forced to rerender due to external change, a new canvas context is being created and the previous one is not lost. This leads to safari refresh and crash as the no of active canvas contexts goes beyond the max limit alongwith the memory. This issue is specific to Safari only and (chrome only on iOS). Does Safari have a different garbage collection mechanism and not include webgl context clear automatically? If it doesnt, is there an API to invoke the same?
When cloneNode(true) is executed on a node including an img tag included in a picture tag, the source written in an img tag will be loaded, in spite of a source tag above.
This behavior doesn't occur on chrome.
The code below is minimal example.
<!DOCTYPE html>
<html>
<body>
<picture id="photo">
<source srcset="./photo.webp" type="image/webp">
<img src="./photo.jpg" alt="photo">
</picture>
<div id="container"></div>
<script>
const photo = document.getElementById("photo");
const clonedPhoto =photo.cloneNode(true);
document.getElementById('container').appendChild(clonedPhoto);
</script>
</body>
</html>
This is a bug?
Versions:
OS: Apple M1 13.4.1 (c)(22F770820d)(※This behavior occurs on iPhone, too.)
Safari: 16.5.2 (18615.2.9.11.10)