JavaScript is a prototype-based scripting language

learn more… | top users | synonyms

1
vote
1answer
6 views

Allow OptionSelector to Scroll While Expanded

My QML app uses an OptionSelector to allow users to choose from a list of items. On tablet size, I have it set to keep it expanded. However, I limit the container height, and while it's expanded, it ...
26
votes
4answers
2k views

Is there a way to cheat javascript games (like Unicoin mining) where rapid clicking is required?

I saw that there's a new currency on the site today for higher privileges called Unicoin. You can mine them by clicking quickly. I was wondering if there's any Ubuntu wizardry that could speed up the ...
0
votes
1answer
24 views

User gets logged off back to login menu

I have Ubuntu 12.04 installed via alternate installer amd64 fresh with LibreOffice and ncomputing vSpace software installed. I facing a unique issue here which is little tricky to describe. Whenever I ...
1
vote
0answers
22 views

How to configure Sublime Text 3 for JavaScript development?

I have just installed Sublime Text 3 and I want to use it for JavaScript Development; I want to be able to run JavaScript code from the Sublime console. How do I create a build system for JavaScript ...
2
votes
1answer
129 views

Which one is best js minifier used in Ubuntu [closed]

I have the big project developed in the javascript framework. Hence its necessary to minify all the js so as the speed may enhance. Please tell which js minifier software will best option?
0
votes
1answer
26 views

autogenerate javascript from mysql

I have a site where I can upload images with some info (startdate, enddate, duration, url) I want to make a SlideShow that choose those pictures that is > $startdate && < $enddate. And I ...
0
votes
1answer
159 views

Why doesn't JSLint/JSHint work in Ubuntu?

I installed as described here and other places, but after using npm to install jslint, jshint, neither will work. Running "jslint", I only get: /usr/bin/env: node: No such file or directory Is ...
0
votes
0answers
47 views

how do i run and test javascript code: IDE, engine App, browser?

Am a coding newbie. Using Codecademy.com/ and while trying some of the lessons there is a problem with testing loops. The browser crashes. Have also tried labs.codecademy.com/ a nice utility but same ...
0
votes
2answers
958 views

How to run javascript in Mozilla URL bar?

I am using mozilla and trying to run this code on the url bar javascript:alert(document.cookie); but when I hit go, nothing happens. But in chromium, it alerts, so what is with the firefox? does ...
0
votes
1answer
132 views

how to run java script in Geany application?

I'm trying to learn programming java script through "codecademy" website. So i downloaded Geany application for more practice but i could not run java script into that application. I created a ...
5
votes
3answers
186 views

Sockets in Ubuntu Touch Apps

I am creating an IRC client for the Ubuntu App Showdown. I need a way to be able to access an IRC server in QML (or JavaScript). What is the best way to accomplish this?
1
vote
1answer
1k views

How to install PyV8 in Ubuntu 13.04?

I want to install PyV8 in Ubuntu 13.04. However pip install -v pyv8 takes super long to build and finally fails. How can I install PyV8 on a Ubuntu 13.04 machine? Here is the error log ...
2
votes
1answer
3k views

Ubuntu 12.04 and Firefox 23 - how to turn off JavaScript? [closed]

My browser updated yesterday and today I've noticed that the option to turn off JavaScript is no longer there. Did they relocate it somewhere? Help.
0
votes
1answer
104 views

Javascript for ie8

I need to use internet explorer 8 with javascript for a program I need for work. I've installed ie8 and tried to install java for windows using playonlinux but the sits still says I don't have ...
0
votes
0answers
135 views

Upstart runs node.js app but function is not working properly

I don't know much about upstart. This script is copy from a tutorial blog and it does its job just fine. I have a node.js app that sits in dormant until it was triggered by users' request. The ...
0
votes
0answers
13 views

Which code editor is best suited for JavaScript in Linux? [duplicate]

I'am currently using Brackets http://brackets.io/ Please suggest a Code Editor with features like auto-complete and live preview!
0
votes
0answers
94 views

Chromium Web Browser not doing JavaScript Events Properly

Chromium Web Browser was running just fine until Today. It is not handling JavaScript events properly. For example, YouTube videos are not loading, which is really bad because I need this. I tried ...
-3
votes
1answer
1k views

