Questions tagged [javascript]
JavaScript is the common name for the language initially used for scripting in web browsers. It is NOT the same as Java. Use this tag for questions regarding ECMAScript and its dialects/implementations (excluding ActionScript and JScript).
81 questions
0
votes
0
answers
71
views
In Raspbian Bookworm, how to run a headless browser with audio
I have a Spotify player in JavaScript that I need to run headless in Raspian Bookworm on a RPi5. I am controlling the player using the spotipy module in python. I have both nginx and gunicorn running ...
0
votes
0
answers
39
views
polkit policy, restrict the parameters of an application when running with pkexec
I should be able to restrict the parameters when running an application without asking for password (debian 12, systemd 256, polkit 122-3). For example:
app foo
app foo ...
should work, but
app bar
...
0
votes
0
answers
78
views
Issue with `libz.so.1` when running PhantomJS
After extracting the file contents from the phantomjs archive, I ran the command phantomjs and was met with the error:
phantomjs: error while loading shared libraries: libz.so.1: cannot open shared ...
1
vote
1
answer
707
views
How to compare minimised JS files with very long lines? diff prints whole lines which is unreadable (400k characters per line)
I need to compare two "minimised", very similar JavaScript files. Minimisation means that (among other things) newline and space characters that are not needed for interpretation by a ...
1
vote
2
answers
89
views
Seems that any JavaScript makes my debian laptop crash
I have a Dell, debian stable, laptop working with gnome environment. For several weeks Firefox crashed more and more often, resulting in mouse slows down during fews seconds, and then everything ...
1
vote
0
answers
144
views
Is it possible to use webassembly in QNX
I’m trying to figure out if I’m able to port a webassembly based webapplication to QNX. But it is hard to find any information about what versions of browsers and web engine libraries that are shipped ...
0
votes
1
answer
299
views
How to pipe STDIO from a thread process to /dev/null?
I am trying to run Plarium Play with wine, but have encountered an odd issue. When trying to launch it from a regular desktop entry, I get this JavaScript error:
This does not happen if I launch from ...
-9
votes
6
answers
4k
views
Is the linux kernel ported to JavaScript yet?
Is the linux kernel or at least part of it been ported to JavaScript yet ? I want to program on linux kernel but don't want to use c.
0
votes
0
answers
202
views
Simple text browser website access BUT PROTECTED by CloudFlare - JavaScript problem
EDIT on 13-11-2022 (DD-MM-YYYY) to clarify things a bit:
I, a human, want to simply read the text contents of a website, which happens to be protected by CloudFlare protection. Yes, I know that such a ...
1
vote
1
answer
74
views
extract links from webpages which require interaction
I'm trying to figure out how, from a linux shell, to extract the links from a webpage in which the links appear only after clicking a button on the webpage, for example the "Assets" in ...
0
votes
2
answers
64
views
What is the *nix parallel to Microsoft front page (HTML page builder)?
Just as LibreOffice is the current parallel to Microsoft Office and just as GIMP is the current parallel to Adobe Photoshop, what is the *nix parallel to Microsoft front page (HTML page builder)?
Can ...
0
votes
1
answer
181
views
Can cURL or WGET Trigger an Adwords Conversion via Shell Script?
I'm currently working on a project that has a legacy system, unique product, and unique webstore which can't really be changed or updated at the moment.
I've programed a bash script to check the ...
0
votes
1
answer
444
views
How to obtain data from a site that uses javascript?
What I want is to query metallum to obtain a plain list of songs that contain x word, let's say spider, so the query for the browser would be https://www.metal-archives.com/search?searchString=spider&...
1
vote
0
answers
478
views
Is /org/freedesktop/DBus accessible from a web browser?
We have some homebrewn applications running in top of a Xubuntu 18.04 OS, communicating with each other using D-Bus. The UI part is run in a web browser and web socket is being used for the ...
1
vote
1
answer
659
views
Cron task not running
I've configure a cron task for running a NodeJS script everyday.
crontab -l
# Edit this file to introduce tasks to be run by cron.
#
# Each task to run has to be defined through a single line
# ...