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).

learn more… | top users | synonyms

0
votes
0answers
16 views

To visualise look-behind in this Regex

I am using Regexr to visualise my regexes now. I need look-behind but Javascript does not support it, example code here. The project code base seems to be dependent Javascript (NodeJS) in Github. I ...
3
votes
1answer
107 views

How to call a shell script from Javascript code?

I am not able to call a shell script program from javascript(for example if someone will click a button in webpage then a script will run and will throw some output)???
0
votes
0answers
21 views

Is there a solution for scanning webserver files for malicious code?

I have seen several times people move code into web servers now that had malicious code embedded into their HTML, php and other documents. These then get served up from the new server until they are ...
0
votes
0answers
57 views

Folding in vimrc does not work as expected

I added these to my vimrc: set foldenable set foldmethod=syntax set foldlevelstart=1 let javaScript_fold=1 " JavaScript let perl_fold=1 " Perl let php_folding=1 ...
0
votes
0answers
1k views

NVM cannot find installed Node binary, PATH problem on Linux Mint 17?

I've successfully installed NVM and Node using official instructions. My .bashrc file contains [ -s "/home/user/.nvm/nvm.sh" ] && . "/home/user/.nvm/nvm.sh" After some time, maybe a day, I ...
0
votes
2answers
177 views

How to install Uglify on Debian Sid

I have a question about how to install Uglify or Uglify2 on Debian. I'm also wondering whether I have to install Node.js as well. My main goal of asking this question is to minify all my CSS and .js ...
1
vote
0answers
369 views

Using node.js and shelljs as interactive shell

Following the answer given at unix.stackexchange.com/questions/58011/is-there-a-javascript-shell That requires me to always execute var shell=require("/usr/local/lib/node_modules/shelljs"); It ...
-1
votes
2answers
160 views

Alternative shells (Javascript, Ruby, etc)? [duplicate]

Does anyone use a shell written in Javascript, Ruby, Clojure, etc as their everyday unix shell, instead of bash, zsh, etc? Is there any reason not to?
3
votes
2answers
4k views

Javascript to HTML converter?

Take for example this snippet of code on a web page. <html><body> <script language="javascript"> document.write("The cat"); document.write(" sat on the mat"); </script> ...
1
vote
0answers
119 views

Create app that launches a local app in Joli OS

Recently (I mean, for the last 30 minutes) I have been playing with Joli OS. I spent quite a bit of time trying to figure out how local apps are launched within the web browser. After figuring out ...
6
votes
2answers
2k views

Launch a GUI browser on server without a GUI? [duplicate]

What's a simple way to launch a browser on an server that doesn't have a GUI, but needs a GUI-like browser? Something like Firefox or Chrome. I need to trigger a page load but it needs full javascript ...
11
votes
4answers
4k views

Is there a JavaScript shell?

Recently I've been working with JS and I'm very enthusiastic about this language. I know that there is node.js for running JS at server side, but is there a shell that uses JS as a scripting language? ...
0
votes
1answer
571 views

IDE or Editor for Front-end development (JavaScript/HTML/CSS)? [closed]

These days APTANA seems to be the IDE of choice for Javascript developers although there is no package for Ubuntu or any other distribution. How do I install Aptana on Ubuntu? Is it stable? (if you ...
5
votes
1answer
399 views

StackExchange with Elinks

I use Elinks to browse while I am connected remotely. I am unable to login to stackexchange using my OpenID. I enter the correct URL, and upon submission, I get the "No OpenID endpoint found." text. I ...
5
votes
5answers
9k views

What's the currently recommended way to install node.js on Debian?

I've found a few different methods on the web, but some of the articles are quite old, and I'm concerned that the methods they describe have been superceded. Can anyone tell me what the currently ...