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

learn more… | top users | synonyms

3
votes
1answer
3k 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 ...
3
votes
0answers
689 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 ...
3
votes
0answers
205 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 ...
3
votes
3answers
483 views

Why are browsers so heavy? [closed]

Back in 1998 I had a computer with 233MHz Pentium MMX CPU and a GFX card with no 3D acceleration. It was able to run games like Quake II at a decent FPS rate. My current computer has tons more ...
3
votes
1answer
956 views

Autocompletion in Firebug expanded console

This one's bugging me since ever. Is it possible to enable autocomplete in Firebug console when it's expanded? In "condensed" mode (which is default) it works like a charm. I noticed that some ...
3
votes
1answer
446 views

How do I filter certain javascripts from running and not block them all on Drudge Report?

How do I block this particular "auto refresh" script on Drudge Report from running in my Firefox browser on Windows XP? var timer = setInterval("autoRefresh()", 1000 * 60 * 3); function ...
3
votes
1answer
2k 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.
2
votes
4answers
115 views

“slow operating system that doesn't allow time to configure the javascript”

In conjunction with Qualtrics, we have created an online business assessment. We recently began having problems, the program is suppose to be able to tabulate answers, coming up with a ...
2
votes
4answers
2k views

Prevent users from being able to change JavaScript variables

Is it possible somehow to prevent users from being able to change JavaScript variables, trough the address bar or with programs like FireBug?
2
votes
6answers
264 views

Why can't we save 100% of a site?

We all know that we can't obfuscate HTML or Javascript. We need to remember that if the browser can read it, the user should be able to read it too. Therefore, why is it that sometimes when we ...
2
votes
4answers
230 views

What browser feature is this exploiting and how to stop it?

http://raffa991[dot]ra[dot]funpic[dot]de/lol/ Warning: It is some kind of an annoying "you are an idiot" sign combined with a lot of popup message boxes. Open with care! In any case, it crashed my ...
2
votes
1answer
3k views

Is it possible to run JavaScript in Textmate?

If I try to run it now I get a XCode error. Do I need to install a JavaScript interpreter on my computer?
2
votes
3answers
466 views

Does IE 6/7/8 have an addon that is similar to “Web Developer” for Firefox?

I am looking for the same JavaScript functionality (Errors/Warnings/etc.) that the Web Developer add-on for Firefox has. Does such a thing exist and where can I find it?
2
votes
2answers
2k views

List resources like css and javascript files of page in Firefox?

In Firefox, (on normal pages) there is "Page info" in the context menu. It lists images on ("embedded"?) the page along with their full URLs. But other "external" files are not listed. Can I view a ...
2
votes
1answer
686 views

What Is All Of This Stuff In My Sent Email From Hotmail? [closed]

I sent an email from my Hotmail account to myself and viewed the source. I did this from www.Hotmail.com and sent only the text 'Test'. When I received the email, I viewed the source in Outlook and ...
2
votes
3answers
2k views

Linux distro with pure HTML interface

I'm looking for an existing linux distro with a pure HTML(5) client interface. Sort of like m0n0wall, but then featuring all functionality a modern OS includes, implemented in HTML/Javascript/CSS. ...
2
votes
2answers
509 views

JavaScript error on embedded Internet Explorer

I have a wallboard setup to display statistics in the office, however the widget that uses embedded Internet Explorer keeps coming up with a JavaScript error. The error can be closed without ...
2
votes
1answer
299 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. ...
2
votes
3answers
920 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, ...
2
votes
3answers
8k views

How to get a simple Javascript console and output [duplicate]

Possible Duplicate: Is it possible to run JavaScript in Textmate? I'm learning javascript at Codecademy They have a website with a js console and an editor. But I can't find anything that ...
2
votes
1answer
1k views

Middle clicking a link on chrome sometimes also switches the current tab to the new one

In chrome, most of the time, when i middle click on a link (text or image), it opens a new tab and the current tab does not change. This is the expected behaviour. However, some websites have links ...
2
votes
1answer
317 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
1answer
2k views

How can I block ad.doubleclick.net javascript (which seems to be slowing my browser down)

My browser is quite slow accessing a number of sites today and they are all slowing "waiting for ad.doubleckick.net" My goal is to stop the javascript call to prevent the slowdown. (I assume most ad ...
2
votes
2answers
4k views

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

I'm trying to connect to hood.ie via Javascript: hoodie = new Hoodie('http://example.com:6001'); But then get an error: A wildcard '*' cannot be used in the 'Access-Control-Allow-Origin' header ...
2
votes
3answers
2k 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
2answers
3k views

How to collapse JavaScript function/comment blocks in VS2010/VS2008

I don't think it is possible right now in VS2010/VS2008 but I'm sure someone must have done or can come up with some workaround using the extensibility of VS2010/VS2008. Ability to collapse ...
2
votes
1answer
372 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
4k 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
2k views

Turn Javascript into bookmark or bookmarklet?

I have Created One script that shows password on hover just like windows 8 on eye click. i have made this functionality through javascript with following code. function ...
2
votes
1answer
2k 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
927 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
2answers
2k 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 ...
2
votes
1answer
117 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
208 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
4k views

QuickJava for Google Chrome?

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

Custom domain for Node.js hosted website on private network

I gave myself a learning assignment - create a nice website to be hosted from a Node.js server accessible to my home network. My base system is running Windows 7 and I want to give this website a ...
2
votes
1answer
220 views

How to change syntax for a specific folder in Sublime Text 3

I write JS projects in ES5 and ES6. I installed Babel-Sublime for highlighting Babel supported code. Now, I open a .js file written in ES6, goto "View -> syntax -> Open all with current extension as : ...
2
votes
1answer
853 views

Thunderbird 31.0 running embedded JavaScript in email

I wish to disable support for JavaScript embedded in HTML-formatted emails in Thunderbird. What is the recommended way of doing this? In case no one else has this issue, I've been using Thunderbird ...
2
votes
1answer
3k views

How to rename the file name with timestamp of created date by JavaScript, Perl or shell on OSX?

Could you tell me how to get timestamp of created date of file and rename the file name with it by JavaScript, Perl or shell on OSX 10.9.2? Example: Existing: Untitled.txt timestamp is 2014/05/03 ...
2
votes
1answer
55 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
1answer
787 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
660 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 ...
2
votes
2answers
3k 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
1answer
200 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
26k 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
264 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
512 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
509 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
739 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