Questions tagged [javascript]
JavaScript is a programming language. Programming questions are off topic here; ask on Stack Overflow instead.
890 questions
0
votes
0
answers
52
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
15
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
43
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
21
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....
0
votes
0
answers
18
views
Can someone explain the steps shown in this response whereby I wish to remove Wikipedia citation numbers before copying and pasting text in MS Word? [duplicate]
I saw a response to the similar question at;
response by Stuart McLaughlin
Whereby Stuart McLaughlin suggested this;
Create a new browser bookmark and copy the javascript code below into it - when ...
3
votes
1
answer
977
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
0
answers
106
views
How to find out the fps of a video stream/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
26
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
461
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/...
2
votes
2
answers
666
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
48
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
77
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
324
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
32
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
214
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
147
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
107
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 ...
0
votes
0
answers
38
views
After changing the windows system time, the Date in the browser console is not updated immediately
After I changed the system date to '2024/2/27', the browser console still returns today's date. When I execute new Date().toISOString(), it returns '2024-02-28T05:37:55.404Z'. But after some time, it ...
2
votes
0
answers
790
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
541
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
995
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
620
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
223
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
81
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
388
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
448
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
116
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
28
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
1
answer
537
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
1k
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
52
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
6k
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
129
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
308
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
1k
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
2k
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
1k
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
366
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
284
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 ...
-3
votes
1
answer
316
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
1
answer
678
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
133
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?
...
3
votes
2
answers
978
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
688
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 ...