Questions tagged [javascript]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
2 views

threejs autocompletion on nvim

i want autocompletions for three.js in nvim , kind of like the autocompletions we get if we open three.js file on a split window on vim [still not good], i searched in coc language plugins list, i ...
user avatar
0 votes
0 answers
15 views

Allow window.close(); in Chrome in settings

I want to use window.close(); for a personal automation script. However, I can't use it because the tab is not opened by window.open();, instead by the OS. In Firefox it is possible to set the flag ...
user avatar
0 votes
0 answers
10 views

How to stream .ts audio and video chunk to a rtmp server?

I am using youtube_stream_capture, to download an ongoing live stream from youtube. youtube_stream_capture downloads chunks something like this IMAGE I was wondering if there is any way to stream ...
user avatar
-1 votes
0 answers
24 views

JSON Sever on the Windows 7

I have problem with installing JSON Server since I use Windows 7 x64. It seems like that latest version of node.js that is supported on Windows 7 is node.js 13. When I try to use command npm install -...
user avatar
-1 votes
0 answers
9 views

Are there any browser extensions that disable the ability for web pages to know if/what/when you've highlighted a portion of text? [closed]

I highlight text a lot. Sometimes to copy/paste, sometimes just to hold my position when I get distracted or to finish skimming the article before returning to that spot for a full read. Nothing ...
user avatar
0 votes
0 answers
14 views

Need help to recover large file from Microsoft Edge blob_storage

I have large 8.3GB RAR file on Google drive, since it is RAR file I wanted to extract it through the Google drive, so I have used Zip Extractor app on Google drive, however once extraction started I ...
user avatar
0 votes
0 answers
9 views

How do you install leaflet.js plugins? [closed]

If i have an existing leaflet.js project (in my case an interactive video game map). How do i go about installing some of the plugins that they provide? Here is a plugin im interested in using. Here ...
user avatar
0 votes
0 answers
11 views

Assign values from one set of key/value pairs to keys of another? [migrated]

I'm working with the outputs of an Intranet I don't control. I have this string: let template = 'LAWYER=|FIRM=|SUIT_DESCRIPTION=|DEF_COMMENT=|PLF_COMMENT=|'; It goes on longer, but that's the pattern....
user avatar
  • 207
0 votes
1 answer
39 views

How to create a console that act as a server?

I am a computer science student working on my capstone project. My team is building a vehicle renting system. In this system, user can book and rent a car they like on a specific date range. We are ...
user avatar
  • 1
0 votes
0 answers
16 views

Is there some way to force Pale Moon to change the spellchecking language?

I have an internal web system which I use constantly to write texts. I write these in both English and OtherLang. Having to constantly right-click, then click several times to switch the language ...
user avatar
  • 1
2 votes
1 answer
116 views

How do I make Windows 10 ignore the first keyboard input on wake-up?

I have set up a computer for my mother, who has Alzheimer and motor skills impairment. A custom web app displays a menu of options and she just presses the letter corresponding to what website she ...
user avatar
  • 33
0 votes
0 answers
19 views

Can CORS be selectively disabled for the empty browser tab?

I'd like to play with the JavaScript fetch API, fetching various urls, etc. so I opened an empty browser tab, popped up the console, typed the JavaScript, but the request failed because of CORS. I ...
user avatar
  • 1,959
1 vote
1 answer
121 views

Why do downloads that fail with error "NETWORK_FAILED" in firefox have the property "canResume" set to false? How can they be restarted in code?

I'm trying to fix the defunct Firefox plugin "auto resume downloads". It appears that to restart a download, one can invoke (from a plugin or Firefox's plugin inspector console) downloads....
user avatar
  • 200
0 votes
1 answer
72 views

How can I configure Acrobat so that it runs a Acrobat Javascript script whenever a PDF is opened in Acrobat?

I wrote an Acrobat Javascript script. How can I configure Acrobat so that it runs a Acrobat Javascript script whenever a PDF is opened in Acrobat? What have you tried? I looked around in the Acrobat ...
user avatar
0 votes
0 answers
8 views

a refresh script in a Chrome book mark. NOT refreshing bookmarks but refreshing a page the bookmark points to

At work I have two sites that hold my work orders. Right now I have to click the bookmark to worklist1 then hit refresh. When done if I just click the worklist2 bookmark it loads what I left, I have ...
user avatar
  • 1
0 votes
0 answers
16 views

Numbered file backups for Visual Studio code

Looking for a way to save/have numbered backups using Visual Studio Code - functionality on same lines that emacs supports. I'm refactoring rather complicated set of javascript files. Actions ...
user avatar
1 vote
0 answers
25 views