Does JavaScript work in Linux server? [closed]

I have a PHP file with a JavaScript and on clicking 'submit', the js should be called. But nowhere I can find this solution done. I am unable to get my JavaScript work in this Linux server. But the ...
0
votes
1answer
55 views

Developing: Where to start?

I'm interested in getting into the technicalities of the OS, perhaps by doing some developing but mainly just understanding how everything works on Ubuntu! I've been using it for about 6 months and ...
4
votes
2answers
131 views

Do i need to know C++ to develop ubuntu app?

I'm a java developer. I dont know much about C++. should i learn C++ to develop ubuntu app? or can develop app without c++?
0
votes
1answer
128 views

Installing a JavaScript file

Whenever I try to install a JavaScript file it opens it in an editor instead of installing it. How do I change this action? Specifically I'm trying to install a script from userscripts.org,
0
votes
1answer
195 views

Web browser is having problem on processing js in UTF-8

I am using Firefox 20.0, but once I was browsing a website(Chinese) and the Lunar Calendar javascript got something like NaN or Undefined. The website has been tested under iPod, Firefox in Windows ...
2
votes
2answers
964 views

GWT (Google Web Toolkit) designer not working on Ubuntu 13.04

On 13.04 the GWT designer is not working on Eclipse 4.2 and Eclipse 3.7. If I want to switch in the design-mode after executing Workaround 2 from this page, Eclipse crashes and is closing ...
1
vote
2answers
1k views

How to install JavaScript Eclipse platform on Ubuntu

I sudo apt-get install eclipse installed Eclipse on my Ubuntu 12.0.4 server, by checking I found it is a classic platform. So, how can I make it as a JavaScript IDE? I followed ...
0
votes
1answer
525 views

Ubuntu 12.04.1 becomes unresponsive and frozen

I have a "classic" install of ubuntu 12.04.1 LTS 64 bits, with the ubuntu-restricted extras 57 installed. All updates done. When loading this page from a daily news papers from Firefox 18: ...
1
vote
0answers
67 views

Is it possible to read from a file from a Cinnamon applet?

Is it possible somehow to read from a local file (or a file in name@domain directory) some info from the applet? So, i need to extract information from local file, that will be created in local ...
1
vote
1answer
74 views

help with using the Unity Web API for my website

I'm trying to follow this tutorial, but when clicking on the 'executing this now' on that site nothing happens, i have put up this code here press (CTRL+U) to see the code and that doesn't work ...
2
votes
2answers
943 views

GWT (Google Web Toolkit) Designer not working on Ubuntu 12.10

The GWT Desinger is not working on Ubuntu 12.10. It worked on Ubuntu 12.04. I installed the Eclipse Plugin as described on the GWT Homepate If I want to open the Design-View (for an xml-GWT-File), ...
1
vote
0answers
194 views

Ubuntu Lock Screen Conflict with Google Chrome

I don't know if this is a "feature" or not, but when I lock my screen in Ubuntu (GNOME 3), if Google Chrome needs to show a JavaScript alert (like if I set a reminder for an event in Google Calendar), ...
0
votes
0answers
110 views

Chrome form issues

Since I've installed Ubuntu on my system I've done several changes. One of them was installing Google Chrome, since i use it on Windows and also it's lighter in my opinion (but that is not the ...
0
votes
1answer
2k views

Unresponsive Script window pops up all the time now. Why and what to do?

I don't know that it's for the exact same script each time, it may be. A script on this page may be busy, or it may have stopped responding. You can stop the script now, or you can continue to ...
1
vote
0answers
299 views

Netbeans 7.01 from 12.04 repository, no javascript support

I've installed Netbeans 7.0.1 from 12.04 repository, I'm having many issues. The most important is that I cannot have help in writing JavaScript. Each .js file appear as a usual text file and even ...
0
votes
1answer
162 views

Can't get media player and actions working on Unity Webapps

I'm following the API documentation at http://developer.ubuntu.com/api/ubuntu-12.04/javascript/ My code, very simplistic: var Unity = external.getUnityObject(1,0); Unity.init({name: "Radio ...
3
votes
1answer
568 views

Gnome Shell JS - Listen for DBus signal on an interface for any path

