2,528,394 questions
-1
votes
0
answers
26
views
Is my solution to a Fullscreen API issue on the right track? [closed]
My javascript app includes a fullscreen change on the whole document.documentelement. Once this button is clicked dozens of elements need to be re-formatted for the new window dimensions.
I'm finding ...
0
votes
1
answer
29
views
Adding a onclick function in a .html jquery tag
I have tried a few way to get this to work. Here is my code:
if (itemsNeedAttention.length > 0) {
var itemType = "item";
// updateFilteredHtml(itemsNeedAttention, itemType);
$(...
0
votes
0
answers
24
views
Find a DOM element on a Google Spreadsheet
This is a follow-up to this question I asked a year ago, about building a Chrome extension on top of a Google Spreadsheet. I'm trying to identify a hyperlink element in GSheets via my Chrome ext to ...
0
votes
0
answers
24
views
Prevent iframe from opening links automatically
I have an iframe which might contain these commands:
setTimeout(function(){window.top.location.href = "//www.stackoverflow.com";}, 1000);
setTimeout(function(){window.open("//www....
0
votes
0
answers
6
views
ag-charts-react not working with nextjs v15
I am trying to get ag-charts to work with nextjs v15 using ag-charts-react. This works without any issues using react.
Working Example with React
However when i try to get this working inside a nextjs ...
2
votes
1
answer
74
views
Trying to create a trail effect when the mouse pointer moves [closed]
I'm trying to create a mouse "trail" effect on mouse movements.
Expected result:
A example short (video) example provided below:
https://drive.google.com/file/d/1ut8fWVrc7dsY1qboVxEUz-...
-1
votes
0
answers
31
views
Error in p5.js when im trying to use preload
My code works perfectly. Until I try to write a preload image into the code. And it doesn't matter what I write in this function, because it doesn't even run. I tried writing console.log to see if ...
-1
votes
1
answer
26
views
Flask - Supabase restrict non auth users from accessing pages
I am trying to implement some security to my website. I can currently log users into my website and it writes to the DB in supabase. However, I have been trying to implement security so that only ...
0
votes
0
answers
12
views
How to universally exclude staging and local env data in GA4?
I'm working on a Next.js project and have a GA4 property set up to track my website's performance. The main issue is that my GA4 dashboard is collecting traffic data from my local development and ...
0
votes
0
answers
16
views
Updating user details through a form though update refusal in React
I am trying to update user details on a form. I have created a UpdateForm Component that runs componentDidMount to get a particular user and I also used static getDerivedStateFromProps to pre-populate ...
-1
votes
0
answers
44
views
How to stop multiple API calls when getting session data in React application?
I have the following code:
import React, { useState, useEffect } from 'react';
import { Route, Redirect } from 'react-router-dom';
import axios from 'axios'; // or fetch
const calledRef = useRef(false)...
0
votes
0
answers
29
views
Next-Auth :- JWT callback returns large token → split into .0, .1, .2 cookies
I’m using next-auth with the jwt session strategy and running into a problem with cookie size when storing multiple API tokens.
Here’s my jwt callback:
async jwt({ token, user }) {
if (user) {
...
2
votes
1
answer
58
views
Run chrome from cmd with script and complex url
I want to run Chrome with js script and url which contains fragment, like this:
"C:\Program Files\Google\Chrome\Application\chrome.exe" --app="data:text/html,<html><body><...
0
votes
1
answer
50
views
Extract data from a dynamic Excel file using jQuery and display it in HTML
Question:
I'm trying to extract specific values from an Excel file and format them into an HTML layout using jQuery. Here's what I'm aiming to achieve:
Highlight course names
Display video links as ...
3
votes
1
answer
77
views
Angular web component doesn't work along with JQuery
I'm making angular web component to improve another component built on JEE application, but it broke with Jquery.
I have made a minimal test to reproduce the error.
<html>
<head>
<...