Questions tagged [javascript]
JavaScript is a programming language. Programming questions are off topic here; ask on Stack Overflow instead.
885
questions
0
votes
0
answers
13
views
Setting mute, changing volume, listener [migrated]
this.dsh.initialize(this.v, '/dash.mpd', true);
this.dsh.on(dashjs.MediaPlayer.events.PLAYBACK_NOT_ALLOWED, _ => this.dsh.initialize(this.v, '/dash.mpd', this.v.muted = true));
Start playback if ...
1
vote
1
answer
78
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
21
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
24
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
64
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
18
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
52
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
91
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
53
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
31
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
430
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
349
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 ...
0
votes
0
answers
17
views
How do I refresh an page automatically every time an net::(ANY ERROR) is detected on the inspect console on Chrome?
So I have an question. The most annoying error I have in Chrome is the net::ERR_SSL_PROTOCOL_ERROR, which occurs for broken images. I used Codepal to help me make this script, but it does not work. I ...
1
vote
0
answers
612
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
321
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
161
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
1k
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
67
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
206
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
356
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
71
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
748
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
27
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
418
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
800
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
37
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
4k
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
115
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
243
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 ...