JavaScript is a prototype-based scripting language

learn more… | top users | synonyms

0
votes
1answer
21 views

Cannot detect if a MouseArea is over a GridView item

This question is not specific for the Ubuntu platform, but as I am developing an Ubuntu Touch app, I'd like to ask first here. I have a list of UbuntuShapes arranged in a GridView - generated from a ...
0
votes
0answers
16 views

Problem Running JavaScript in Ubuntu LTS Trusty Tahir [closed]

I have created a simple webpage using HTML, CSS and JavaScript, the three in separate files, and I have put them all in the same folder. When I open the HTML file in my browsers(Chrome, Chromium, ...
-2
votes
0answers
15 views

Added cart items should be sent to the mail of the user [closed]

Iam using this script in my checkout.html page to display the cart items of the user. But when he clicks "confirm order" then mail should be sent containing information of the cart items and details. ...
0
votes
0answers
15 views

Bad installation of Uglify (Node-based JavaScript minifier)

I want to install Uglify in order to minify JavaScript files on the command line. Some sources say to install npm and then use npm install uglify-js -g. Some sources say you can just apt-get install ...
0
votes
1answer
24 views

Is it possible in Ubuntu app, start C++ function from javascript?

I have application using QML and C++ and want to start C++ function from javascript . Is it possible ?
0
votes
1answer
45 views

how to remove best-deals-products.com from firefox

When i try to load any web oage (askubuntu.com for example), noscript addon blocks some scripts from a domain called best-deals-products.com I've searched about this topic on duckduckgo and google and ...
0
votes
0answers
42 views

Intel XDK - Error when trying to consume Web Service from Explore Services panel

When I try to call any web service from the Explore Services panel the response is something like: undefined is not a function TypeError: undefined is not a function at ...
0
votes
0answers
32 views

Ubuntu SDK include error because of import [QML/JS]

Here are my files : SettingsController.js .import QtQuick.LocalStorage 2.0 as Sql var result=Qt.include("MainController.js") Qt.include("DatabaseDefault.js") console.log(result.status) ...
0
votes
1answer
37 views

What's the proper way of connecting a signal to a JavaScript method?

In an Ubuntu phone application, I need to perform some logic when an event occurs. Since I don't want to pollute the QML with too many lines of JavaScript, I made a class in an external file and I ...
1
vote
2answers
60 views

How do I setup a server side JavaScript

I keep hearing about how fast server side JavaScript is. I also have a project in which I want to use that tool. I tried Googling it, but could not find a simple and detailed tutorial on how to get ...
0
votes
0answers
312 views

How to tell what a PUA.JS.Xored actually is

Almost every time that I scan my machine with ClamAV I get some results reporting that there is this PUA in my browser's cache: PUA.JS.Xored And I understand that this is encrypted JavaScript of ...
0
votes
1answer
256 views

how to use color of my choice for each bar in a bar chart using chartjs [closed]

I am using a single data set and and I want color of my choice for each bar in the bar graph. Please help. var data = { labels: ["a","b","c","d","e","f","g"], datasets: [ ...
0
votes
0answers
17 views

QT Quick Test problem [duplicate]

I have a QML file and I want to test the function of this test , in this file I have some import like import ValueField 1.0 , import MyModule 1.0 and I need this imports So when I run the QT Quick ...
0
votes
1answer
22 views

unable to sign with digital certificate on portal

Please help to resolve mention issue we are using Ubuntu 10.04 and we have our internet portal that purpose we require digital certificate.we are using mozila 24.0. that certificate show in Mozilla ...
0
votes
1answer
107 views

Variable problem when using FB.api async calls with jQuery.when() [closed]

Trying to get data from several calls to FB into one array and operate with it when ready. Unfortunately. Script waits for response, but in any way I cannot access it later. var xxx = 0; // ...
0
votes
1answer
21 views

How to parse remote html in ubuntu touch app

I am trying to find out if I can port a python based programm to ubuntu touch. My program parses remote html pages for items and then saves or streams the given link locally. How do I parse a ...
1
vote
1answer
38 views

api for new and stable versions of Ubuntu

I am trying to build an automatic Ubuntu widget for my website, that displays the latest version and the next to be released version and the to be LTS versions. Right now at every new Ubuntu release ...
2
votes
1answer
131 views

Why XMLHttpRequest send only “server connection established” in readyState attribut?

I try to store the result of JSON webservice into a List view. I create my request in javascript but my readyState value is always 1 and never change. I don't understand what is wrong. This is my ...
0
votes
1answer
41 views

Openbravo login javascript not created

It's my first time installing openbravo. I did it on ubuntu 14.04 LTS. The problem is when I log in (for the first time), this javascript is not found GET ...
0
votes
0answers
46 views

Get ARGB data from html5 canvas

I have a html5 canvas element and I'm trying to get an array of ARGB data (32bit packed data, for use with x11/xorg/xlib). My code and jsfiddle attempt is at bottom. I don't know how to do this ...
0
votes
0answers
23 views

File not modified, Problem in saving JS file UBUNTU

At 13/08/2014 2.30pm I saved my file named script1.js. And OS was Ubuntu 14.04 tasty tahr. Text editor was sublime Text and browser was google chrome. It was containing more than 500 lines of code. ...
0
votes
0answers
53 views

Problems with java script to be executed

I encountered the following problem while uploading my ssh keys to github: In github there is the option to add an SSH key. If you clicking on the button a form where you can fill in the title and ...
3
votes
2answers
572 views

QML - How to create QML Components properties so they can be set from JavaScript?

I am trying to create a component with certain properties I've set. The sounds location and name are given by a C++ function that is actually working because the console.log() shows so: qml: Adding ...
2
votes
1answer
113 views

Get exclusive lock constant? In ctypes it is O_EXLOCK [closed]

I'm trying to open a file with exclusive lock via Javscript. So the library to open is no sweat just the number to pass as unixFlags is a problem. This is syntax: OS.File.open('/path/to/file', ...
0
votes
1answer
153 views

14.04 update broke my ruttorent setup

I just updated my system and now my rutorrent isn't working. When I go to the web page, I get this error JS error: [http://192.168.0.36/rutorrent/js/jquery.js : 2] TypeError: a is null I googled it ...
2
votes
3answers
291 views

How to make /bin/ps, called with aux as its argument, write to a file?

Is there a command line argument I can pass to /bin/ps -aux to make it write its output to a file? edit: To resimulate my issue: Open firefox Enable developer preferences (or as shortcut install ...
0
votes
0answers
74 views

Opera 12 Lags on Gmail

I've searched for too long and couldn't find anything useful. Most of the issues I found are for older versions and are about IPv6, which I don't think is the problem here. The problem on arises on ...
0
votes
0answers
109 views

Javascript hangs chrome and firefox

Ubuntu 14.04: Chrome and Firefox hang when Javascript is enabled. This problem is mentioned many times but no real solution found. Tried re-setting Firefox and re-creating profile.
0
votes
0answers
60 views

Addressing in ubuntu for webserver/site

I am having an '500 Internal Error' on my webserver. I call for a file that is located at '/usr/lib/cgi-bin/pagLoad.py' but the call for it in the 'index.html' was only 'cgi-bin/pageLoad.py'. I ...
1
vote
3answers
435 views

What all do I need with my Apache Server

I was wondering what all extra I have to install on top of apache2. My websites are running some javascript, css, and some jquery stuff. Does apache come with everything necessary to run a website ...
1
vote
0answers
49 views

How does the javascript WebApp integration work? [closed]

So, this question is mostly for the guys at Canonical that came up with the Javascript integration of (I think it's C++, but I could be wrong) integration. How is it possible to integrate external ...
2
votes
2answers
785 views

Not able to see Kate Plugin for Javascript in Kubuntu

I installed Kubuntu 14.04 recently. I had heard about the Javascript related plugins(Pretty JSON specifically) being there in Kate setup. But it does not show up in any of the options. I am not sure ...
1
vote
0answers
45 views

Using applets from another distribution

There are several very useful applets from Mint Cinnamon which I would like to be able to use: http://cinnamon-spices.linuxmint.com/applets. I know how to write a shell script to start a Java ...
2
votes
1answer
21 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
3k 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
143 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
1answer
212 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
38 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 ...
3
votes
2answers
1k 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 ...
1
vote
2answers
6k 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
564 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
241 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?
3
votes
1answer
4k 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
4k 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
225 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 ...
-3
votes
1answer
3k 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 ...
6
votes
2answers
14k views

Ubuntu / Install NodeJS & npm

I'm trying to install nodejs and npm, however, it fails. This is my terminal: sudo apt-get install nodejs npm Reading package lists... Done Building dependency tree Reading state information... Done ...
0
votes
1answer
62 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
164 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
149 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,