26,592 questions
-1
votes
0
answers
11
views
Payload CMS bulk image upload freezes browser when uploading thousands of images (base64 preview issue?)
I am using Payload CMS v3 as a backend and a separate Next.js app as the frontend.
I have a Gallery collection in Payload.
Each gallery belongs to an Event, and after an event ends, I need to upload a ...
-9
votes
0
answers
58
views
Colourful artifacts in browsers and plotting libraries [closed]
I've been experiencing colourful artifacts on browsers and plotting software for a few years but exclusively on Windows 7 both on Intel and AMD GPUs.
Why is it happening and how do I fix it?
Here are ...
0
votes
1
answer
83
views
Intermittent JavaScript event delegation stops working after DOM mutations
I’m facing a difficult and inconsistent JavaScript issue related to event delegation that appears only after certain DOM mutations, and I’m trying to understand the root cause rather than applying a ...
0
votes
0
answers
46
views
Can we automate the stop screen share using the playwright
I am validating a scenario where user stops the screen and checks the notification "Screen share is off".
Right now, I am automating these tests in Chrome browser using the Chrome fake media ...
3
votes
1
answer
83
views
Cross-browser differences in CanvasRenderingContext2D.drawImage
There seem to be cross-browser differences in CanvasRenderingContext2D.drawImage. In the following example, I've noticed that Firefox (Mac 146) and Brave (Mac 1.85.118) not only both change the colors ...
4
votes
2
answers
111
views
Not using require but still getting "require is not defined"
I'm getting the error message:
(global) - index.js:1:0
ReferenceError: require is not defined
The solution I keep seeing online is to use ES6 modules and export/import rather than using require. ...
Best practices
0
votes
0
replies
33
views
Allowed the documents to open in browser instead of downloading. File with big size is failing to load
Allowed the documents to view in browser instead of downloading using Content disposition as inline. But files with huge size is failing to load but its different for different fie types.
Any size ...
Best practices
0
votes
3
replies
68
views
Displaying Information On Browser
I used to display error messages from a xml file directly on MS Explorer web browser and format the output using a xslt file. However, this process seems to be eliminated on MS Edge. I used the ...
Advice
0
votes
2
replies
44
views
Firefox keeps asking gmail login for udemy
I login to Udemy.com using Gmail, in Firefox. The Firefox browser doesn't remember the Gmail credentials and prompts for login everyday.
In the Firefox Settings > Cookies & Site Data, I have ...
1
vote
0
answers
96
views
Why is Intl.Segmenter producing identical segmentations across multiple languages?
The documentation says that Intl.Segmenter needs a language parameter, something like this:
const result = new Intl.Segmenter("en", { granularity: "word" })
My tests show that ...
0
votes
0
answers
156
views
Is it possible to connect to a local Python server using secure web sockets from a browser console on an HTTPS webpage?
We installed websockets for Python on macOS using this terminal command:
(.venv) a@as-MacBook-Pro dic % python3 -m pip install websockets
server.py:
#!/usr/bin/env python3
"""Secure ...
3
votes
1
answer
202
views
Why do some web browsers incorrectly display currencies produced by NumberFormatter
Why some older web browsers (not all) incorrectly display currency symbols when symbols are produced by php NumberFormatter() but display correct symbol when given as html entity. Since correct symbol ...
0
votes
0
answers
43
views
Why range.startContainer gets different results when I click inside or outside the img?
class Editor {
docContainer
text
constructor(posContainer) {
this.posContainer = posContainer
this.genComponets()
this.listen()
}
genComponets() {
...
2
votes
1
answer
54
views
on small resolution added hamburger span stays on screen when resizing the window although it should be removed [duplicate]
I have this js, but it works only with browser refresh.
let vw = Math.max(document.documentElement.clientWidth || 0, window.innerWidth || 0)
if(vw < 801){
as = document.getElementById('as');
...
3
votes
0
answers
89
views
window .postMessage is not returning when popup window is closed,
I am opening a window popup for login and once login is completed I am closing the popup window. after closing. I want to know what is the exact method to capture the closing the popup window , (...