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

learn more… | top users | synonyms

2
votes
1answer
238 views

How to mark client javascript caches as invalid [duplicate]

Possible Duplicate: Is Firefox storing javascript files even if all caches are off ? I have a site that is simultaneously in use and in development, and every so often I need to update the ...
2
votes
3answers
317 views

Use array to create string in DOS

This is a slightly different question from Populating Array in DOS Batch Script I'm trying to compile a JavaScript application using Google Closure Compiler. The list of JavaScript files has grown to ...
2
votes
4answers
3k views

How to prevent page crashes in Google Chrome?

I use the most recent Chrome version on Windows 7. Since I discovered tabbed browsing, I couldn't help preventing myself from opening too many tabs simultaneously. With Google chrome, I frequently ...
2
votes
3answers
4k views

Is there a way to disable a specific JS script from a specific website?

I want to disable a specific JS script from a specific website without disabling the javascript completely. Is there a way to do that ?
2
votes
1answer
365 views

How to disable Javascript in IE 6?

How can I completely disable cookies and JavaScript in Internet Explorer 6 (under Windows XP). This is for testing purposes.
2
votes
2answers
1k views

suddenly cannot properly display many websites on my computer (chrome, firefox, IE)

I am unable to see many websites properly on my computer. for example, the homepages of yahoo, skype and download.net. When I open yahoo.com in chrome, it seems that the computer keep waiting for ...
2
votes
1answer
870 views

Can I Call AHK Script From PHP or Javascript - Also How Do I Pass A Variable to a Script?

If I have an AHK script which has a variable in it - how can I pass a value to that variable so that the script runs with that value? Can I call an AHK script from PHP or Javascript - if so how? I ...
2
votes
2answers
408 views

How do I prevent automatic browser page refreshment done by Javascript?

There are some news websites which automatically and periodically refresh their page just in order to show the user more advertisement. If you are watching a video, all the buffered stream is gone ...
2
votes
1answer
292 views

Customizing urlbar formatting in Firefox

Firefox 6.0 introduced URL formatting in the address bar, i.e. the domain.tld is black, while protocols, subdomains, and paths are grey. The related about:config entry to enable/disable this feature ...
2
votes
1answer
102 views

Scripts not working on StackOverflow site, but working on other StackExchange sites [closed]

Basically, JavaScript is not working only on the StackOverflow page and only for Firefox. It works on every other StackExchange site and every other non-StackExchange site I browse to, only ...
2
votes
2answers
195 views

How can I insert my own JavaScript into page?

I'm using Internet Explorer as the default browser. (Firefox is not an option). There are some web apps that I like but whose layout and workflow does not quite agree with me. Given that I am ...
2
votes
1answer
3k views

QuickJava for Google Chrome?

Is there something similar like QuickJava (Firefox Addon) for the Google Chrome?
2
votes
1answer
41 views

Why is Google Maps showing Google Search?

When we disable Javascript and visit maps.google.com, it shows the page for Google Search instead: I'm getting this behavior regardless of the browser used (Chrome/Firefox/Safari/Opera). What's ...
2
votes
4answers
1k views

How can I copy text from a web page where it been has disabled?

I use FF27 with noscript, but solutions for Chrome are also welcome. I use online chat for customer support when available, and I'd like to keep the chat transcript in case of a dispute with the ...
2
votes
1answer
447 views

Using Chrome's Developer Tools - to find out where a javascript function is being called

The thing is, I have this big website with lots of JavaScript files and stuff. And I am trying to change the jQuery UI accordion plugin's settings so that it wouldn't do auto height of the wrapper ...
2
votes
1answer
209 views

How can I make my browser lie about my operating system?

I'm using Chromium (Version 30.0.1599.114 Ubuntu 12.10) under Linux. I'm trying to access a website that claims that it doesn't work under Linux. Of course, this is most likely crazy since the web is ...
2
votes
1answer
238 views

How can I get the latest N posts from blogger RSS feed?

How can I get the latest N posts from blogger RSS feed, using the URL in a browser, or some javascript? Which parameter do I have to use?
2
votes
2answers
2k views

How can I capture or print the whole scrolling area of this dynamic webpage?

I'm trying to save (as in: for printing / putting it in a PDF -- I'm not interested in the HTML, but in the rendering of the html to be able to print the table or at least view it offline) a table ...
2
votes
1answer
191 views

