All Questions
Tagged with cross-browser javascript
3,042
questions
0
votes
0
answers
22
views
setZoom not working in Chrome but is working in other browsers
I am unable to get setZoom or any of the zoom features to work on my leaflet map in Chrome.
It works fine in Firefox and Edge but I need it to work in Chrome also and cannot find anything on this.
Any ...
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 ...
0
votes
1
answer
39
views
Css range slider compatibility
I am making a website that has 2 separate range sliders using html, css and javascript. I am having real difficulty getting the range slider to work for CHROMIUM.
I have spent hours searching and ...
1
vote
1
answer
61
views
Unable to upload PDF to S3 bucket via presigned URL created from my Node backend
Scenario:
Client (Nextjs client component) queries backend (NextJS rest endpoint) for pre-signed URL
Backend gets presigned URL for S3 via getSignedUrl
import { S3Client, PutObjectCommand } from &...
0
votes
1
answer
68
views
window.open opens in new tab when in fullscreen browser mode in mac
I have following code in my Next.js function. I want the url to be opened in the same tab but in a new smaller window.
window.open(url, '_blank', features)
where features are,
const features = `width=...
2
votes
2
answers
55
views
What's the proper way of using a browser specific property in typescript?
Specifically, I'd like to use the "fileName" and other extra properties on the Error object in FireFox.
But something like this gives me red underlining, which I could simply ignore, but it ...
0
votes
1
answer
72
views
Is there a standard way to handle network errors and blocked requests across browsers?
According to the fetch spec https://fetch.spec.whatwg.org/#concept-network-error network errors responses should have status 0. But for these error cases we see the browser implementation of the fetch ...
0
votes
2
answers
99
views
File Format: WebM encoded with the VP8 codec is not previewing in Safari browser
We have developed a feature in our Angular application to create a video file using MediaRecorder APIs. This application is intended to work seamlessly across Chrome, Edge, and Safari browsers. Users ...
0
votes
0
answers
51
views
The .submit() function in JavaScript does not immediately submit the form on safari, leading to fields disabled after this is called not getting sent
I have a form on a website. Some of the html fields (they are <select> fields, if that is relevant) on this form are disabled to prevent the user sending changing the values in them, however, ...
0
votes
0
answers
26
views
Keep mobile browser top/bottom bars minimized unless user manually taps on them
I'm creating a React web-app for which I have separate design on desktop screen sizes and mobile screen sizes. I have started working on mobile portion and came across a problem of mobile browser bars ...
0
votes
1
answer
263
views
Polyfill for ReadableStream.from in browser?
ReadableStream.from for browsers is currently only supported in Firefox. I found the Node implementation in JavaScript, but it uses a lot of internal native node functions. Likewise, ReadableStream....
0
votes
0
answers
29
views
Capture files pending loading via JavaScript
I'm trying to capture the list of files that are pending loading, with more than 5 seconds of waiting, but I can only see this data after the file is loaded.
Does anyone have any idea how to get the ...
0
votes
0
answers
30
views
Polyfill for PerformanceObserver API to Implement Server Traffic Measurement
I'm currently utilizing the PerformanceObserver API to measure server traffic for given endpoints on the client side. However, I'm exploring alternative solutions due to potential limitations or lack ...
1
vote
1
answer
57
views
Arrow Rotation and Scroll Reset Issue on Mobile Browsers
I am working on a webpage where I have implemented a feature to scroll to the top or bottom of the page with a triangle arrow that rotates based on the scroll direction. The functionality works well ...