Is it possible for browser-hosted Javascript to alter html during page load?

I can put Javascript in TamperMonkey to tamper with the HTML.  Does it process the HTML as it is received, or does it alter the DOM after it is fully loaded? I want to alter links that contain ...
user avatar
  • 660
3 votes
3 answers
136 views

How does gmail know the brand of computer device

Watching the currently logged in devices in a google account I saw my PC listed with its brand: DELL-BRANDNAME (the brand name written on PC body). I thought it is not possible to get this information ...
user avatar
  • 151
0 votes
1 answer
33 views

Send a Click via Javascript console (chrome broswer console)

The whole webpage is like a javascipt container/iframe (i dont know the term) where there isn't really any element to click on. I basically want this click to keep alive the webpage. is there any way ...
user avatar
0 votes
0 answers
24 views

IP camera suddenly showing error in index.js Uncaught ReferenceError IPCLogin is not defined

I have a problem with my cheap noname PTZ camera. I use this cam for watching with its PTZ function and not for recording. We had a power out a few days ago, where the camera rebooted and where I ...
user avatar
  • 390
0 votes
1 answer
42 views

How do I get a .csv file, text formatted date to not to be converted to the date format in Excel

When I import a .csv or a .txt file into Excel the text formatted date, i.e. "Nov-24" (2021) (double quotes are in the file, 2021 is not) is converted to the date format and the current year ...
user avatar
1 vote
0 answers
29 views

Why is my CPU not maxed out? [duplicate]

I have a simple Node script in VS Code that is: instantiating a 300x300x300 array of booleans, initializing every element to false iterating through the array to flip true/false depending on a ...
user avatar
  • 1,047
1 vote
1 answer
56 views

cannot push to github repository

i have removed PROJECTJS repo and want to use task-manager-js repo,when i type: git remote -v it gives me : ProjectJS Task-Manager-JS (fetch) ProjectJS Task-Manager-JS (push) origin ...
user avatar
0 votes
0 answers
10 views

Disable VS Code extra suggestion box in JS files

How do I disable this extra suggestion box when typing in JavaScript files in Visual Studio Code?
user avatar
  • 113
1 vote
2 answers
122 views

Is it possible to kill all scripts on a webpage after loading the page in Firefox?

Is it possible to disable all scripts on a website after a certain time? For example, I would like to load a webpage and have it load executing whatever scripts it wants. However, I would like to ...
user avatar
  • 165
0 votes
3 answers
426 views

Capture text from website that's disabled copy-paste, printing and viewing source

I'd like to capture text from a website (for personal usage, not business) but unfortunately they have disabled copy-paste, printing and viewing the source. Is there another way of capturing the text?
user avatar
0 votes
0 answers
23 views

Always enable paste in Google Chrome?

Is there a way where I can disable JavaScript from disabling paste in Google Chrome. I don't want JS to be able to stop my pasting into a field. I want paste to always been enabled.
user avatar
  • 7,886
0 votes
0 answers
21 views

creating a full-screen web slideshow on win

i would like to do this from random images in a folder. the web is full of merchants that advertise this, but theirs are normally from specific named pictures. i've seen instructions on how to do it ...
user avatar
  • 1
0 votes
0 answers
63 views

How to block an URL which has changing numbers with uBlock Origin?

Using uBlock Origin, I want to block variations of the following URL: https://ir.ebaystatic.com/rs/c/desk08052021.js The 8 digit number after "desk" varies. I had the following custom filter ...
user avatar
  • 1
0 votes
0 answers
14 views

Displaying the Browsers Developers Tool Console via CLI

I am learning Javascript, and I need to access to elements of the DOM, so I have to use the Browsers Developers Tool Console, but I quite dislike X-Server applications when it comes to text processing ...
user avatar
0 votes
0 answers
40 views

Scrape specific data loaded with js on a website with curl (or other ?) in bash script

I try to scrape some information on this website : https://rubic.exchange/ I want the "swaps" and "bridges" volumes information at bottom retrieved with a bash script. I already ...
user avatar
0 votes
0 answers
37 views

How can I make Medium work on Google Chrome?

I use Medium and Google Chrome (93.0.4577.82) and a few weeks ago Medium simply stopped working properly on Chrome. When I click the buttons in the top navigation bar, the menus don't expand. I have ...
user avatar
  • 137
0 votes
0 answers
24 views

Would there be any actual secure, server side way to lock away react routes?

So I don't know what I am asking is even possible but is there any way, like you can do with static HTML and CSS websites to only let a person see the "/test" route for example if they are ...
user avatar
0 votes
1 answer
22 views

Is it considered API if I have css attributes called through javascript? [closed]