Can an Opera mouse gesture be set to execute a user script?

I used to have that with FireGestures in Firefox, and with a simple gesture I would wipe off a DOM element. (great for deleting flash advertising) So are user scripts in opera only runnable on every ...
2
votes
2answers
24k views

Internet Explorer 8/9 javascript disable, need to enable back

Dear all, This is not a programming issue, just want to ask any one having Internet Explorer Javascript disabled issue. I try go to Internet Option enable everything, including javascript restart it. ...
2
votes
2answers
232 views

Is it possible to block or remove a line of javascript before a webpage finishes loading?

I am looking to block or remove a line of javascript from a specific website before it finishes loading. Is it possible to do this in firefox? Any specific plugins?
2
votes
2answers
453 views

How to block a single .js file in ie6?

Been banging my head on the desk for two hours now. I need to block JUST ONE .js file in ie6 (need to keep JS enabled in the browser): http://php.net/ie6update/ie6update.js That DARN script breaks ...
2
votes
3answers
437 views

running javascript on the command line

I'm a sucker for javascript, and i'm increasingly drawn towards writing script utilities for my everyday needs. Currently I writing these utilities in bash scripts, but i'm not so proficient with ...
2
votes
2answers
664 views

vim and javascript

Have tried a couple of javascript indenters but all seems to have flaws and warts. Are there any good javascript/html/css plugins/indenters/syntaxcolourers for vim? BRG Anders Olme
2
votes
1answer
243 views

Is there a way to re-arrange the movies in youtube's videobar?

I am using the Youtube's VideoBar. I have some videos in certain channel that should be in certain order. You tube for some reason arranges them in the opposite direction. Is there a way to change ...
2
votes
1answer
818 views

In Google Chrome, how can I get rid of the big gray box that displays “The server refused the connection.”?

I got sick of blocking sites such as facebook.com and facebook.net per browser, and decided to add them to my /etc/hosts file so the sites would be blocked entirely: 0.0.0.0 facebook.com facebook.net ...
2
votes
0answers
520 views

how to enable inline javascript autocomplete in eclipse with aptana extension

Background I have Eclipse. I have installed the Aptana studio plugin for Eclipse. I am editing an HTML file. JavaScript auto-complete / content assist only works half of the time: Eclipse won't ...
2
votes
2answers
130 views

Using the firefox plug-in Down Them All is there a way to perform the dTa one click on a range of pages?

So I have a url: http://www.example.com/mp3?page=1. Which has a load of free mp3s to download on each page. But rather than: clicking dTa one click, then changing page to ...
2
votes
0answers
239 views

Flip (mirror image) form field or page in Acrobat PDF

Is it possible to flip a form field OR flip an entire page horizontally using javascript in Acrobat 9 ? Either one would work for our purposes. The Acrobat SDK gives the ability to rotate, but we ...
2
votes
0answers
76 views

Is there a path from OpenSCAD to WebGL?

tl;dr version, Does a software path exist to convert from openscad input to render on a website via webgl? What I'm trying to do is display OpenSCAD created designs uploaded via post on a LEMPy ...
2
votes
1answer
193 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
69 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
0answers
340 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
93 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
1k views

How to disable onbeforeunload at Firefox 5

I want to disable onbeforeunload in Firefox browser. Don't tell me to disable JavaScript. I just want to disable this dialog box from appearing.
1
vote
4answers
493 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
5answers
2k views

Blocking Google Analytics from loading with JavaScript

How can I block or remove the Google Analytics code so that it does not load when I visit a web page?
1
vote
3answers
541 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
5answers
4k 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
3answers
2k 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
624 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
2answers
1k views

Looking for a great Linux code editor that has auto-indent AND auto-outdent

I code primarily in jQuery/JavaScript, and I'm looking for a text editor for Linux that has auto-indent and auto-outdent (seems to be tough to find that). Any suggestions? I've checked Gedit, Cream, ...
1
vote
2answers
694 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
574 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
170 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
3answers
505 views

Debug JS from browser without a server/localhost

So something I do very frequently is writing random scripts in JS without really being part of an app. To run them I just paste them in the console of either Chrome of FF which works as a nice REPL, ...
1
vote
1answer
259 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
185 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() { ...