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

learn more… | top users | synonyms

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
2answers
804 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
477 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
640 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
1answer
142 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
213 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
292 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
189 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
37 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
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
522 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
154 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
1answer
393 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
460 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
85 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
236 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
57 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
530 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
483 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
2answers
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
168 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
792 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
341 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
3k 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
82 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
25 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
17 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
55 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
2answers
149 views

Powershell ISE 3.0 Intellisense for other programming languages

I really love using Powershell ISE - something about it makes me want to work with it; everything just fits together well, and it is smooth. Also I love the way intelligent autocomplete is ...
1
vote
1answer
517 views

Why is /usr/share/gnome-shell/js missing?

I'm trying to debug a gnome-shell extension, but I don't seem the have the folder /usr/share/gnome-shell/js. I'm on fedora 20 with gnome 3.12. I couldn't find it when I had gnome 3.10 either. Were the ...
1
vote
1answer
610 views

How to play video (mp4) fullscreen using html and javascript like youtube?

If you go to m.youtube.com from android using Chrome when you go to a video you see a preview (static image with play button overlay). As you click the image the video starts fullscreen. I wish to do ...
1
vote
1answer
527 views

Can I pre-edit the html of a web page before the javascript is run?

I'm viewing this website that has a client side javascript error caused by the scripts being loaded in the wrong order. Problem is I don't own this source, but I really need to use the site ASAP. ...
1
vote
1answer
92 views

lock browser to troubleshoot javascript and css

Let's say I created some tooltip which displays a popup when the cursor is placed over a given part of the page, and removes it when I move the mouse. For an example, see http://jsbin.com/aCoboQo/1 ...
1
vote
1answer
1k views

Firefox 21: Error Console Doesn't Display Error Messages

Windows 7 Professional Firefox 21.0 Hi, The error console ( Tools > Web Developer > Error Console ) in Firefox is not displaying Javascript error messages under any circumstances. I get these ...
1
vote
1answer
424 views

Google Chrome Resources Directory

about a year ago I remember making a google-styled application with JavaScript/HTML (very basic). I went back to making a similar app but started from scratch using JavaScript/HTML5/CSS3 and Python ...
1
vote
1answer
790 views

IE9 32bit on Win7 64bit JavaScript and Flash do not work though IE9 64bit does

I am having this unusual issue with my system. It started with not being able to install the Microsoft Skydrive app and has snowballed. I am running win7 professional 64 bit. Adobe flash player is ...
1
vote
1answer
1k views

Can I prevent Internet Explorer 8 from running scripts until the page is loaded?

When trying to veiw a number of different websites in IE8, I get the following error message: HTML Parsing Error: Unable to modify the parent container element before the child ...
1
vote
1answer
744 views

Command line query to linkdecrypter

I would like to create an script that I can run from my bash command line to make a query to the service given in the webpage http://linkdecrypter.com/ For instance I would like to run something like ...
1
vote
1answer
136 views

Stopping Flash/Javascript Loaded Images/Videos in Firefox

I would like to stop flash and javascript loaded images from automatically loading in FF. How can I accomplish this with the use of add-ons? Please note disabling javascript by default is not an ...
1
vote
2answers
1k views

Vim JavaScript code folding

I have been trying to set up code folding in Vim for JavaScript but the default isn't working correctly. I have little experience with Vim and have a hard time understanding the help files (as proven ...
1
vote
2answers
1k views

Websites not working with Opera 11.00, major bugs

Sites like ebay and even superuser stop working properly when I use opera 11.00. Menus stop working everywhere from ebay to godaddy. Hovering on a menu item doesn't expand it, no sub menu slides ...
1
vote
2answers
963 views

Capture STDOUT/STDERR of Windows Applictation

I am using an open source application (conkeror) which is configured via a file containing javascript. Any issues with the javascript is printed to the console. This is fine under Linux as all the ...
1
vote
3answers
706 views

How to make transparent fade for underneath color (ie. underneath layer) in Photoshop?

I want to make a transparent fade for the underneath color so that it could be possible to change the color dynamically (through JS) without losing the effect of the fading. How would I go about doing ...