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

learn more… | top users | synonyms

2
votes
1answer
456 views

How to prevent javascript timeout function?

A website that I frequent utilizes the following javascript function idle() { $(document).unbind('mousemove'); $(document).unbind('keydown'); $(document).on('mousemove', function ...
2
votes
0answers
102 views

Escape key strangely captured by javascript webshell

I am using GateOne as a WebShell on my VPS (only way to SSH to it through the proxy of the place...), it uses javascript to emulate a shell by capturing keystrokes. Everything works well, yet it ...
2
votes
2answers
617 views

How can I add Delicious bookmarks in IE 10 desktop?

It is clear from the Delicious tools page that there is no add-on for internet explorer and it provides a bookmarklet. I managed to get this into the favourites list by editing an existing Favourite ...
2
votes
2answers
2k views

How to get IE to open JavaScript as text

I am running IE 9. Up until last week sometime, if I would put the URL of a JavaScript file in the address bar, it would show the JavaScript as text in the browser window. Now when I do that, it wants ...
2
votes
0answers
173 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
363 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 ...
2
votes
1answer
700 views

How Do I Disable URL Pre-Pending in the FireFox 3 Title Bar When Opeing A New Window With JavaScript?

For (understandable) security reasons, Firefox does not allow JavaScript to open a new window without the address/location bar AND without pre-pending the page's URL to the title in the title bar. ...
1
vote
4answers
850 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
155 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
682 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
984 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
492 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
882 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
3k views

does Gmail or any other popular webmail service scrub javascript from html emails? if not, any reason why?

I have seen claims that some email services mark emails with javascript as spam. But I have not seen mentioned that any sensible service would just optionally scrub any embedded javascript entirely ...
1
vote
2answers
723 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
46 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
263 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
314 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
2answers
400 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
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
614 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
5k 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
86 views

Why do these characters appear when JavaScript is Disabled?

Anyone know why when JavaScript is disabled in firefox these characters show up? They replace images on the page. It isn't just a WordPress thing and they turn back into buttons when JavaScript is ...
1
vote
2answers
40 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
266 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
2k 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
751 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
701 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
108 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
339 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
63 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
681 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
573 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
192 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
885 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
86 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
154 views

How to run .js file in Eclipse IDE for JavaScript Webdeveloper?

I am learning JavaScript at the moment and have just installed the Eclipse IDE for JavaScript Web Developers. I have created a new project and created a new file with an extension of .js. I have ...
1
vote
3answers
122 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
45 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 ...