Questions tagged [javascript]
JavaScript is a programming language. Programming questions are off topic here; ask on Stack Overflow instead.
885
questions
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 ...
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 ...
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 -...
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.
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.
4
votes
2
answers
2k
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
309
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
2
answers
461
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
1k
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 ...
0
votes
0
answers
80
views
Strip all HTML from text in GUI in Ubuntu
I work with Ubuntu 22.08.
I am migrating my website from one content management system to another (from MediaWiki to Drupal).
If I copy a MediaWiki article to Drupal, it won't be copied as plain text ...
-1
votes
1
answer
42
views
How to download part of JavaScript code
I am looking at this website with a public table with some information I am interested in. I can download the info saving the page through Firefox, but it will take too much time to save all tables (I ...
2
votes
1
answer
3k
views
Is there a trick to get the Firefox's Devtools (developer tools) debugger to pause JavaScript using the keyboard?
When the Firefox Devtools (developer tools) Debugger pane is open, you are supposed to be able to press the F8 keyboard key to pause JavaScript.
I find that this rarely works on complicated websites (...
0
votes
0
answers
1k
views
Download a pdf rendered by pdf.js
My tution gives out notes of their classes on their website, but they make them undownloadable.
They are rendered in the browser with mozila's pdf.js library, and the 'download' button is hidden.
I ...
0
votes
1
answer
901
views
Simple code worked in Chrome DevTool but not in TamperMonkey
Foreword: I am amateur, just trying to make my own js script to make some task easier on myself.
I'm using and learning JavaScript.
The code(s) I've tried:
window.history.go(-1);
history.back
What I ...