I'm trying to write an extension that listens for a DBus signal, but I don't know the path ahead of time. Actually, there are multiple paths (unique for each application that implements the ...
0
votes
1answer
471 views

How to circumvent “Illegal instruction error” with midori, luakit and surf

I just installed a fresh minimal ubuntu 12.04 system, first without X, then I installed xinit and xmonad. After that I installed some lightweight browsers: surf, luakit and midori. When I start one ...
1
vote
1answer
150 views

How to enable javascript on xdg-open

I am trying to open a url using xdg-open but the terminal says, So how do I enable the javascript?
20
votes
6answers
15k views

Google Chrome not rendering webpages correctly

I am facing some serious web page rendering issues with Chrome. It is more prominent during javascript based animations and stuff on websites like youtube. I have tried removing chrome using (sudo ...
0
votes
1answer
457 views

Javascript problem

I've a problem with Javascript on web browsers. I can't open Facebook, I tried to delete cookies and cache, and thanks to this I manage to login and see the home page, but then whatever I do it will ...
0
votes
1answer
551 views

Java Script is not working in ubuntu firefox

My ASP application is running perfect in windows IE, but when i run on ubuntu firefox Javascript is not working properly.. Below is my java script code..... And I am calling this java script on ...
6
votes
3answers
2k views

Is there a package for an executable version of v8?

I'm trying to get Vim JS lint plugin working under Ubuntu 12.04. The plugin requires the d8 command, which is an executable version of Google's v8 JavaScript Engine. I do see a libv8 package, but ...
0
votes
2answers
2k views

Firefox Unresponsive script after wake-up/resume

Firefox is often unresponsive after waking up/resuming from hibernate/suspend on Ubuntu 12.04. After a while it will give me an error saying that some script is unresponsive and I get the choice to ...
1
vote
1answer
396 views

gnome-shell-extension: JS that works in looking glass doesn't in extension

I've got the following snippet of code that (in the looking glass) gives me a list of contacts I have (managed by gnome-contacts): // METHOD 1: const ContactDisplay = imports.ui.contactDisplay; let ...
1
vote
1answer
384 views

set window properties (above, on all workspaces) in js/gnome-shell-extension?

As part of teaching myself how to make gnome-shell-extensions, I'd like to be able to tell a window to be on all workspaces on on top of all other windows. I notice in the mutter API there is a ...
5
votes
2answers
2k views

Is possible to run the jsc (JavaScriptCore) utility from the command line in Ubuntu, like in OSX?

In OSX there is a hidden utility called jsc, part of WebKit, that can be used to run JavaScript code on the command line. It can be used as a JavaScript console, like irb for Ruby. I have the ...
6
votes
1answer
2k views

Is it possible to run Windows 8 apps in Ubuntu?

I read that new apps in Windows 8 will mainly be developed in HTML5 and Java-script. Those two languages are already supported in Ubuntu. Hence, is it − or will it be − possible to run those apps in ...
0
votes
2answers
10k views

Java Script functionality not working in firefox on linux

I have developed a project in asp.net which contains javascript functionality as well. The application is working as expected in windows with all the browsers. But I am facing issues with linux OS. ...
2
votes
2answers
439 views

How can one invoke lg (Looking Glass) from a command line?

I had asked another question which is related. I know that I can invoke lg (looking glass) via the gnome-shell "run application" window (by pressing Alt+F2). What I'd like to know is how to do this ...
1
vote
2answers
387 views

Is it possible to assign a keyboard shortcut to cause the Looking Glass to appear?

On Ubuntu 11.10, using GNOME Shell, I find myself using the "Looking Glass" JavaScript Console very much. I know how to assign desktop shortcuts in general; but, this seems a little unusual. Instead ...
1
vote
1answer
5k views

How to run javascript/html page

I want to know what is the terminal command for compiling and executing Javascript/HTML. Is it the same as that of compilation of C program or is it different?
1
vote
1answer
216 views

GWT (Google Web Toolkit) App through USC (Ubuntu Software Center)

Is it possible do deploy google web toolkit (GWT) apps through the UBUNTU software center? I never deployed any application through the UBUNTU software center (newbie). So if yes, is there someone who ...