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

learn more… | top users | synonyms

1
vote
1answer
187 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
36 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
463 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
116 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
4k views

Block “document.location” Javascript redirect on one page

I have a site where I want to prevent the page from reloading using a document.location in a script tag. How can I do this in Firefox?
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
94 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
1k views

Internet Explorer - various issues with common websites

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
273 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
1answer
150 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
412 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
2answers
1k 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
140 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
2answers
273 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
76 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

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
21 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
73 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
329 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
70 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
70 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
350 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
741 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
368 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
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
614 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
130 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
931 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
691 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 ...
1
vote
1answer
585 views

Extremely Slow Javascript Performance Across Multiple Browsers

I am experiencing extremely slow Javascript performance under CentOS across all browsers I have tried. It is to the point that for sites that make heavy use of javascript (such as this one) that my ...
1
vote
2answers
203 views

Enable IE6 to run JavaScript

How do I enable IE6 to run JavaScript? Where in the settings do I set this option?
1
vote
1answer
448 views

How to improve the way I use Textmate for Ruby on Rails, HTML and Javascript?

I use the latest version of textmate for all my Rails development needs and I feel that I'm under-using the possibilities or this software since I only installed the ruby on rails bundle and use ...
1
vote
0answers
15 views

Is there an easy way or script to let me email direct from Adobe Illustrator?

I do a lot of artwork and I really wish there was a way i could email direct from Illustrator. I have to manually save as PDF then go and find the file then right click it and do send to > mail ...
1
vote
1answer
27 views

Browsing image gallery websites with two windows

Imagine an arbitrary image gallery website (i.e. deviantart.com). You get an overview of thumbnails and upon clicking these, you're usually redirected to a dedicated page showing the enlarged version ...
1
vote
0answers
87 views

Several website functions just no longer work in Firefox for me…but maybe there's a pattern?

This is really weird, because I don't recall making any large changes or messing around with about:config in Firefox. I was on FF 30 the whole time. The problems just emerged. Here's some example: ...
1
vote
1answer
41 views

Save javascript image

My daughter's school is posting nice pictures of her but unfortunately it is not possible to save them as they are displayed using javascript (right click on image then "save as..." only saves the ...
1
vote
0answers
60 views

MSIE11 Developer Tools not showing requests made by EMBED element

UPDATE: I assume the cause behind this weird behavor is that some plugins (WMP, VLC, ...) in some DOCTYPEs talk to the remote server directly, therefore browser simply can not detect their requests. I ...
1
vote
0answers
78 views

Firefox shows weird code when all tabs are closed

When I close the last tab by clicking on X on Firefox, it displays a long and weird JavaScript from http://s.ytimg.com/yts/jsbin/html5player-tr_TR-vflTXVVD8.js. Is this a bug? What does that code ...
1
vote
1answer
89 views

Mirroring a web site having pages that uses simple JavaScript [duplicate]

There are simple and great web site download tools that allow to create a local mirror of simple sites having no JavaScript infrastructure behind. However, sometimes there cases when a site looks ...
1
vote
1answer
2k views

Access-Control-Allow-Origin '*' not allowed/working with Apache2

I'm trying to connect to hood.ie via Javascript: hoodie = new Hoodie('http://xxx.com:6001'); But then get an error: A wildcard '*' cannot be used in the 'Access-Control-Allow-Origin' header when ...
1
vote
1answer
53 views

How to add arXiv.org as search engine in Chrome?

I would like to be able to search the academic preprint server The arXiv from the Chrome omnibox. The actual search box I am trying to replicate can be found in the upper-right-hand corner of the ...
1
vote
0answers
186 views

Sublime Text 3 - Proper javascript intellisense?

I'm trying to find a plugin that will give me proper intellisense for JavaScript. My background for comparison and expectations are based on Visual Studio 2012 with Resharper. I have currently ...
1
vote
3answers
109 views

Downloading files from a site with javascript links

I sometimes find sites that post content (files) as javascript links. In cases where the links are posted with the traditional <a href="..."> construct, one can easily parse the HTML, find the ...