Skip to main content

Questions tagged [javascript]

JavaScript is a programming language. Programming questions are off topic here; ask on Stack Overflow instead.

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 ...
Dmitrii's user avatar
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 ...
CuriosityCalls's user avatar
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 ...
Mister SirCode's user avatar
-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 ...
Cont Grrla's user avatar
-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 ...
Olstice's user avatar
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 ...
Rashiq's user avatar
  • 171
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 ...
Olstice's user avatar
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' ...
justiceorjustus's user avatar
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 ...
user9200868's user avatar
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 ...
Lin Du's user avatar
  • 101
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 ...
MattFor's user avatar
  • 29
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 ...
Rick Wilson's user avatar
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 ...
Noah Walters's user avatar
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 ...
Lucifer's user avatar
  • 66
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 ...
Xonatron's user avatar
  • 1,242
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 ...
d-b's user avatar
  • 834
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 ...
Parag's user avatar
  • 1
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 ...
Scott M's user avatar
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/...
spraff's user avatar
  • 2,228
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 ...
brenda gomez's user avatar
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 &...
Ger Cas's user avatar
  • 139
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 ...
misaligar's user avatar
  • 223
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 ...
Andrew Hahn's user avatar
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 ...
Armadillo's user avatar
  • 133
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 ...
somo's user avatar
  • 21
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 ...
guest4308's user avatar
  • 169
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 ...
Mikhail T.'s user avatar
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 ...
somo's user avatar
  • 35
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%...
user1807015's user avatar
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 ...
Rasec Malkic's user avatar
0 votes
1 answer
909 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 ...
MichaelEvanchik's user avatar
0 votes
2 answers
1k 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 ...
Alex O's user avatar
  • 635
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 ...
j03y_'s user avatar
  • 53
1 vote
1 answer
738 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) ...
Powereleven 's user avatar
2 votes
0 answers
820 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 ...
Chaves's user avatar
  • 21
1 vote
0 answers
330 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 ...
Vincent's user avatar
  • 121
4 votes
2 answers
1k 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 ...
Gro-Tsen's user avatar
  • 201
2 votes
1 answer
243 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 ...
gilyen's user avatar
  • 21
-3 votes
1 answer
263 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 ...
Wolfpack'08's user avatar
  • 1,251
0 votes
1 answer
525 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. ...
AbVog's user avatar
  • 601
1 vote
0 answers
122 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? ...
MrSlippyFist's user avatar
1 vote
1 answer
676 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 ...
Capybara_Overdose's user avatar
1 vote
0 answers
559 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 ...
tenepolis's user avatar
  • 127
0 votes
1 answer
364 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 ...
Jachin's user avatar
  • 111
0 votes
1 answer
828 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&...
Deforceh's user avatar
1 vote
0 answers
116 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 ...
R2RVFX's user avatar
  • 13
1 vote
1 answer
74 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 ...
Dale's user avatar
  • 483
0 votes
0 answers
426 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 -...
user1743177's user avatar
0 votes
2 answers
260 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.
JW555's user avatar
  • 1
0 votes
2 answers
1k 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.
Даниил Владимиров's user avatar

15 30 50 per page
1
2 3 4 5
18