Questions tagged [javascript]

JavaScript is a prototype-based scripting language

JavaScript is a prototype-based scripting language that is dynamic, weakly typed and has first-class functions. It is a multi-paradigm language, supporting object-oriented,[6] imperative, and functional programming styles.

159 questions
26
votes
4 answers

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 process of mining these coins (and by extension…
Oli
  • 299,380
25
votes
7 answers

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 apt-get purge google-chrome-stable) and then…
21
votes
2 answers

Is the source code of the online tour available?

For Oneiric Ocelot launch, there was an awesome Tour created for showcasing how Ubuntu especially Unity works. The Ubuntu Online tour actually mimics a whole desktop and to a greater extent behaves a lot like using Unity in real. My question is…
Manish Sinha
  • 11,671
13
votes
3 answers

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 from a command line? For example, if I wanted to…
13
votes
3 answers

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 Some packages could not be installed. This may…
13
votes
1 answer

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 configurations of the "Web Search Dialog" extension: The…
12
votes
3 answers

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 that doesn't seem to either install d8 or at least,…
11
votes
3 answers

How to run JavaScript in Firefox URL bar?

I am using Firefox and am trying to run this code on the URL bar javascript:alert(document.cookie);. But, when I hit go, nothing happens. In Chromium, it alerts, so what is with Firefox? Does Firefox try HTTP by default? If so, then how do I…
9
votes
2 answers

Where are gnome-shell's UI javascript files on Ubuntu 20.04?

I have found the source code of gnome-shell UI js files on the Debian website: https://sources.debian.org/src/gnome-shell/3.38.2-1/js/ui/ Then I have also found this answer here, which points out that this path/file existed in Ubuntu some time…
Levente
  • 4,607
7
votes
3 answers

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 libwebkitgtk-3.0 and -3.0-dev libraries installed, but I…
7
votes
4 answers

Does Evince support javascript in pdf files?

In some pdf file readers for MS Windows such as those from Adobe or Foxit, it is possible to turn off the ability to implement javascript in a pdf file. Is that possible with Evince (Document Viewer) 3.2.1? I don't see any option to do so. Or, is it…
user25656
6
votes
1 answer

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 Ubuntu? How do I do that? Could you give me a…
Agmenor
  • 16,394
6
votes
2 answers

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 there something wrong with the Ubuntu 13.10 repo, or do…
NoBugs
  • 1,440
6
votes
3 answers

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?
6
votes
3 answers

what is the location of node-modules

I want to see my all packages and modules of node-module. Please tell me its the location in ubuntu 18.04. such as /path/to/node-module. Moreover, How to see the code of modules such as http module or fs module.
1
2 3
10 11