JavaScript is a programming language. Programming questions are off topic here; ask on Stack Overflow instead.

learn more… | top users | synonyms

2
votes
0answers
162 views

How do I stop scripts from accessing the mouse wheel in Firefox?

I'm using Firefox 16.0.2 on Mac OS X 10.6.8, including the NoScript 2.5.9 plugin. Sometimes when browsing, a web site will have an embedded map or the like within it, and when scrolling down the page ...
2
votes
0answers
357 views

How do I get started with the M-Project on Windows?

This website for this great tool, called the M-Project says that I will need to add a doskey like this: doskey espresso=node C:\Path\To\Espresso\bin\espresso.js $1 $2 $3 $4 It is a tool for ...
2
votes
1answer
94 views

Javascript Methodname is replaced with !==

On the server lies a html file with javascript code included. This javascript code includes a method called something like "CheckObject". This file works for all users, except one specific (but ...
1
vote
4answers
785 views

Open the ClearBrowserData bookmark in Chrome, in a new window

I am trying to create a bookmark that will open the ClearBrowserData in Chrome in a new window, so far I have managed to get this, ...
1
vote
2answers
142 views

Is it safe to use an untrusted bookmarklet on a web page with sensitive data?

Is it safe to use an untrusted bookmarklet on a web page containing sensitive data, for example internet banking page? In particular, can a bookmarklet send the data anywhere or execute some actions ...
1
vote
3answers
648 views

Complex JavaScript page to test browsers performance?

I have three different browsers I want to compare: Mozilla Firefox, Google Chrome, and Safari. I don't need very sophisticated mechanism; it can simply open a webpage and render. I tried Gmail, ...
1
vote
3answers
3k views

Code in Powerpoint presentation [closed]

I am putting together a powerpoint presentation which will contain some JavaScript samples. Just wondering what tips anyone has to make this easy to read? I am specifically looking for tips on fonts, ...
1
vote
4answers
6k views

What tools can be used to download all images in a webpage?

I would like to download all images in a web page. The tool should be smart enough to examine the css and javascript files in the page source to look for the images. Ideally, it should also replicate ...
1
vote
2answers
875 views

Coffee script command not found

I am trying to use coffee script for the first time so I can alter the Chosen plugin by Harvest. I used the npm install -d command as specified at their GitHub page to install cake and coffee. This ...
1
vote
1answer
655 views

Strange Javascript addition in Email address

recently I received an email from someone whose email address contained strange additions. Instead of Somebody <address@gmail.com>, it was Somebody ...
1
vote
2answers
1k views

How to run localhost or local website within Powerpoint?

I have a demo coming up and I kind of want to show off different Javascript applications within the presentation. I was wondering if there was a way to run localhost, or web applications locally, ...
1
vote
2answers
682 views

How do I alter this javascript to have it send an “enter” key press to the browser?

In another question on this site, someone recommended creating a bookmark with the following javascript in the URL box to automatically fill in your user name and password on a website in Chrome: ...
1
vote
3answers
45 views

Optimizing JavaScript Files

When a JavaScript file is sent over an HTTP connection, the entire file is sent, and then the preprocessor on the clientside will deal with the rest? Therefore, would removing comments and whitespace ...
1
vote
1answer
223 views

How to run Javascript code on any website?

How can I run Javascript code on a website to complete a set function or rule as per the website? For example, if I'm trying to download a file from some filehost that requires a survey... Now in ...
1
vote
1answer
236 views

How to see the properties of a DOM element as they change in realtime?

JavaScript code can update the properties/attributes of DOM elements in real time by responding to events and so on. Here is an example. In the table on that page, move your mouse over the cells. ...
1
vote
1answer
303 views

How can I config sublime text excute javascript with Mozilla Rhino

I want to excute javascript file without a browser. I found Mozila Rhino, but I wonder that how can I config sublime text or another text editor run my .js file directly (i.e without run command ...
1
vote
1answer
190 views

JavaScript to login account not working

Code that automatically go to login page and click login: javascript: window.location = 'https://1.1.1.1/login.HTML'; while (true) { if (document.readyState == "complete") { ...
1
vote
1answer
1k views

Why does Internet Explorer throw an “Object Expected” error?

When opening our client front end in IE, I get the error "Object Expected" and it points to the following when I debug. I've googled, but nothing straightforward yet. $(document).ready(function() { ...
1
vote
2answers
578 views

Browser extension - replace website js with own js

is there a browser extension that can run a local js instead of the linked file from the website?
1
vote
3answers
155 views

Is “Just close popup windows” an adequate security instruction for users?

My security officer came to me yesterday, and said the CEO had clicked a "viruses detected, click yes to scan" popup, after which of course his laptop was crawling with viruses. So the SO wants to ...
1
vote
3answers
3k views

Whats the best editor/ide for html/css/javascript? [duplicate]

Possible Duplicate: Are there any free open source HTML editors? Whats the best editor/ide for html/css/javascript?
1
vote
3answers
4k views

How to view a page's source when a javascript modal popup loads first?

Scenario: You go to a page. Before loading, a javascript modal popup loads. Firebug has yet to pick up on the source. However, this code is obviously living in your browser. How can you view the ...
1
vote
2answers
24 views

Concatenation in JS functions [closed]

First question here. I am doing Codecademy's JS basics course and have run into a question concerning concatenation in functions. I have: var greeting = function(name){ console.log("Hello, "+"" ...
1
vote
1answer
65 views

How to totally mute Firefox on OS X?

I sometimes listen to music while working/browsing, and the music is mastered with relatively low average loudness (high dynamic range), so any sound from webpage is like explosion. And there are 2 ...
1
vote
1answer
1k views

Is there an option setting in about:config to let firefox always maximized at startup?

I want to let the firefox window always maxmized at startup,not full screen. But I don't want to use Javascript or something else to implement it. I want to know if there is a simple option setting in ...
1
vote
1answer
583 views

Conversion of delimited .Txt file into Excel file [duplicate]

I have a delimited .Txt file containing several fields (separated by spaces) and I want to know how can I copy the entire thing into the MS Excel using any script (JS/VB/DOS Command) which can be ...
1
vote
1answer
2k views

Various issues with common websites and Internet Explorer

Windows 7 Home Premium SP1 64-bit | Dell Core i5 laptop, 4GB RAM Internet Explorer 10 (upgraded to 11 - problem persists) TROUBLESHOOTING: IE 10 - Advanced/Reset/Delete Personal Settings - problem ...
1
vote
1answer
571 views

How to disable a specific JavaScript alert

On an active website I go to, there is this javascript code that is displayed on every page. <script type="text/javascript"> (function(){var d=document;var ...
1
vote
2answers
94 views

Is it possible to enable javascript for a specific URL?

There are many users who have JavaScript disabled and deny to enable it even for some business applications. Is there any way to allow a user to enable a JavaScript for a specific URL in order to use ...
1
vote
1answer
290 views

Why don't browser cache common JS files? [closed]

One of the big tradeoffs in web development is on reducing the total size of your JS files to maintain page load times low. My reasonable guess is that most websites include a similar subset of JS ...
1
vote
1answer
58 views

Load a page without loading a cached page

Here is the situation I have. I have a page that is generated using a bash script (basically echo and some other command >> a html file). I have a link to this page. If I "clear private data" or never ...
1
vote
3answers
602 views

How do you block javascript slideshow animations in Firefox?

Is it possible to disable javascript slideshow animations in Firefox? A lot of news sites have delayed slide shows. It really irritates me when I'm reading a headline and it disappears. Is there a ...
1
vote
1answer
530 views

Restore my browser's middle-click behaviour

Some sites do annoying things with JavaScript, like replace the default behaviour of the browser to open a new tab on middle click, with code such as: <a href="http://stackoverflow.com" ...
1
vote
3answers
2k views

How can I automatically lock the screen when idle in CentOS?

How can I automatically lock the screen when idle in CentOS? I would like it so that a user has to re-enter their password once the machine has been idle for a period of time. If there is no option ...
1
vote
2answers
176 views

Use a Bookmarklet Javascript in all opened windows/tabs?

Is it possible ? I'm using Google Chrome if someone can find an extension .. I've already looked for it , no results!
1
vote
1answer
829 views

Opening a new tab with Firefox (middle click)- make it work with Javascript links?

I have this problem continuously. I read MSNBC news (and other pages). I click the middle mouse button to open links in a new tab, to read later. I go to the tabs later, at it was a javascript ...
1
vote
2answers
371 views

Recorder PC Username Logon/Logoff

I need an application/script or some way to record when a user logs onto their PC, when they logoff and the users name. I would like to have it save to a .csv or a data file that I can pull together ...
1
vote
1answer
4k views

Text based webbrowser that supports JavaScript?

If I lynx beforeitsnews.com then I can't see the page because it needs a JavaScript compatible webbrowser. Are there any text-based webbrowsers that supports JavaScript?:
1
vote
2answers
85 views

Solution or webapp for encryption before sending to server?

Is there a package i can use that allows me to type my text in a browser, hit save and have it save in AES before sending to a server? And allow the server to be control by me (my local machine or ...
1
vote
2answers
1k views

Linux: Are there any Desktop Widget engines that runs html/css/javascript? [closed]

I'm looking for a Desktop widget engine for linux that lets me program widgets using html, css, and javascript Any suggestions? Also comment if you have win/osx tips :)
1
vote
2answers
2k views

How to get rid of this IE message “Internet Explorer can not display the webpage”?

Whenever I access my website (http://www.martani.net) in Internet Explorer 7 it shows me the following message: Internet Explorer can not display the webpage operation abandoned The website ...
1
vote
1answer
39 views

Is there any way to block javascript pop-overs in Firefox or Chrome? [duplicate]

Like the kind pointed to in this image Many sites have these, and I find them highly annoying. Often you'll be reading an article and suddenly the pop-over blanks out the page and asks "WOULDN'T YOU ...
1
vote
3answers
48 views

Is python server side or client side? [closed]

I am debating on using python or work with JavaScript & PHP. Basically what I am trying to do is run an algorithm against some data pulled from my database. ( the algorithm can be very demanding ...
1
vote
1answer
39 views

How do I see all the errors in a JS file in one place?

Other than manually looking for the wavy underlines to see all possible errors in a file, is there a way to see all the possible Syntax, Spelling and Scope errors in one place? For example: those ...
1
vote
2answers
106 views

How to open JavaScript link in new tab

I’m stuck using a crappy website that is very dynamic and uses a lot of JavaScript, basically it has a table with many rows, each containing a link. Initially the rows are in a very poor order and I ...
1
vote
1answer
30 views

Multiple downloads from public source (web site), how to bypass “click on OK button” triggered by Javascript?

I'm trying to download multiple data sets from a public source, the European Union Transaction Log. I'm using the "Allocation / Compliance" search tool (in the left blue pane). From there I must ...
1
vote
1answer
70 views

How to toggle JavaScript on demand (Chrome browser)

In Chrome, I know how to manage exceptions by pointing my browser to chrome://settings/content so as to disable JavaScript on just a few sites. But there's this one site which was coded badly, and a ...
1
vote
1answer
81 views

3D visualisation and simulation in a browser? [closed]

I'm looking for framework to develop a simple 3D simulation and visualisation JavaScript app. Basically I need to set up a few parameters, and then hit start and see the particle flying in 3D. I ...
1
vote
1answer
28 views

Disable the `onselectedtext()` Javascrip method in Firefox

Many websites use the onselectedtext() method to pop up messages ("Read Aloud" or "Embed Quote") when selecting text on a webpage. I habitually select text to find my place when reading, so this ...
1
vote
1answer
8k views

JavaScript injection script, how to remove?

today I started to notice a very strange behavior. At some intervals my web pages in Chrome browser changes its web address to some javascript code javascript:try{if(document.body.innerHTML){var ...