Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [javascript]

For questions about programming in ECMAScript (JavaScript/JS) and its different dialects/implementations (except for ActionScript). Note that JavaScript is NOT Java. Include all tags that are relevant to your question: e.g., [node.js], [jQuery], [JSON], [ReactJS], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

1 vote
2 answers
62 views
+50

How to set loadingTemplate inside custom Nuxt Module

I'm building a nuxt module, and want to set loadingTemplate within this module. What I tried so far is modifying devServer inside module like below (But no luck) import { loadingTemplate } from './...
SergkeiM's user avatar
  • 4,048
0 votes
2 answers
89 views
+100

Nextjs with next-intl renders the page twice

I am using nextjs 14 and just integrated next-intl for internationalization. My Problem: If I switch between the browse and my-items page, the fetch script, and the page rendering twice My questions: ...
Peter's user avatar
  • 1,229
1 vote
2 answers
101 views
+50

Passing two parameters (IFormFile and a string) with JSON to C#

Versions: ASP.NET and Web Tools - 17.10.341.11210 C# Tools - 4.10.0-3.24312.19+ JQuery - 3.3.1.js JS - 2.8.3.js I'm trying to pass an IFormFile and a string from a JSON file select and a string input. ...
Kevin Fischer's user avatar
0 votes
0 answers
47 views
+100

Capturing text selection in Google Docs for Chrome extension

I'm developing a Chrome extension that shows a popup when text is selected on web pages. It works fine on most websites, but I'm having issues with Google Docs. Here's the relevant part of my content ...
Nightcrawler's user avatar
-1 votes
0 answers
27 views
+100

SecurityError: The operation is insecure on iOS in Next.js Project

I'm encountering a persistent SecurityError: The operation is insecure. issue in my Next.js project, but only on iOS devices. I've reviewed several related posts that suggest it could be a Firefox-...
Ajouve's user avatar
  • 9,957
5 votes
1 answer
2k views
+500

Is there a way to detect if the chrome SidePanel is open?

I have an extension that generates content in the built-in chrome sidebar on click of an element in the current page. I also am using a content script to add some highlighting to the clicked element ...
Kate R's user avatar
  • 365