All Questions
26 questions
-1
votes
1
answer
40
views
How to make my Node.js + React app open documents such as .pdf or .doc in browser?
I am looking to display a list of available documents to the user that they can choose to either view in browser or download to their device. The downloading part is already done and working, however ...
-4
votes
1
answer
56
views
Axios api post request not working after 7th try [closed]
My code is set to post a axios request after a set period of time. Every time it gets to the 7th iteration, no post request is being made and recieved by the backend. its not a rate limit problem or # ...
0
votes
0
answers
172
views
Cookies Blocked in Cross-Origin Requests Between Netlify Frontend(Reactjs) and Railway Backend (Node ts)
I am experiencing an issue with cookies being blocked when using my deployed application. The backend is deployed on Railway and the frontend on Netlify. Everything works perfectly in the local ...
1
vote
1
answer
33
views
Chrome Use GPU While downloading ZIP files
I have a web application. Which is used to send files And there is a functionality that download all files in the ZIP formate.
The Problem is when i download any zip file my web browser use GPU.
is it ...
0
votes
0
answers
230
views
Browser received Set-Cookie Header, but not stored in browser and not sending back to server
Any help is much appreciated as I've spent days trying to figure this out. I have a client running on https://localhost.co:3000 using React and a server running on https://localhost.co:3001 using node....
0
votes
1
answer
62
views
Title shown on browser is different when viewed on a laptop and mobile device
I have a react application.
When I search for my website online, the title shows as correct, however, when I search the same title but on a mobile device, the title changes.
I have tried to add ...
2
votes
0
answers
53
views
Unable to load pdf on browser in React application
I'm trying to stream a pdf which is being sent from a REST API built of nodejs and expressjs. From Client I have a button -> 'View PDF' by clicking on the same , there is a API call made to the ...
0
votes
1
answer
2k
views
If you set cookie on backend how to read it in frontend with react.js [duplicate]
I'm sending token from my API and storing it in the cookie inside the browser. I want to access that token with my frontend app using react. Can somebody tell me how to do it
0
votes
1
answer
715
views
How can I get the array of Bluetooth devices around me using Browser?
I want to get a list of bluetooth devices around me. I use this code for this
"navigator.bluetooth.requestDevice({acceptAllDevices: true})"
This block of code returns to me the devices ...
0
votes
1
answer
114
views
Open a file in the default editor from the browser and navigate to the line number
If you have used create-react-app, you may have noticed that when an error occurs, this application displays a page with this very error from the console.
If you click on this error, the default ...
3
votes
2
answers
2k
views
Can I see the code of .js files under api folder of NextJS with browsers?
I was wondering if I can see the code of ".js files" under "api folder" of NextJS with browsers.
I read the post Next.js API is back-end? then, one of the answers says:
The back-...
-2
votes
1
answer
165
views
execution of same code in nodeJS gives different output from browser, can one explain
Executing this piece of code is different in the browser to the nodeJs.
let abc = (() => {
function xyz() {
this.man = "XYZ"
}
xyz();
this.man = "ABC";
})()
console....
0
votes
3
answers
6k
views
how to remove local storage when the closing browser or closing tab in javascript, angular and react
How to remove localstorage or session storage data when I close browser. How to delete details of localstoge when closing the last tab of the browser's website when multiple tabs are open?, I have ...
1
vote
0
answers
443
views
safari cookies only persist after disabling prevent cross site tracking in settings please answer
After authorization, cookies with tokens should be saved on the client, but they are saved only if you disable prevent cross site tracking in the safari settings, but even then for some reason they ...
1
vote
2
answers
7k
views
clearing browser cache react js
I have an application running node.js in the backend and react.js at the front.
I have encountered a bug that happens when I log in as a admin, log out and immediately try to log back in as a customer ...