Questions tagged [safari]
Safari is Apple's web browser, the default browser on macOS and iOS.
safari
17,907
questions
0
votes
0
answers
7
views
useSWR isnot working in Firefox and Safari. NextJS App
I use useSWR to get data from my backend and I noticed that in Safari and Firefox my request is not even sent, but when I use google chrome everything works perfect. What could be the problem?
[fetch ...
0
votes
2
answers
24
views
Part of my HTML elements are not being displayed, if I access the webapp from iPhone [closed]
I am a beginner and I am writing a webapp with React JS. For a certain part of my app, I need to dynamically create divs and I came up with this snippet:
<div className="flex flex-col items-...
-1
votes
0
answers
18
views
Camera not working if used in homescreen app IOS
I want to scan a QR code from my website and i'm using the html5-qrcode js library.
It is working properly from safari or whatever browser I use it in.
It asks for permissions, then makes you select ...
1
vote
0
answers
21
views
What option I can set for network request blocking in Safari using Selenium?
There is an option that I can set to avoid requests from specific url in Selenium (Java) for Chrome browser
ChromeOptions options = new ChromeOptions();
options.addArguments("--host-resolver-...
-1
votes
0
answers
18
views
FFmpeg "Non-monotonous DTS in output stream" error when processing video from Safari's MediaRecorder
I'm recording a video stream in Safari with MediaRecorder, then sending it to a remote server which then uses ffmpeg to reencode the video. When reencoding with FFmpeg, I get a lot of warnings and the ...
0
votes
0
answers
20
views
How to cope with text-shadow property rendering inconsistently in Safari?
Tested background for future search reference:
Mac Sonoma 14.5
Safari 17.5
Firefox 128.0 (64-bit)
Chrome 126.0.6478.127 (Official Build) (arm64)
** This question differ to the existing questions, it ...
0
votes
0
answers
13
views
Navigator permission - `getCurrentPosition` or permissions.query` or both?
There's currently two ways to get a user's geolocation in the browsers for now:
https://caniuse.com/mdn-api_geolocation_getcurrentposition
https://caniuse.com/?search=navigator.permissions
I'm ...
-1
votes
1
answer
38
views
Django Website not accessible on some browsers
I have a web app built with django that is hosted online on a subdomain. It was working fine until a few days ago when certain users started getting errors trying to access it where it would say ...
0
votes
1
answer
28
views
How to get rid of "Shadow content" force injected by macOS safari for live text feature?
I'm creating a site that uses imagemap using React. However, in Safari, because of Live Text feature, it won't make me interact with images when there is text in it. I found that Safari injects "...
0
votes
0
answers
13
views
How to prevent Safari from unloading off-screen elements in a React application?
I'm developing a React application and I've encountered an issue where Safari aggressively unloads elements that are off-screen, which causes problems with smooth scrolling and animations.
I am using ...
1
vote
1
answer
52
views
Vertical alignment by baseline in css grid doesn't work in Firefox and Safari when height is not defined
I need to arrange multiple items with pictures and titles in a row of a grid like this:
The aspect ratio of the pictures is known.
The amount of columns is known.
The grid's width is inherited from ...
0
votes
0
answers
15
views
NSAppleScript opens, but does not connect to Safari?
The below function, when called in a MacOS application (Xcode version: Version 15.4 (15F31d), Sedona 14.5) opens the Safari app (if it is not running) but returns the following error:
error start:
...
-1
votes
0
answers
36
views
window.addEventListener does not work on iOS
I want to write a function to listen to sessionStorage. I found that the following code works fine on both computers and Android phones, but it suddenly stopped working on iOS phones recently. Does ...
-1
votes
0
answers
37
views
I am unable to debug a Safari extension in Xcode 16 beta 1 on iOS 18 beta
The process to reproduce:
Create a new extension with Xcode 16 beta.
Run it on the simulator or any iOS device with iOS 18 beta installed.
Open Safari on your Mac, then open Develop -> Device that ...
2
votes
1
answer
91
views
WakeLock API not working in Safari (iOS) but working in Windows/android platform with same code
I want to enable wake lock API. It is working fine with Windows platform and android devices but not in Safari or iOS devices.
Console has error NotAllowed, Permission was denied in Safari Browser.
I ...