26,610 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
3
votes
1
answer
66
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
3
answers
101
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
32
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
65
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
42
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 ...
-2
votes
0
answers
6
views
Chrome logs me out of all sites on every restart (Windows 11) [migrated]
I’m facing a weird Chrome issue.
Every time I fully close Chrome and reopen it, I’m logged out of almost all websites — ChatGPT, ClickUp, Substack, etc.
Google services (Gmail, Meet) stay logged in.
...
-2
votes
0
answers
93
views
How does one change the value of Sec-Fetch-Mode in the developer tools of Firefox browser?
I tried sending this request from the Firefox browser developer console, Network tab. Notice how Sec-Fetch-Mode is no-cors (it is set automatically by the Firefox browser developer tools Network tab).
...
1
vote
0
answers
86
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
151
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
197
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
42
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
53
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
86
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 , (...
0
votes
3
answers
346
views
NoDriver Python Chrome Client fails to init
I am using NoDriver python on MacOS and sometimes when I try and open a browser tab it fails with the error below (I've tried Chrome+Chromium and it happens on both). If I manually open the browser ...
Best practices
1
vote
1
replies
56
views
How can I print very thin lines (e. g. 1/300 dpi) to PDF via Chrome? (Prevent rounding to full css-px)
I would like to print a 1/300 inch wide line with chrome (PDF). Unfortunately, the line is rounded up to a value of a css-pixel.
(It has to be Chrome [not PRINCE XML], due to some advanced features...)