Questions tagged [javascript]
JavaScript is a programming language. Programming questions are off topic here; ask on Stack Overflow instead.
881
questions
-3
votes
0
answers
17
views
Webcam virtual background BodyPix problems on iPhone [closed]
I’m working on a webapp that use the webcam to replace the user background as a virtual background, the problem is I have found a lot of documentation and info on how to do it with TensorFlow and ...
0
votes
0
answers
14
views
Loading html from a same-domain link via userscript [migrated]
I'm working on a JS browser userscript (for use with Violentmonkey etc.) which is supposed to add the seller's registration location to ebay.de/sch/... (and other Ebay domains') search result pages, ...
0
votes
0
answers
8
views
Visual studio 2022 pro for JavaScript files the right click option "go to definition" does not automatically open the file like it used to in vs 2019 [closed]
In Visual Studio 2022 pro for JavaScript files the right click option "go to definition" does not automatically open the file like it used to in VS 2019.
Any ideas how to get this feature ...
1
vote
0
answers
62
views
How to Dynamically Create and Populate Word Document Templates with Form Data?
Preface
I’m working on a project where I need to digitize the form filling process for a testing lab company. The company currently fills out forms manually and makes 40 copies of each form. The form ...
1
vote
1
answer
42
views
What program is behind "Node.js JavaScript Runtime" accessing my files (downloading cloud OneDrive files)?
(Note: This is probably not connected to OneDrive, but OneDrive is letting me see my files are being accessed. It may help others search this same issue if it happens to them.)
Every reboot of my ...
1
vote
1
answer
43
views
Restart/-load all active extensions in Firefox?
Firefox's extensions leak memory and, with time, consume more and more CPU. This can be reset by disabling/enabling them. Is there a way to cycle all active extensions enabled status, without being ...
0
votes
1
answer
171
views
How to download pdf from a pdf.js viewer window which has download option disabled?
Having a really hard time downloading a pdf from a pdf.js viewer window which has download option disabled in its website, i perhaps think that maybe by some inspect element tools i can get till it ...
0
votes
0
answers
38
views
After Win 10 Update (KB5028166) all browser javascript debuggers can't load form for debugging. How do I fix this issue?
Folks,
The most recent Win 10 Update (KB5028166) was automatically loaded on two 2 of my VMWare Virtual machines. Before the update I could use browser tools, Chrome & Edge & Firefox, to debug ...
1
vote
1
answer
47
views
Firefox seems to be caching js files differently from other types
I am developing a web page and Firefox just showed me some weird behaviour
Changes to html and css appear instantly in the browser
Changes to js seems to be cached
if I curl 'http://localhost/static/...
0
votes
0
answers
437
views
Execute a Batch and Powershell Script on a Remote File Server
I'm telling you that I'm trying to figure out how to run a PowerShell script without having it stored on the computer. simply running it with some jse script and let the script know where the file is ...
0
votes
0
answers
68
views
Table loading data with each scroll
does someone know a website that has a big table (a few columns and many rows) that loads each time we do scroll down?
I'd like to extract some data of a big table with selenium or JavaScript with &...
0
votes
0
answers
29
views
How to create a static website from MBOX file
I have a large MBOX file (16000 emails) from a public email group which is now closed. For archival and research purposes, I would like to serve these emails on a website. How can I go about ...
0
votes
1
answer
209
views
Split or replaceState to remove an anchor tag from a URL?
On our landing pages, we have a call-to-action button that moves the user to an anchor on the page. But the addition of an anchor tag in the URL is messing up our tracking data.
I have come up with ...
1
vote
0
answers
19
views
How to add "auto rotate" and rotation direction and speed to a JavaScript application? [closed]
CalcPlot3D is an interactive JavaScript app for plotting math equations. Clicking on the 3D plot window and dragging the mouse on the plot will rotate the surface in the direction you move the mouse ...
0
votes
1
answer
208
views
How to remove all hardcoded content from Microsoft Edge's new tab webpage without installing any extnesion?
I have Windows 11 Home and I have the problem that every time I open a new tab in Microsoft Edge, a newspaper like webpage appears.
Here is a picture of this webpage with its data structures that I ...
2
votes
1
answer
332
views
How does discord know if it's installed on my computer/ how to prevent that?
I recently had to install the discord app to Windows 10, and now clicking on discord invite links in the browser initially opens the webpage, but then immediately redirects and opens the app on my ...
1
vote
0
answers
24
views
Can FindProxyForURL() discern the HTTP-method of the request?
I'd like my FindProxyForURL() to recommend a different proxy depending on the HTTP-method of the request -- GET, POST, or PUT.
For example, the GETs can be routed through a caching proxy, whereas the ...
1
vote
1
answer
1k
views
How to prevent a web browser from following redirects in a specific website?
I am trying to block myself from using Google Search Console by bringing myself back to Google Search, due to addictive behavior with Google Search Console*.
The following JavaScript code works from ...
0
votes
1
answer
72
views
Is this a malicious bookmarklet?
I was looking for a way to autoscroll and found this online and used it once. Is it bad and if so how do I protect my computer from anything malicious? Here is the bookmarklet:
javascript:/*The%...
0
votes
0
answers
35
views
How can I extract two or three "parallel" XPaths on a web page to/in a format that can be imported into a spreadsheet?
How can I extract two or three "parallel" XPaths on a web page to/in a format that can be imported into a spreadsheet?
Here is an example: on https://www.amazon.co.uk/s?rh=n%3A20606777031&...
1
vote
1
answer
84
views
How to set breakpoint to JavaScript's files
I'm trying to understand how it works a webpage that has some JavaScript codes but I'm no able to see what happens even I'm adding breakpoints in Dev Tools.
In html part I see the script is declared ...
0
votes
1
answer
413
views
Web browser application running javascript, will idle and stop processing in Chrome after Windows 10 lock
A website written in JavaScript with a loop, times out on windows when windows 10 lock screen comes up. When a person logs backs in, JavaScript will then continue, as if it did not stop.
So this ...
-1
votes
2
answers
508
views
How do I disable JS only on specific pages?
There are sites archived on the Wayback Machine with broken JS.
uBlock origin allows disabling JS on the whole site: no-scripting: web.archive.org true, but it is an overkill. Is there a way do it ...
3
votes
4
answers
1k
views
nytimes webpage new feature "More to Discover": how to block?
How can I block the new feature on nytimes.com, which, when reading an article on their webpage, will scroll up a tab from the bottom of the browser window, called "More to Discover"? I've ...
0
votes
1
answer
472
views
Why doesn't google.com show the voice search feature in Firefox?
In Chrome, google.com has a microphone search feature, as seen here:
In Firefox though, it doesn't:
In Firefox, I tried setting the user agent to Chrome's (Mozilla/5.0 (Windows NT 10.0; WOW64) ...
1
vote
0
answers
410
views
After loading Root Certs, loaded==false: NSS error code: -8018
Certificates are a very complicated issue. After a lot of tries and victories to run a open source in Linux called FreedomGPT, I received this error related to NSS certificate. More details showed in ...
0
votes
0
answers
170
views
open firefox about pages without the address bar
I can't seem to open the firefox about pages without using the address bar.
I've tried this in javascript with no success :
window.open('about:profiles')
Does anyone knows how can I do that ?
It ...
0
votes
0
answers
171
views
CORS Error on Socket IO V 2.3
Despite setting CORS and a preflight request, I'm constantly getting CORS errors:
"Ensure CORS response header values are valid.
A cross-origin resource sharing (CORS) request was blocked because ...
4
votes
2
answers
787
views
Loading a URL in the current tab through the Firefox “Browser Console” (or command-line)
For debugging purposes, I need to automatically load a large number of URLs (successively) in a given Firefox tab.
More precisely, my goal is to load URL1, URL2, etc., as if the user had typed these ...
2
votes
1
answer
133
views
Gmail not responsive, errors in console
Recently (since around Sep. 2022) I often recognize, that Gmail opened in most recent Chrome browser quite frequently fails to open an e-mail clicked on, or fails to close the e-mail (does not return ...
-3
votes
1
answer
200
views
Redundant ERR_BLOCKED_BY_CLIENT from api.lab.amplitude.com/sdk/vardata
I keep getting this error in my JavaScript console. I don't know how to begin to tackle this error or even what to tag. Any help to troubleshoot or improve my question is greatly appreciated.
The ...
0
votes
0
answers
104
views
postman console log only the response that contains an error
I'm not sure if this is the right place to post this.. I connected postman to my zendesk environment and I'm able to get the job status queue via the api/v2/job_statuses api that returns a list of all ...
0
votes
0
answers
72
views
Video background doesn't play on mobile with VegasJS
I'm trying to autoplay a video background but it won't play on mobile. I'm using Vegas, a jquery slide from Jay Salvat https://vegas.jaysalvat.com/
So, I'm looking for help to autoplay the video ...
0
votes
1
answer
318
views
Thunderbird and Yahoo login, how to pass Captcha without JavaScript?
I have updated my Yahoo account password and enabled 2FA using an authenticator app. Following that, Yahoo disconnected me from all devices and apps except the current browser. I'm fine with that.
...
1
vote
0
answers
85
views
What is this script that's injected in every webpage I visit, and if malicious how to get rid of it?
I found this script when inspecting webpages and I have no idea where this is coming from or if this is malicious. Is this malicious, how can I find out where it came from and how to get rid of that?
...
0
votes
0
answers
38
views
How to copy target of the HREF in a web page to clipboard, rather than its link
For instance, if the following line appears in a page,
<a href="http://www.notional.org" >Organisation</a>
how can one add an option to a browser context menu to capture the &...
1
vote
1
answer
375
views
How do I fully save a modern webpage which uses JavaScript (e.g. Facebook), in its intended viewable formatting, for fully offline viewing?
I'm having trouble saving web pages as I build an archive of reference material for a project.
Some web pages - older styles of forums or blog pages with simple formatting - save just fine with the ...
1
vote
0
answers
314
views
How do you change Tor Circuit For Site using javascript via Tampermonkey?
In Tor Browser, I can set "New Tor Circuit for site". You can also do this by pressing ctrl+shift+L.
I have installed Tampermonkey-Addon in Tor Browser and was thinking, maybe it is possible ...
0
votes
1
answer
128
views
unicode-escaping with a standard Unix tool
I have cooked up the following python script, it does 1 thing and it does it well. It does, whatever Unicode magic unicode-escape does in python3 to some text.
#!/usr/bin/env python3
import sys
text ...
0
votes
1
answer
606
views
How to Automate Outlook to Count Emails [closed]
Gentlemen, I have a graph made in Python where it shows the count of how many emails were received for "Refunds", "Received", "Account Closure". However, this "data&...
1
vote
0
answers
77
views
Bluray: skip intro button [90% done]
I have 65 episodes of some animated series in .mp4 h264 that I want to burn onto bluray disc, and I need to have those 2 functions:
programmable "skip intro" button that (after pressing ...
1
vote
1
answer
44
views
Quicker way to visit web site item details from a list implemented with JavaScript instead of a link
Scenario
The user visits a web page that presents a list of items and the user desires to visit every item in the list. Rather than each item having a unique URL, the website is implemented such that ...
0
votes
0
answers
402
views
Why is a video created by FFmpeg from static image is rejected by YouTube?
I am trying to input a image.jpg file and audio file.
I need output as video of 1080p quality.
Recently I tried the command given in ffmpeg doc Encode/YouTube and got the output.
ffmpeg -loop 1 -...
0
votes
2
answers
188
views
Using regex to add commas to dates
How would I replace "Sat Oct 22 2022 at 0600 hours." with "Sat, Oct 22, 2022 at 0600 hours." The actual string would not have quotes.
0
votes
2
answers
947
views
error while installing npm package, how do i fix this?
I need to install the react-hls-player npm package to start the m3u8 stream, but when I install it, it gives me this error.
4
votes
2
answers
1k
views
How to get Google Chrome to expand the hidden "[object Object]" data to record in the "chrome_debug.log"?
In Chrome, I can observe a site's JavaScript/data by right clicking on the page and selecting "Inspect", and then I click the "Console" tab, and scroll down a bit in a particular ...
0
votes
1
answer
265
views
Button to whitelist my website that works on any adblocker [closed]
I would like to make a button on my website which would prompt visitors to disable ad blockers.
Currently, I created a popup with two buttons, like generally seen in blogs to allow ads by disabling ...
0
votes
1
answer
278
views
Search only specific bookmarks folder in chrome without subfolders
How can I search a chrome bookmarks folder and not its subfolders?
Chromes default bookmarks manager is amazing along with its layout but it would be a whole lot better with this feature for ...
0
votes
1
answer
789
views
Notepad++ : How to find multiple instances of a string on the same line and replace the entire line with found strings
For example:
Suzy sells sea shells for USD$55 and USD$65 and USD$20
Dave sells all kinds of junk for USD$30
Philip sells CDs for USD$40 and USD$10
Output needs to be:
55, 65, 20
30
40, 10
The ...
0
votes
1
answer
2k
views
Object reached heap limit - debugging a Javascript SIGILL error on Chrome?
When i run my js script for my plugin in Wordpress. The page freezes, times out and returns a SIGILL error. I can't see any errors in web dev tools, the page just freezes.
I installed ...