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

learn more… | top users | synonyms

0
votes
0answers
19 views

Chrome - block pages from getting info about you

I recently ran panopticlick in my Chrome and I really didn't like the result (my browser was unique between every 2 000 000 tested browsers). I saw that large part of unique bits (20.93) was made up ...
0
votes
2answers
762 views

Do any Javascript IDEs support automatic error highlighting (like the Eclipse Java IDE)?

Are there any Javascript IDEs that support automatic error highlighting? I want to enable automatic highlighting, but the Geany IDE doesn't support it. (I mean that it should be possible to see a line ...
1
vote
1answer
608 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
126 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 ...
4
votes
2answers
3k views

Using JavaScript and Greasemonkey to reload just one tab in Firefox?

I am new to Greasemonkey and javascript but have found the script below to reload a page every 5 minutes. // ==UserScript== // @name Auto Reload Protopage // @namespace ...
0
votes
0answers
206 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
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 ...
1
vote
1answer
474 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 ...
3
votes
2answers
3k views

Store console output to file in Google Chrome

I would like to store the console output from my javascript in a file. Well, I would prefer to see the output in a file too see with /usr/bin/tail or other linux comand. Does anybody know if its ...
0
votes
0answers
38 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 ...
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
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
684 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, ...
0
votes
1answer
753 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 ...
2
votes
0answers
366 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
164 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 ...
0
votes
1answer
217 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 ...
1
vote
2answers
2k 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 ...
0
votes
2answers
321 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 ...
5
votes
1answer
562 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 ...
4
votes
4answers
1k views

Is there an OS X app like jsfiddle?

I am wondering if there is an app that works like jsfiddle to work offline for prototyping on the move?
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 ...
3
votes
4answers
8k 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 ...
0
votes
1answer
487 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; ...
1
vote
1answer
255 views

Stylebot extension: adding access keys for jquery?

Is it possible to use a program like Stylebot to have a custom CSS rule which activates a region when a number is pressed? I want 1 to click region 1, 2 to "right-click" region 2, and 3 to click ...
1
vote
0answers
458 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
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 ...
10
votes
2answers
3k views

Is there a Chrome (or other browser) plugin that blocks JavaScript alerts that fire when leaving a page?

Context: Lots of pages have alerts when you leave them: if you close tabs, navigate away without saving, etc, there are numerous reasons why a site would alert/block you from leaving until you ...
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
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 ...
4
votes
2answers
85 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 ...
2
votes
2answers
2k 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 ...
3
votes
3answers
28k views

Are Google Chrome's in-text ads from malware?

Google Chrome on Windows double-underlines words on every page. On mouse hover I get an ad overlay from infolinks or similar. Is this a legit part of Windows Chrome or is it due to some kind of ...
0
votes
1answer
727 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 ...
0
votes
2answers
103 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 ...
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 ...
6
votes
3answers
2k views

How to select columns in editor view for Eclipse on OSX

Same as this question, but for OSX. In short: how to I enter rectangular selection mode on OSX? I see a button for doing this with the standard useless "text editor" that is default with eclipse, ...
1
vote
1answer
289 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 ...
2
votes
1answer
1k 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
0answers
470 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 ...
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 ...
3
votes
1answer
421 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 ...
0
votes
1answer
191 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
525 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
420 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
0answers
268 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 ...
6
votes
5answers
4k views

How dangerous can JavaScript be?

I have recently started using NoScript (in addition to ABP). It took a little while to get used to it and can occasionally require some clicking when visiting a new site to investigate why the site's ...
1
vote
1answer
213 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. ...