I am making a website for a school project, I don't know exactly what API is but from what little I know, is that it is the integration of multiple sources to give the user an outcome? If that is the ...
user avatar
0 votes
0 answers
42 views

Chrome : change Geolocation API provider

Chrome by default uses the Google Geolocation API (https://www.googleapis.com/geolocation/v1/geolocate?key=%GOOGLE_LOCATION_SERVICE_API_KEY%) as a Geolocation provider. Is there a way on Chrome / ...
user avatar
0 votes
0 answers
29 views

Making a file cookie HTML

Is there any way I can make a file a cookie? Because the thing I'm going to store on cookie is larger than one line. I've tried these codes: document.cookie = "cookie="C:\logindata.txt";...
user avatar
0 votes
0 answers
332 views

Loop steps in karate UI automation based on size

I have a karate UI feature file Issue:- In the file i have a step where there are n addresses and based on clicking each address i move forward to the next page/action. I want to do this dynamically ...
user avatar
  • 71
0 votes
1 answer
19 views

Can Acrobat's JS interface automate hyperlinking an existing, formatted listing of page numbers?

I am unfamiliar with Acrobat's Javascript interface and would like to know if the following is even possible: am having no luck searching for existing examples. It's hard to believe no one else has ...
user avatar
  • 1
0 votes
0 answers
29 views

Possible to listen for Video end and editing url with javascript?

So, i want a Autoplay-like script, that listens for a video that ends, and when it ends, it rises the last Number from the Url one up like x = x + 1 or x+= 1. Im not quite in to Javascript, more into ...
user avatar
0 votes
1 answer
261 views

Is it possible to run a custom script whenever loading a web page on web browsers?

I would like to block content on some specific languages whenever I open a page on my browsers (Safari and Chrome on macOS 11.4). I think the best solution is to use Google Translate API and check ...
user avatar
  • 425
0 votes
0 answers
26 views

Router web page does not loading correctly

When I try to log in to the router's configuration page, the following error message appears: Message: Syntax error Line: 886 Char: 14 Code: 0 URI: http://192.168.128.1/js/lib/require/require-jquery....
user avatar
  • 1
0 votes
1 answer
56 views

Prevent website from blocking bookmarklet script

While using some websites, I often use a language bar bookmarklet to type strange unicode symbols to show BQN code. When i click the bookmarklet on the discord web app, the following error shows up in ...
user avatar
  • 998
0 votes
0 answers
26 views

How can I make a bookmarklet to unhide youtube controls?

I found a command line to make a bookmarklet that hides the progress/controls bar on a YouTube video, so now I can pause the video and see the full image and take screenshots. Now I'm wondering how ...
user avatar
1 vote
1 answer
69 views

Why is there a 100 times difference in the execution time of the same JS code between Google Chrome and Chromium?

Recently, I found a website that uses a third-party chromium browser badly, but it is normal in Google Chrome; After comparative analysis, it is found that the reason is probably that there is a long ...
user avatar
0 votes
0 answers
21 views

Field content from other site in hint on a site

Today on some site when I've clicked into guest name field on some site, I saw my full name as been written in state declarations and official documents and never was given on the site, yet I come the ...
user avatar
  • 129
1 vote
1 answer
179 views

Is there anyway to get the nearest element to the cursor? [closed]

Say I have a bunch of <p> tags, I want to get the value of the <p> tag nearest to the current cursor position, how can I do so? I have searched alot about this topic but coudln't find ...
user avatar
0 votes
0 answers
53 views

"Secure Connection Failed" With all browsers on a single javascript resource

I'm trying to access the website of my university, but I'm getting this problem with every single browser, and it's only affecting a single javascript file hosted on that server. Just to be clear, I ...
user avatar
  • 1
0 votes
0 answers
107 views

TypeScript Compiler doesn't delete files I deleted

Folders and files I deleted in my TypeScript codes are not deleted by TypeScript Compiler. I shared the folder structure of my project below. Pay attention to the src/events folder and thedist/events ...
user avatar
1 vote
1 answer
1k views

How do I install or use NPM in Windows Subsystem for Linux?

I have the following error when I try to run my node.js project: ENV@ENV-L7490:/mnt/c/Users/ENV/source/Project$ npm i : not foundram Files/nodejs/npm: 3: : not foundram Files/nodejs/npm: 5: /mnt/c/...
user avatar
-1 votes
1 answer
32 views

Is there any particular way to set up files for Web Development? [closed]

I've been working in...studying...Web Dev for about four years and I'm wondering if there is a particular file structure that's beneficial. Example, I noticed one individual had a DEV folder directly ...
user avatar

1
2 3 4 5
17