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

learn more… | top users | synonyms

1
vote
1answer
3k 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 ...
0
votes
1answer
603 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 ...
0
votes
1answer
125 views

Get DuckDuckGo non-Javascript version in Firefox search bar

I installed the DuckDuckGo AddOn that adds DuckDuckGo to the list of search engines in Firefox. This is the dropdown list in the upper right just to the left of the search bar that lets you pick which ...
0
votes
0answers
16 views

Javascript not working systemwide in Ubuntu 12

I am on Ubuntu 12, 32bit. Javascript seems to be enabled in all of the browsers' settings but it's not working in any browser. I checked about:config in both Chromium and Firefox. I'm not sure when ...
6
votes
0answers
2k 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 ...
0
votes
0answers
203 views

Invoke bat file from JavaScript file with parameters

What I need to do is to pass two parameters from HTML to a batch file. I am invoking a batch file from a JavaScript method inside HTML, and I am able to invoke the bat file, but I can't pass any ...
1
vote
1answer
84 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
1answer
467 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 ...
0
votes
0answers
66 views

Scripting Chrome from the command line to automate UI unit testing

Is it possible to do user-interface scripting with Chrome using Javascript? This will be for user interface unit testing. This is not just loading Javascript on the command line (discussed in this ...
0
votes
0answers
37 views

Interpreting Webpage (css, js) and saving it locally as HTML

I want to be able to take any complexe webpage with possibly a lot of modules and be able to save the interpreted javascript HTML file (the one we can browse with the 'Inspect Element' of any ...
0
votes
3answers
39 views

Javascript for a beginner, do I need it? [closed]

I did a short course at Uni that gave me a taste of ASP.NET and I want to develop it further, so I'm teaching myself from a book. Based on my studies; I only really know basic ASP.NET, decent-SQL, ...
2
votes
3answers
1k 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 ...
0
votes
1answer
727 views

Is there an option setting in about:config to let firefox always maximized at startup?

I want to let the firefox window always maxmized at startup,not full screen. But I don't want to use Javascript or something else to implement it. I want to know if there is a simple option setting in ...
4
votes
1answer
490 views

How can I stop “clipboard hijacking” globally? [duplicate]

this is getting to be a real bugbear of mine, and from what i understand it's becoming more common. a few of you might have heard of tynt, a site that offers clipboard-hijacking services. with their ...
2
votes
0answers
362 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
160 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 ...
5
votes
1answer
560 views

Webkit browsers inconsistently load webpage images/resources

I've been having this issue for quite some time, where websites viewed through webkit-based browsers inconsistently load images. By inconsistent, I mean that on one trial run, an image, or several ...
2
votes
2answers
223 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 ...
1
vote
0answers
447 views

Unable to start Glass Fish 4.0 on time in Eclipse Juno [closed]

This is my Java Server Code. Just receiving message from client and echoing the message back. I am using WebSocket. package pack.exp; import javax.websocket.OnClose; import javax.websocket.OnError; ...
0
votes
1answer
485 views

How to Open/Close An HTML Select Using JavaScript in Internet Explorer, FireFox and Chrome

How to open an HTML select using the JavaScript that ... I - Have good aesthetics (preserves layout); II - Be compatible with Internet Explorer, FireFox and Chrome; III - Use the select itself; ...
3
votes
4answers
7k 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 ...
1
vote
1answer
380 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 ...
0
votes
2answers
1k views

Failed to load .js resource

Hello, using "Inspect the element" function on Google Crome browser, on almost every site I have the same error Failed to load resource http://content.magnipic.info/shopping/ppapp.js one of this ...
12
votes
3answers
1k views

How do I prevent “Read more: www.site.com” from being injected with non-Tynt JavaScript into copy-paste actions?

There are many sites that insert something like "Read more: www.site.com" into your clipboard when you copy text in your browser. I find this abominable. A google search reveals some methods to stop ...
1
vote
0answers
36 views

How to capture from sites like github?

I'm using the below bookmarklet with org-protocol/emacsclient to journal webpages (whitespace added): javascript:location.href='org-protocol://capture://'+ ...
0
votes
0answers
43 views

hundred-tab friendly Mozilla w/ no continuous javascript

I often have hundreds of tabs open in many windows in Mozilla, and, after a while, it starts consuming significant amount of CPU for these dormant pages, and each new window and page takes a very long ...
1
vote
1answer
73 views

Automating Craiglist

I would like to be able to quickly respond to craigslist ads even when I am asleep or away from my computer. Basically what a site like www.classifiedadresponder.com does, but my own way of doing it ...
0
votes
1answer
241 views

IE11 throws error in IEFRAME

When I try to see "properties" of JSFiddle's logo, IE11 shows script error in file res://ieframe.dll/anchbrws.js Looking at the file, I see function BodyLoad() { var arrAll = document.all; ...
0
votes
0answers
28 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
211 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
1k 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
718 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 ...
3
votes
0answers
465 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 ...
4
votes
2answers
84 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
190 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
519 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
414 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
286 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
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 ...
0
votes
2answers
158 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
45 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
1answer
28 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
458 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
0answers
160 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
391 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
48 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
507 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
164 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 ...