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

learn more… | top users | synonyms

0
votes
0answers
27 views

Why is Google Chrome console uninformative when displaying arrays?

Type on the console: a = [[1,1],[1,1]] And you will see: [Array[2],Array[2]] That is as uninformative as it gets, and in order to understand your structure you have to click click click click ...
0
votes
1answer
164 views

Intellij 12+: is there a way to set default code style?

I work with a lot of javascript files that are not suffixed by ".js", so Intellij renders no code style at all (no coloration or auto-complete) unless I put <script> tags around the code (which ...
2
votes
1answer
785 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 ...
0
votes
1answer
452 views

FireBug works but doesn't produce results in the console

When I execute any command, e.g. the very simple console.log("hazaa") I don't get the output in the console window. The same command on my other computers works well. It works on the regarded computer ...
2
votes
0answers
367 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
2answers
71 views

How do I suppress google tracking when blocking javascript is not enough?

For this case I'm referring specifically to the website: http://www.golem.de/ I'm connecting to this website using Firefox with javascript disabled: about:config > javascript.enabled > no This ...
0
votes
1answer
111 views

Add keybinding to js-mode/javascript-mode in Emacs

I have added web-beautify-* to Emacs 24, so that I can run M-x web-beautify-js to pretty format my javascript source code. I have add some keybindings for html-mode and css-mode, which work fine. ...
1
vote
1answer
403 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. ...
2
votes
1answer
307 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 ...
1
vote
1answer
217 views

MathJax: Hide page until all math formulas are typesetted

A typical page with numerous math formulas is usually typesetted by MathJax in "slow motion": You are shown the LaTeX codes in gray first, before the formulas are converted one by one. Is it possible ...
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 ...
0
votes
0answers
40 views

JSprint Set Printer shared printer

How can I set the printer name in jsprint if it is a shared printer? Because if I just name it as is the printer name I got an error saying that it cannot see the printer. Thank you guys.
0
votes
2answers
126 views

How to stop Firebug from jumping in the source code all the time

If a JavaScript is changing something (e.g. a style), Firebug jumps to the position in the source code where the change happened. The problem is that I want to analyze a certain part of the source ...
0
votes
0answers
33 views

How clicking on an image anchor does NOT update my page history buttons?

Sometimes when on a webpage I click on a link it takes me somewhere but the history for back/forward buttons in the browser aren't updated. I understand this with AJAX however on several this doesn't ...
-1
votes
2answers
43 views

Tabs Within a VIM Split

I am writing a few different js files in my new favorite text editor, VIM. Coming from ST2, I miss the feature of having splits with tabs. I.e: A split contains a collection of files which can be ...
0
votes
0answers
341 views

node' is not recognized as an internal or external command operable program or batch file in titanium

I am new to Titanium. I am trying to launch a helloworld project in titanium.bur. When I am launching the project, it shows a popup: node is not recognized as an internal or external command ...
0
votes
1answer
27 views

DreamWeaver Error: While executing DW_BCC canAcceptCommand in BCC.htm, a JavaScript error occured

Anyone else ever received this error? Google has 2 unhelpful references to it and no real information. Adobe has a link to debugging JS errors but it's 404... Error is "While executing DW_BCC ...
1
vote
1answer
315 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 ...
0
votes
0answers
23 views

Add highlighting feature to my webpage?

Before I tried to cobble something myself, I wanted to see if someone knows of a current project that can do or be tweaked to do what I want. I am in the process of setting up a site and would like ...
1
vote
0answers
45 views

Interactive map using javascript [closed]

Im trying to learn HTML and javascript. But i cant find any information about how to create interactive map or a picture using javascript. Ex. I take a map where is a part of my town and write some ...
1
vote
0answers
147 views

YouTube style linking inside HTML5 Video player

After a video has played on YouTube, often there will be a follow up link after the video has finished playing in the form of related videos. I'm looking to implement similar into my HTML5 Video. It ...
-2
votes
1answer
321 views

Unity 3D coding language, C# or JavaScript [closed]

Hello to the gaming community. I am a budding game designer, learning to code for the first time in my life. I did learned c++ in school, 8 years back, so I sort of understand the logic when people ...
0
votes
0answers
44 views

IE7 on XP, how to enable script debugging

I have Windows XP SP3 and IE 7.0.5730.13 I need to be able to debug javascript viewing my Website in IE7 I've gone into Internet Options > Advanced and unchecked 'Disable Script Debugging' boxes. I've ...
0
votes
0answers
399 views

eps ai to png adobe illustrator js script, how to make it look in sub folders?

I found this script online which allows you to batch convert .ai or .eps to png however it only works on one folder at a time, could someone help/tell me what to adjust to make it work on subfolders? ...
1
vote
0answers
111 views

Auto generate documenttaion in eclipse for javascript

I have never used any documentation software or plugin. I am using Eclipse Kepler as code editor for js files. All files are plain JS files. Is there any plugin in eclipse where i click button and ...
1
vote
0answers
19 views

Storing web-development libraries locally and update them whenever you are connected to internet

I'm learning things on the web and pretty much have developed several websites. Internet in our country is a bit poor and slow so developing using ruby or node js is pretty much a pain in the ass ...
0
votes
1answer
206 views

SecureCRT and Nice PHP/JS Syntax Highlighting: How To Configure?

I'm running SecureCRT using Windows 7. After googling a bit the VanDyke results came up, but I want to get it so instead of just a black background with all green text (sure it's better than the ...
0
votes
1answer
468 views

Disable javascript from scrolling the page in fiefox

I'm required to use a website for school that scrolls the page whenever you click an inputbox. Is there a way to disable JS from scrolling the page? I've found the section of JS that does the ...
0
votes
1answer
327 views

Chrome can't load specific pages - possibly due to Javascript

So lately I've encountered a strange issue with Chrome where it seems to just not load pages with Javascript in them. Most notably this has been happening with my Facebook home page. Pages will ...
1
vote
0answers
236 views

Can't Edit HTML file in Webstorm 7

I am new to Webstorm which is an Integrated Development (Programming) Environment (IDE). That is to say it is directly involved tool used primarily for programming. Specifically one programs ...
2
votes
1answer
855 views

How to get around ERROR 405 Method Not Allowed with HTTP post

I'm trying to make an HTTP post on this website: https://www.colorado.gov/revenueonline/_/#2 (click Verify a Sales Tax License in the bottom right) using wget with the following command: wget ...
3
votes
1answer
280 views

Does selectively blocking Javascript in Chrome actually reduce bandwidth usage?

In Chrome, Javascript is allowed to run by default. However, there's a nice dialog (Settings → Show advanced settings... → Content settings...) for blocking Javascript from specific sites: ...
0
votes
1answer
156 views

Why is javascript being blocked on three browsers except in private mode without an extension conflict?

I am running Windows 7, 32-bit java up to date. On Chrome, Firefox and IE (also up to date) whenever I load lowes.com the scroll over menus (shop & learn) will work while the page is loading. At ...
0
votes
1answer
3k views

How to correctly use javascript:alert(document.lastModified); to check a website last update?

I read many webpages. They said that I could use javascript:alert(document.lastModified); to find the last update of a site. I test at least 10 websites. Only the website that I made gives me the ...
2
votes
1answer
612 views

Does firebug not (always) duplicate repeated identical console.logs?

I always thought that firebug would send to the console content whenever the JavaScript encountered console.log('send this'); Then, I was messing around with jQuery's hover() method (something like ...
1
vote
1answer
78 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 ...
2
votes
0answers
93 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 ...
0
votes
0answers
166 views

Javascript FileSystemObject::CopyFolder error

I have an old Javascript ..er..script that we run on installs here (with cscript) that stopped working properly somewhere after the beginning of last year. I'm trying to figure out why. It looks like ...
2
votes
1answer
279 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 ...
0
votes
2answers
83 views

Can I use JavaScript to insert in place some plaintext from a remote file by URL?

So, I'm not sure if the reason I'm having trouble with this is because it looks awfully like malicious activity or not. What I'm attempting to do is make my life a little less terrible with a piece of ...
1
vote
2answers
848 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
1answer
959 views

facebook like button not displayed in firefox

when I access my site in firefox, the like button did not appear: js-projects It worked in safari and chrome, only disappeared in firefox. the javascript code of loading like button can be found ...
3
votes
2answers
123 views

How to prevent JavaScript on web site messing with browser

Is there any way to prevent specific JS scritps messing with browser (Firefox or Chrome)? For example some sites are blocking copy\paste functionality for input fields forcing user to type some text ...
0
votes
2answers
294 views

Firefox: How do I perform “Move to New Popup Window” on a tab?

Firefox has a tab bar context menu item "Move to New Window". This will create a new window with all the default window configuration, incl. vertical tabs, location bar and whatever else one might ...
0
votes
1answer
56 views

Youtube embedding with different audio track

My question (my first, hope it's ok) is like this: I film weddings. I want to post them online, using youtube. The problem is the audio which is often marked as "not my content". Is it possible to ...
2
votes
0answers
81 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 ...
50
votes
6answers
3k views

Why can't old PCs view modern sites? [closed]

The reason for this question is that many times clients, friends and parents ask me why their perfectly working old PC cannot be used online anymore. I am looking for a good answer to those people ...
2
votes
6answers
170 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 ...
0
votes
1answer
433 views

Google safebrowsing post requests

My browser often sends some weird post requests like this: POST http://safebrowsing.clients.google.com/safebrowsing/downloads?client=navclient-auto-ffox&appver=22.0&pver=2.2&wrkey=XXXXXX ...
0
votes
1answer
219 views

How do I remove Javascript dialog console box seen in Chrome?

Windows XP using Chrome, I have javascript or java applet console box that runs in the right hand corner of the sidebar which is a Dialog box. Tabs say "execute JS, "hide console" "show source". Opens ...