Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [javascript]

JavaScript is a prototype-based scripting language

1
vote
0answers
4 views

RUNTIME ERROR: IONIC 3. Can't resolve all parameters of HomePage([object,object],?)

i am using ionic3 i want to come out with a 'notes' application, which takes notes and save them.Nut this is the error i had about my home page. RUNTIME ERROR ; Can't Resolve all parameters for ...
0
votes
0answers
26 views

npm is not updating my node.js correctly

I have a js code that I want to run on a remote Ubuntu 16.04. And node -v is not showing the same results like nodejs -v. Well this happened after using npm update(the script I need to use asked for ...
1
vote
0answers
44 views

Problems Accessing MalwareBytes Website - On Console i get this!

When i try to acces the website i got this, i believe is js related but i was unable to solve tryed to install os-service and a lot of other things... Ubuntu 18.10. tryed to install XMLHttpRequest ...
0
votes
1answer
16 views

How to install and use angularjs on ubuntu18.04?

Can anyone share me how can I use angularjs latest version. I want to do project on angularjs.
0
votes
0answers
17 views

How to download a website which includes an applet?

I was trying to download the following website which includes an applet in different versions (WebGL, Javascript and Java): http://www.falstad.com/ripple/ I used the the command wget --mirror --...
1
vote
1answer
24 views

Unable to upload .amr files in Ubuntu?

I'm trying to upload media files to a website I'm maintaining. The latest one to be added is .amr (test file from here) and it's causing problems, but only with Ubuntu. It works fine on Mac OS (High ...
0
votes
0answers
81 views

Submenu to an existing popupmenu in gnome extension javascript

I am working on an extension for gnome, in which there is a popupmenu with items and I want one of these items to connect another popupmenu (submenu) populated with items.Below is a snipet of the ...
1
vote
0answers
36 views

I am getting an error when I am checking npm version

I am getting an error when I hit npm -v. Actually this happent after I tried a command to update my npm version from 3.5.2 to version 4 or higher. The command I used is this sudo ln -sf ~/.nvm/...
0
votes
1answer
555 views

Node.js “UserLogged” function returning “undefined”. Why? [closed]

When I get to the end of the code below, it always returns "undefined" and I don't know why! function UserLogged (session) { if (session === null) { var err = new Error('Not logged in'); ...
0
votes
0answers
68 views

Java script constant crash in firefox after update

I installed ubuntu mate 18.04 a few weeks ago and accepted an update from the software updater and since then I get the following message in almost any page I go that has some java script on it. ...
5
votes
1answer
739 views

Why do I receive an error message while trying to access some of my GNOME shell extension settings?

Some of my GNOME shell extensions don't let me configure their features because I receive an error message when I try to open them. The following image is what I see when I try to open the ...
0
votes
0answers
12 views

Bind shortcut to JS gnome-shell command

What is a simplest way to bind shortcut to JS gnome-shell command, like: Main.overview.viewSelector._workspacesDisplay._primaryIndex = 1 This command can be easily invoked from "Looking Glass" debug ...
0
votes
0answers
15 views

Marking a pdf's metadata

I need to create a pdf with javascript, and put some unique identifier (a collection of 10 SHA-256 hashes) as metadata. Is there a slot for arbitrary metadata? I feel it's awkward putting this in the "...
1
vote
1answer
74 views

pdf viewer withour javascript enabled

I'm searching for a good, simple PDF viewer without javascript support. This link says that Evince does not have javascript support but may in future. I want a PDF viewer that has no javascript ...
0
votes
1answer
297 views

AngularCLI serving problem on Ubuntu 16.04

I've already installed AngularCLI with npm and then I try serving ng serve --open in the terminal. But the terminal shows an empty screen and then does nothing. What can I do to serve my Angular app?
3
votes
4answers
2k views

Messenger - JavaScript error in the main process

I have installed the Messenger for Desktop app on my 16.04. Everytime I launch the application I get this javascript error seing on screenshot below However when I click OK the the app launches ...
1
vote
0answers
283 views

Minimal X web browser with JavaScript support

I need to use a browser via ssh -X (that is, X rendering is allowed via ssh), but the browser should be as lightweight as possible, since the connection is not very fast then I need to minimize the ...
2
votes
0answers
823 views

How can I get yarn to use the right version of Node?

I am new to Node, JavaScript etc. and want to try messing with the code of Signal. For this I need a specific version of Node. I did this (on Ubuntu 16.04) using the following procedure: wget https://...
0
votes
0answers
165 views

Temporary way to mitigate Meltdown before official fix? [duplicate]

As I understand it this vulnerability is about browser behavior, would turning off javascript be a temporary mitigation against attack?
1
vote
1answer
232 views

How to compare V8 Javascript Engine version between Chrome and NodeJS in terminal?

Every time that a feature of ECMAscript specification is implemented (see link below) in V8 Javascript Engine from Google Chrome browser we are never know when will be available on NodeJS Server. I ...
1
vote
0answers
68 views

Error: Command 'download_from_google_storage --no_resume --platform=linux* --no_auth --bucket chromium-clang-format

When I try fetch v8 or gclient sync I get this error: Error: Command 'download_from_google_storage --no_resume --platform=linux* --no_auth --bucket chromium-clang-format -s v8/buildtools/linux64/...
0
votes
1answer
761 views

A JavaScript error occured in the main process while trying to run GeoGebra 6 Portable

I recently downloaded this version of GeoGebra and, after I extract the components of the zip file, everytime I try to launch it through terminal using ./GeoGebra it gives me the following error: A ...
0
votes
1answer
152 views

Get linux 'screen' to recognize xterm mouse-click cols > 95

I have a Web-based terminal using xterm.js and ssh2 from node.js. When I click, xterm.js sends mouse-click coords via xterm escape sequences. This works fine. When using the 'screen' cli utility, ...
0
votes
0answers
38 views

Website inaccessible from Ubuntu command prompt but is accessible from browser

When I visit a website from the browser it exists, but when I check with the Ubuntu command line it pings but nothing else works. Nmap does nothing. Curl does nothing. The only vaguely interesting ...
0
votes
0answers
104 views

Ubuntu server does not link external files to index.html

I have been developing this site for 1 week now and when I was organizing it, I started to link my index.html page to external files (like style.css and main.js) instead of including them in index....
4
votes
1answer
756 views

How to load Greasemonkey scripts directly from a Github gist or repo?

Instead having 3 versions of my browser's userscripts: local-draft local-Greasemonkey Github I want to have only 1 script instance in Github. I need a way to import the content of the script, which ...
0
votes
2answers
258 views

Certain websites fail to load in Chrome

I'm using Ubuntu 14.04. I'm not able to post questions on Ask Ubuntu in Chrome, apparently because of a dependency on JavaScript from another domain. I know this isn't an issue with the website. It ...
0
votes
2answers
20k views

How to install angularjs on ubuntu

I don't know how to install angularjs on ubuntu 16.06 and I can't even find it on the internet.
0
votes
1answer
1k views

Install older version of firefox for SlimerJS

I need some help with installation of firefox older version. Also I have to make it work with SlimerJS npm module. As it says on SlimerJS website it works with versions of firefox from 38.0 to 52.0. ...
1
vote
4answers
31k views

How do I install ReactJS?

I'm trying to install React JS on Ubuntu, but the instructions in the tutorial are only for Windows. How can I continue? I've checked some other tutorials on the internet and I find that no two ...
0
votes
1answer
34 views

at nautilus, javascript file opens with “windows based script host”, what is that?

what that "windows" thing is doing here? how safe is it? when I double click on the js file (expecting gedit), it starts some process that I cannot find with ps... so, what executable is that thing?...
4
votes
1answer
3k views

How to install and configure Mozilla SpiderMonkey js engine in Ubuntu Server 16.04

How to install and configure Mozilla SpiderMonkey js engine in Ubuntu Server 16.04? I want to use SpiderMonkey to run JavaScript code in my web app.
2
votes
0answers
60 views

Is there a way to access filesystem from a HTML5 App in Ubuntu Touch?

I'm trying to adapt a html5 app written originnally for Firefox OS to Ubuntu Touch. There are various issues, like file system access, contacts access, notifications and others. I want to know if ...
1
vote
1answer
775 views

How to beautify JavaScript files recursively?

I have lots of *.js files in subfolders and subsubfolders of my Node.js project which I have written recklessly, and now I'm looking for a tool that can iterate over all the files and beautify them. ...
1
vote
2answers
756 views

Firefox no longer recognizes that Javascript is enabled?

OS— Ubuntu 16.04 (64 bit). Browser— Firefox 50.0.2. When I go to this URL, all I see is an error message that says, "Your web browser must have JavaScript enabled in order for this site to display ...
1
vote
0answers
135 views

Importing non-utf8 calendar file in Thunderbird Lightning

An online calendar file (.ics) that I am trying to import happens to be in the latin1 encoding rather than UTF-8. I added the calendar to Thunderbird's Lightning extension, but none of the events ...
-2
votes
1answer
634 views

Is Ubuntu is good for Java development? [closed]

I am going to develop an eCommerce site using Spring, JDK, Maven, jQuery, JavaScript, servlets, JSP and HTML. Is Ubuntu is good for developing a project like this? If I face any issue related to this ...
1
vote
0answers
365 views

Unique popup window using window.open in an iframe

I have an iFrame with a window open(url,uniqueID,windowparams). The iFrame is located on a single page app and hosted in another server. Everytime I refresh or change the page then return to the ...
0
votes
1answer
2k views

Failed to build app with Apache Cordova on ubuntu 16.04

I have a problem with Apache Cordova to build my application . I'm using Ubuntu 16.04 LTS 32-bit able to investigate the matter fy he found that there are similar issues in this release of Ubuntu , ...
1
vote
2answers
1k views

Does Gedit accept JavaScript?

I have a question about Gedit. I am trying to learn JavaScript. I went to http://www.w3schools.com/js/ and tried the Date and Time example. Date and Time example code: Source: http://www.w3schools....
0
votes
1answer
2k views

install grunt in Ubuntu 16.04

I am trying to install Grunt v1.0.0 in Ubuntu using this command sudo npm -g install grunt or sudo npm -g install grunt@1.0.0 in both cases, I am getting /usr/local/bin/grunt ->/usr/local/lib/...
1
vote
2answers
173 views

Solved: Ubuntu phone: what is the difference between a web app and a native one?

Question: Is an application written in JavaScript (A language that Ubuntu recommends) a native or a web one? Answer: According to Ubuntu SDK, Javascript/HTML/CSS apps are considered to be Native ...
1
vote
0answers
270 views

16.04: Error while installing LAMP

Every time I try to reinstall LAMP I get this error. Please tell me how to fix it: Errors were encountered while processing: javascript-common phpmyadmin E: Sub-process /usr/bin/dpkg returned an ...
2
votes
2answers
2k views

Can't install node-inspector in Ubuntu 16.04

When trying to install node-inspector with: sudo npm install -g node-inspector I had the following problem: node-pre-gyp ERR! Tried to download: https://node-inspector.s3.amazonaws.com/debug/v0.7.3/...
0
votes
1answer
202 views

How do I set Netbeans as the default for .js files

I have Netbeans 8.1 installed on my computer and works well as the default for php and css files but can't set it as the default editor for javascript files. Any ideas?
1
vote
0answers
38 views

Skype does not sign me in on Ubuntu 14.04

When I try to sign in to Skype, I get a message about a JavaScript problem. Here is a screenshot. I already tried re-installing Skype and deleting all lock files as well as shared.xml but the problem ...
0
votes
1answer
102 views

Error during setup of unity-js-scopes-tool

I am going to create a Scope for Ubuntu Touch with the Ubuntu SDK. I used this JS-Tutorial. So I did the installation process within a fresh installation of Ubuntu 15.10 in VirtualBox with the ...
0
votes
1answer
742 views

Warning of “unresponsive script” in Firefox

I am getting warning in Firefox about Unresponsive Script for the last few days and all commands lock-up. The script is said to be: https://apis.google.com/_/scs/.colq-IFOizNwoQA/cb=gapi./loaded_0:`...
1
vote
1answer
62 views

How to pass phone number to phone application from scope

I'd like to be able to pass a phone number to the phone application from within a preview of a scope. Is that possible? Is it done with action widgets? Is there an example of this somewhere in ...
0
votes
1answer
170 views

Problem with Java and JavaScript

So tomorrow I'll be doing some labs for MySQL certification, and since in my country I can't get class training I had to choose Training On Demand (TOD) which is a good way to learn (You have recorded ...