2,355 questions
1
vote
1
answer
61
views
My viewmodel localscript makes arms jittery when moving the torso
When I try moving my torso at high speeds, the arms become jittery, and the intended behavior should be that arms rotate instantly. This only happens at Z and X directions as far as I know.
Media ...
Best practices
1
vote
6
replies
131
views
How to prevent client-side manipulation of a numeric value sent from frontend to backend without making an API call on every change?
I have a numeric value that increments on the client-side based on user actions in the browser.
At certain checkpoints I send this value to my Spring Boot backend (Angular frontend). The backend uses ...
Advice
0
votes
5
replies
85
views
How can I securely track client-side response times without risking manipulation?
I was recently reading about client-side response percent monitoring, and I came across an interesting point in the book "Designing Data-Intensive Applications". It explained why it's ...
0
votes
0
answers
141
views
Integrating Lit with Next.js SSR — How are others approaching “client islands” vs full SSR?
Our team is exploring how to best use Lit components within a Next.js App Router setup where most pages are server-rendered (SSR) by default. I understand that mixing Server and Client Components in ...
0
votes
0
answers
137
views
How can I change the camera's CFrame while still having standard camera controls?
I'm trying to invert the depth of the camera (multiplying the camera's CFrame by (0,0,0, -1,0,0,0,1,0,0,0,1). To my knowledge, the only way I can implement this is by setting the camera type to ...
2
votes
2
answers
86
views
Client Component props hydrate twice which cause props data to be empty at first in Nextjs 14
I am having an issue where the data from fetch was pass to a client-side component.
'use server';
const Page = () => {
const data = awaits fetch(dataUrl)
if (!res.ok) {
...
-3
votes
1
answer
536
views
Astro server side rendering (SSR mode) and render some parts of the page client side
I'm using Astro in SSR mode. Now I have a certain page with certain blocks (and their graphql requests to collect it's data) that are deep in the page below the fold. I thought it would be better for ...
0
votes
1
answer
73
views
Attempt to index boolean with 'waitforchild' error
So I'm trying to make a LocalScript that connects to a ServerScript through a remote event which makes a Gui appear. The error is that every time I fire the remote event I need it to happen for one ...
0
votes
0
answers
71
views
Is there any client-side storage that is safe from browser extensions?
LocalStorage, SessionStorage and IndexedDB can all be easily accessed by browser extensions through content scripts. Yes, the extensions need user permission, but users are dumb enough to give ...
-1
votes
1
answer
268
views
API call from NextJS app throws a 403 if call is from client component, but not from server component
Like the title says, when I make a request to an external API from my client side component, I get a 403, but if I make it from a server component, it works just fine.
The reason I need to make the ...
1
vote
0
answers
50
views
Should i use the .0.mts file in Astro for typing client-side JS?
I'm querying for a web-component defined in a separate Astro component file as set out by this pattern.
I'd like typing and so I tried exporting the web-component name in the client-side JS. VSCode ...
0
votes
1
answer
430
views
How to configure Rollbar to integrate with next.js 14 using app routing?
I'm currently in the process of configuring Rollbar to integrate with Next.js, however the documentation on Rollbar (https://docs.rollbar.com/docs/nextjs) seem to be slightly out of date as it refers ...
-2
votes
1
answer
63
views
What is the best scalable way to implement a ContextProvider to fetch and filter data [closed]
I have been working on a project that requires fetching a bunch of data and provides multiple ways to filter/search the data, and I though about keeping filtering on the server-side considering I'll ...
-1
votes
1
answer
141
views
Is Google Picker API affected with deprecation of client side javascript libraries?
I am looking to implement Google Picker modal into my product. However, while I was going through the documentation, I came across a page which mentions that the JS libraries are being deprecated.
...
4
votes
3
answers
2k
views
nextjs "Error: Unsupported Server Component type: undefined"
My code is like below
'use client';
import {
UserGroupIcon,
HomeIcon,
DocumentDuplicateIcon,
} from '@heroicons/react/24/outline';
import Link from 'next/link';
import { usePathname } from '...
3
votes
0
answers
260
views
Why am I getting prerender errors in Next.js 14 build?
I am encountering an issue when running the next build command on my Next.js 14 application. The build process fails with the following prerendering errors:
I have checked the links provided, but I am ...
1
vote
1
answer
86
views
Storing a Synchronous Encryption Key securely on the Clientside
I am building a web app which uses Sign in with Apple for the normal authorization and login.
After signup the user should create a passphrase which is enhanced via a KDF and acts as a symmetrical key ...
1
vote
0
answers
216
views
Handling of user-provided API keys in a client-side app (no server). Secure?
I'd like to create a simple JavaScript app that asks a user for their API key from a third-party service and makes it easier to use the service with a better GUI. There will be no server-side code on ...
0
votes
1
answer
214
views
Handling localStorage in Next.js 14 with SSr and Sequelize
I'm using Next.js 14 for my project. One of the features of the site is to add products to favorites, where the product IDs are stored in localStorage.
In the Page.jsx file (located at /favorites), I ...
0
votes
1
answer
51
views
PDF encryption image color corruption: should i encrypt hexa string inside an array value?
Here is my obj 17 encrypted, the ColorSpace value is the same as before encryption, so should i encrypt the hexa value inside the array value ?
17 0 obj
<<
/Length 5696
/Subtype /Image
/Width ...
0
votes
1
answer
90
views
Webpack over CDN import to vue js The requested module 'url' does not provide an export named 'default'
Hope you're doing well. I'm currently working on a JavaScript module that I plan to load via a Content Delivery Network (CDN) using the URL https://x.com/my-script.js. However, I've hit a snag despite ...
0
votes
1
answer
765
views
Roblox default animate script not working on NPC
So I'm trying to use the default Roblox "Animate" client side script on an NPC and when I try it, none of the animations load at all
When I try to run the game with the code, nothing happens ...
0
votes
0
answers
64
views
Hydration error, difference between client and server side
What can i do to avoid the cleint side and server side differences/ hydration error? I want to initalize the state of carProducts to the localstorage, but this result in the hydration error. I tried ...
3
votes
1
answer
1k
views
docx.js: How to use document patcher on client side
I'm trying to generate docx file using the docx javascript library but only on the client side.
The generation of new documents works like charm, but I would like to patch a document using the patcher....
0
votes
1
answer
53
views
The quiz Id is not getting fetched in Angular
Hi I am trying to fetch Qid from Server side and in postman it is working fine but in angular not coming properly
The problem is only appearing when trying to fetch Quiz Id others like category ID and ...
0
votes
2
answers
394
views
"localstorage is not defined" nextjs14 "use client" running in server side
I was configuring the context in Tailwind for a Next.js 14 website, and I just wanted to provide a global theme configuration for my project. So, I created the ThemeContext and added the 'use client' ...
0
votes
0
answers
198
views
QuickFix in Custom Language(Xtext) using Language Server Protocol
I am very new to Language Server Protocol.
I have all the xtext related files ie. content assist, validation, quick fixes etc in eclipse and our client is intellij.
I want to implement quickfixes ...
1
vote
1
answer
8k
views
Laravel Inertia check current route In JSX file?
I need to check current route in one of my .jsx files to display a specific component, is there a way to imitate Laravel's Route::is() feature?
For now I do the following:
// helpers.js
export ...
0
votes
3
answers
276
views
How to save a two dimensional array in a json file using javascript?
I would like to save a two dimensional array consisting of one column of indicators (string) and one column of values (integer our double) in a file that has JSON format.
It somehow works but not the ...
0
votes
1
answer
144
views
My pdf encryption code encrypt stream but not string, what kind of string should i encrypt and in what encoding?
I tested this code to test by text fields:
PDFWriter.prototype.encrypt = function (ref, obj, pdfSecurity) {
let encryptedData;
const encryptFn = pdfSecurity.getEncryptFn(
ref.objectNumber,
...
0
votes
1
answer
682
views
Libman VS Nuget Packages for client side libraries
What is the need for Library Manager(Libman), if we can install client-side libraries from NuGet packages directly?
I tried both but can't differentiate between them. Please point out the differences ...
1
vote
0
answers
141
views
Next.js project works locally but throw an error on the server
The project works fine when run locally. But when I deploy it to the server with docker, some components give an error like "Application error: a client-side exception has occurred (see the ...
5
votes
1
answer
2k
views
How are client components handled in terms of rendering in React Server Components paradigm,?
I comprehend that server components undergo complete rendering on the server, and they aren't included in the JS bundle transmitted to the client. Additionally, server components don't undergo ...
1
vote
2
answers
3k
views
Handling simple hydration mismatch after fetch in Nuxt 3
I am making a simpe "email confirm" page.
It gets confirm key from URL, sends a POST request to API which returns true or nothing.
If key is correct the API removes it from database and ...
0
votes
0
answers
52
views
How do i set the different redirect options for two different values in button?
I've made a sign up form to register a user whether he is a doctor or patient for a website.
and this is the html code i used for form front end
<label class="text-left" >Are you a:&...
0
votes
1
answer
485
views
When asp.net CheckBox control is changed, how to fire client side AND server side events
I have an asp.net Checkbox inside a gridview.
It has some javascript in OnClick to confirm that the operator wishes to proceed.
It also has some server side code on the OnCheckedChanged event.
The ...
0
votes
1
answer
191
views
Client side securing token vulnerability circular dilemma
I am sorry but this question needs to be long so you can understand the problem and it is absolutely relative the size of my problem, I am seeking web security experts opinion so thank you for your ...
2
votes
1
answer
2k
views
NextJS 13 Server Components vs Client components in complex UI
I have some doubts on overall architecture of complex, data driven UIs. Taking the usual blog page example with a sidebar, header and logo where the idea is that:
Header and logo are static and can ...
0
votes
1
answer
302
views
Neoload to collect client side performance metrics like Google Lighthouse
For an application hosted on Azure cloud. We are trying to get a tool set which is capable of performance testing client side and server side.
We are considering Neoload for server side testing & ...
4
votes
2
answers
486
views
Is it safe to use the `Function` constructor to validate JavaScript syntax?
I would like to verify (client-side) that the user has entered valid JavaScript code.
Pulling in a Javascript parser (e.g. Acorn or Esprima) is a relatively heavy dependency. However (if CSP is not ...
0
votes
2
answers
143
views
What should be an ideal Jmeter Testing Enviornment with an application hosted on a server?
1.We have an Open Finn Application hosted on a US server.
2.We are using Jmeter to get the performance of different modules like login logout time.
3.While recording and running the jmter test plan ...
0
votes
1
answer
817
views
Client and server-side out differ when working with user who is logged in (hydration error)
I'm facing React's hydration error, which - according to the documentation - is caused by "using browser-only APIs like window or localStorage in your rendering logic".
This probably ...
2
votes
0
answers
1k
views
Decoding euconsent-v2 cookie client side
I and my team are deploying a new web analytics solution to a client's web site.
The analytics tool is deployed via a tag manager and analytics tracking is executed client side.
The client's using the ...
0
votes
0
answers
204
views
Next 13 client component using SWR not refreshing every reload [duplicate]
I'm building a weather app with Nextjs 13 and im rendering the page using "use client" and SWR. When I deploy to vercel the page doesnt fetch the data on reload, instead it acts as a SSR ...
-1
votes
1
answer
673
views
Getting data from a backend server side file and displaying it on a client side html site
I have an AWS server that continually runs a program on the background updating a txt file. I want to make calculations with the latest file data and display it on an html page.
(I will also be using ...
1
vote
1
answer
828
views
OAuth + PKCE expects the code verifier to be sent from the client-side, so isn't the code verifier exposed?
I am implementing OAuth2 with authorization flow + PKCE for a single page web application. My question is, in the flow described, it is stated that the code verifier is sent to the authorization ...
1
vote
1
answer
651
views
ReferenceError: SharedArrayBuffer is not defined while using ffmpeg.wasm
<!DOCTYPE html>
<html>
<head>
<title>TikTok Live Downloader</title>
</head>
<body>
<h1>TikTok Live Downloader</h1>
<label ...
0
votes
0
answers
36
views
which script dont need any software setup or config
Apart from Batch script, which script I can use that don't need installation or configuration at client system and can be invoked from windows visual studio?
powershell python etc. needs installation.
...
0
votes
0
answers
186
views
Persistently storing an encrypted private key on the client's browser
Note from author: this question is unlike multiple similar questions as it is specific to the very limited browser sandbox and specifically asks about key persistency
I have a public key ...
0
votes
1
answer
1k
views
azure AD SPA using auth code flow with PKCE in react app
I'm trying to not let my users sign in again and again whenever it comes to use the app after logging in once, and for that I'm trying to generate refresh token (already having accessToken and ...