Questions tagged [javascript]
JavaScript is a programming language. Programming questions are off topic here; ask on Stack Overflow instead.
895 questions
2 votes
1 answer
188 views
How to remove a previously added JavaScript in Asciidoctor.js preview?
I had selected "Allow access to file URLs" option like in this Stack Overflow question. After I added a custom Javascript highlightjs-line-numbers.min.js in the “Asciidoctor.js Preview” ...
0 votes
1 answer
139 views
Can I speed up JavaScript for my browser/PC?
I have two Windows 11 PCs: One ASUS PN41 with a Celeron N4500, and one laptop with an i3-1115G4. I'm happy with the speed of the Celeron for almost everything but it seems web pages with a lot of ...
0 votes
0 answers
62 views
Is there a renderscripts method to get and clear cookies from Microsoft Edge before opening a published RDWeb client?
I came across this article that describes how to get and clear cookie contents of Microsoft Internet Explorer each time before opening a published RDWeb client app : https://learn.microsoft.com/en-us/...
0 votes
0 answers
29 views
Get this error 100K times on YouTube i think mostly with the videos that are from playlist, makes the tab and browser freeze
[Violation] Added non-passive event listener to a scroll-blocking event. Consider marking event handler as •passive' to make the page mre responsive. See https://i.ibb.co/ZpLXRSbf/250718235117.png ...
0 votes
0 answers
29 views
trigger test fail/pass by string comparison in WebDriver I/O
In automation testing, WebDriver I/O provides some assertions capabilities but, from my experience, they are mainly focused on validating objects (found on web pages) with local data (strings/numbers)....
2 votes
1 answer
138 views
How to download the PDF file of a website using IDRviewer?
I am trying to download the PDF file from a website which use IDRviewer to display them. Those PDF are for community member use only and not for distribution, but membership is free and without pre-...
1 vote
2 answers
108 views
Javascript function to hide Thunderbird message header in preview pane
The message header in Thunderbird's message preview pane takes up extra space and is usually not needed, since much of the same information is presented in the message list. It's possible to hide the ...
0 votes
0 answers
143 views
Editable table-data using google sheet and app script (HTML)
So I have this spreadsheet tab wherein it contains multiple data from column A - Q. There are only 5 columns that are editable. I used data-table to extract the data from the sheet to a webpage. It ...
0 votes
0 answers
28 views
Run the "gather from tabs" firefox extension on chromium to implement javascript
https://addons.mozilla.org/en-US/firefox/addon/gather-from-tabs/ I want to run this code on every tab in chrome and give the number on every tab title. /* Count Words */ (() => { const words = ...
-1 votes
1 answer
78 views
Do i need to pay to my ISP every digital asset someone download from my server? [closed]
I have searched a lot and haven't found a concrete answer on the subject, i want to build a personal webpage and upload there my digital work (projects), that being games, game assets, software tools ...
1 vote
0 answers
61 views
How to make a bookmarklet that calls script from a link usable offline? [closed]
So, I recently stumbled across Eruda, a mobile bookmarklet that lets mobile users basically have dev console in any site. I wanted to make this useable offline but that’s proving harder than I thought....
3 votes
1 answer
1k views
Is it possible to calculate FPS (frames per second) of video using statistical data?
There are parameters: Video bitrate. Frame height. Frame width. Video duration. With this data, is it possible to determine the number of frames per second without actually playing the video? A ...
2 votes
1 answer
318 views
How to find out the FPS of a video stream with FFmpeg?
console.log(this.dsh.getBitrateInfoListFor('video')) I use this: https://cdn.dashjs.org/latest/jsdoc/index.html How can I find out the FPS of a video stream? To do this, do I need to specify a ...
1 vote
0 answers
70 views
mathjax on RSS feed
I try to get update from RSS feed from arxiv.org and zbMATH.org, say math.CO and MSC_05. In particular, the arxiv feed use $\alpha$ for inline math and $$\alpha$$ for display math, while the zbMATH ...
1 vote
1 answer
1k views
How to disable a specific JavaScript on a website using Tampermonkey?
I'm trying to prevent a specific unwanted behavior on a website by disabling a script loaded by the website using a Tampermonkey userscript. The internal script is located at https://website.com/_next/...
3 votes
2 answers
3k views
How can I save a Reddit page for offline viewing in HTML format AFTER the user has manually interacted with the page that has a huge comment section?
I'm trying to save a Reddit page for OFFLINE viewing as a single HTML file, EXACTLY as it's displayed on the browser and after having already manually expanded some comment threads. This issue is a ...
0 votes
1 answer
174 views
Accessing a normal variable inside a javascript function after runtime with a userscript?
Im using a very very old site that displays 3D models on canvasses using JSC3D (Yes, THAT old) and I want to access the scene during runtime if possible... I know userscripts (specifically with ...
-1 votes
1 answer
163 views
How to expand/collapse all treeview nodes in microsoft documentation?
I'm studying several topics in the Microsoft documentation and often the expanded or collapsed nodes get in my way. Would anyone know how to make all nodes expand or collapse automatically? A link for ...
-1 votes
1 answer
592 views
How to delete all exact element tags in inspect element console [duplicate]
I have this webpage I saved on my computer that i edited everything i didnt need out of it on inspect element Im trying to now remove the text inside each profile im following i found the exact ...
1 vote
0 answers
48 views
How to get a indicator on firefox when moving tabs
I am looking for a way to get an indicator to show up when moving tabs in Firefox (and variants). This is broken with Firefox multitab using chrome CSS. This feature seems to be present in one of its ...
1 vote
0 answers
455 views
How to delete all the exact same elements in inspect element console
I have this webpage I saved on my computer that i edited everything i didnt need out of it on inspect element Im trying to now remove the text inside each profile im following i found the exact ...
0 votes
0 answers
199 views
Chrome Javascript and/or network stops running after closing RDP window (not logging out)
I have a Windows server whose only job is to run javascript which is injected into an open webpage in the Chrome browser. The javascript runs perfectly while the RDP session is open. The second I 'X' ...
0 votes
0 answers
201 views
Acrobat JS list/print all PDF form field names "in order" - and direct to csv delmited or excel?
The code below lists all the field names in a PDF. However, it does so in alphabetical order. I would like to be able to get these into Excel, but in the order they appear through the PDF form ...
3 votes
0 answers
1k views
How to append a specific string to a URL that matches, constantly with Tampermonkey? Or another method?
I want to append this string: &sp=CAASAhAB Every time a YouTube search query is performed to remove that stupid "People also watched" section. I've created a Tampermonkey script that ...
0 votes
0 answers
703 views
Chrome won't allow download of file opened via Chrome Extension's Javascript window.open(URL)
I have a Chrome extension which offers buttons, which when clicked perform a windows.open("url") command. This part works fine, and I get a new tab when clicked, with the correct URL. But ...
1 vote
0 answers
1k 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
2k 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
308 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
2k 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
134 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
796 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
2k 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
534 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 &...
1 vote
1 answer
223 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
1k 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
36 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 ...
1 vote
2 answers
736 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
2 answers
2k 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
75 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
8k 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
166 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%...
1 vote
1 answer
412 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
2 answers
2k 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 ...
0 votes
2 answers
3k 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 ...
4 votes
4 answers
2k 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 ...
2 votes
2 answers
2k 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) ...
2 votes
0 answers
1k 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 ...
1 vote
0 answers
410 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 ...
4 votes
2 answers
2k 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 ...
3 votes
1 answer
332 views
Why does Gmail seem to be not responsive and shows 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 ...