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

learn more… | top users | synonyms

1
vote
2answers
442 views

Browser extension - replace website js with own js

is there a browser extension that can run a local js instead of the linked file from the website?
1
vote
3answers
116 views

Is “Just close popup windows” an adequate security instruction for users?

My security officer came to me yesterday, and said the CEO had clicked a "viruses detected, click yes to scan" popup, after which of course his laptop was crawling with viruses. So the SO wants to ...
1
vote
3answers
4k views

Block “document.location” Javascript redirect on one page

I have a site where I want to prevent the page from reloading using a document.location in a script tag. How can I do this in Firefox?
1
vote
3answers
3k views

Whats the best editor/ide for html/css/javascript? [duplicate]

Possible Duplicate: Are there any free open source HTML editors? Whats the best editor/ide for html/css/javascript?
1
vote
3answers
4k views

How to view a page's source when a javascript modal popup loads first?

Scenario: You go to a page. Before loading, a javascript modal popup loads. Firebug has yet to pick up on the source. However, this code is obviously living in your browser. How can you view the ...
1
vote
1answer
61 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 ...
1
vote
1answer
871 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 ...
1
vote
1answer
232 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
1answer
135 views

Why don't browser cache common JS files? [closed]

One of the big tradeoffs in web development is on reducing the total size of your JS files to maintain page load times low. My reasonable guess is that most websites include a similar subset of JS ...
1
vote
1answer
56 views

Load a page without loading a cached page

Here is the situation I have. I have a page that is generated using a bash script (basically echo and some other command >> a html file). I have a link to this page. If I "clear private data" or never ...
1
vote
2answers
837 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 ...
1
vote
2answers
126 views

Use a Bookmarklet Javascript in all opened windows/tabs?

Is it possible ? I'm using Google Chrome if someone can find an extension .. I've already looked for it , no results!
1
vote
2answers
253 views

Recorder PC Username Logon/Logoff

I need an application/script or some way to record when a user logs onto their PC, when they logoff and the users name. I would like to have it save to a .csv or a data file that I can pull together ...
1
vote
1answer
2k views

Text based webbrowser that supports JavaScript?

If I lynx beforeitsnews.com then I can't see the page because it needs a JavaScript compatible webbrowser. Are there any text-based webbrowsers that supports JavaScript?:
1
vote
2answers
74 views

Solution or webapp for encryption before sending to server?

Is there a package i can use that allows me to type my text in a browser, hit save and have it save in AES before sending to a server? And allow the server to be control by me (my local machine or ...
1
vote
2answers
1k views

How to get rid of this IE message “Internet Explorer can not display the webpage”?

Whenever I access my website (http://www.martani.net) in Internet Explorer 7 it shows me the following message: Internet Explorer can not display the webpage operation abandoned The website ...
1
vote
2answers
46 views

Powershell ISE 3.0 Intellisense for other programming languages

I really love using Powershell ISE - something about it makes me want to work with it; everything just fits together well, and it is smooth. Also I love the way intelligent autocomplete is ...
1
vote
1answer
187 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 ...
1
vote
1answer
40 views

Appending one file to the end of another

I know from guides like this that it's pretty easy to add a RAR archive to the end of a JPG. What I'm wanting to know is whether it's only JPG files that can handle extra data at the end, and whether ...
1
vote
1answer
212 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. ...
1
vote
1answer
67 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 ...
1
vote
1answer
1k views

Firefox 21: Error Console Doesn't Display Error Messages

Windows 7 Professional Firefox 21.0 Hi, The error console ( Tools > Web Developer > Error Console ) in Firefox is not displaying Javascript error messages under any circumstances. I get these ...
1
vote
1answer
64 views

Is it possible to enable javascript for a specific URL?

There are many users who have JavaScript disabled and deny to enable it even for some business applications. Is there any way to allow a user to enable a JavaScript for a specific URL in order to use ...
1
vote
1answer
313 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 ...
1
vote
1answer
712 views

IE9 32bit on Win7 64bit JavaScript and Flash do not work though IE9 64bit does

I am having this unusual issue with my system. It started with not being able to install the Microsoft Skydrive app and has snowballed. I am running win7 professional 64 bit. Adobe flash player is ...
1
vote
1answer
321 views

Restore my browser's middle-click behaviour

Some sites do annoying things with JavaScript, like replace the default behaviour of the browser to open a new tab on middle click, with code such as: <a href="http://stackoverflow.com" ...
1
vote
1answer
1k views

Can I prevent Internet Explorer 8 from running scripts until the page is loaded?

When trying to veiw a number of different websites in IE8, I get the following error message: HTML Parsing Error: Unable to modify the parent container element before the child ...
1
vote
1answer
591 views

Command line query to linkdecrypter

I would like to create an script that I can run from my bash command line to make a query to the service given in the webpage http://linkdecrypter.com/ For instance I would like to run something like ...
1
vote
1answer
129 views

Stopping Flash/Javascript Loaded Images/Videos in Firefox

I would like to stop flash and javascript loaded images from automatically loading in FF. How can I accomplish this with the use of add-ons? Please note disabling javascript by default is not an ...
1
vote
2answers
1k 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 ...
1
vote
2answers
1k views

Websites not working with Opera 11.00, major bugs

Sites like ebay and even superuser stop working properly when I use opera 11.00. Menus stop working everywhere from ebay to godaddy. Hovering on a menu item doesn't expand it, no sub menu slides ...
1
vote
2answers
906 views

Capture STDOUT/STDERR of Windows Applictation

I am using an open source application (conkeror) which is configured via a file containing javascript. Any issues with the javascript is printed to the console. This is fine under Linux as all the ...
1
vote
3answers
681 views

How to make transparent fade for underneath color (ie. underneath layer) in Photoshop?

I want to make a transparent fade for the underneath color so that it could be possible to change the color dynamically (through JS) without losing the effect of the fading. How would I go about doing ...
1
vote
1answer
578 views

Extremely Slow Javascript Performance Across Multiple Browsers

I am experiencing extremely slow Javascript performance under CentOS across all browsers I have tried. It is to the point that for sites that make heavy use of javascript (such as this one) that my ...
1
vote
2answers
201 views

Enable IE6 to run JavaScript

How do I enable IE6 to run JavaScript? Where in the settings do I set this option?
1
vote
1answer
447 views

How to improve the way I use Textmate for Ruby on Rails, HTML and Javascript?

I use the latest version of textmate for all my Rails development needs and I feel that I'm under-using the possibilities or this software since I only installed the ruby on rails bundle and use ...
1
vote
0answers
17 views

JavaScript: Cannot manipulate array produced with string.match [migrated]

I have produced an array using: var arr = []; arr = string.match(/(?:^| )([a-z]+)(?= [A-Z])/g); This works as expected and the array is full and can be seen using console.log or alert(). The array ...
1
vote
1answer
30 views

Save javascript image

My daughter's school is posting nice pictures of her but unfortunately it is not possible to save them as they are displayed using javascript (right click on image then "save as..." only saves the ...
1
vote
0answers
37 views

MSIE11 Developer Tools not showing requests made by EMBED element

UPDATE: I assume the cause behind this weird behavor is that some plugins (WMP, VLC, ...) in some DOCTYPEs talk to the remote server directly, therefore browser simply can not detect their requests. I ...
1
vote
0answers
52 views

Firefox shows weird code when all tabs are closed

When I close the last tab by clicking on X on Firefox, it displays a long and weird JavaScript from http://s.ytimg.com/yts/jsbin/html5player-tr_TR-vflTXVVD8.js. Is this a bug? What does that code ...
1
vote
1answer
54 views

Mirroring a web site having pages that uses simple JavaScript [duplicate]

There are simple and great web site download tools that allow to create a local mirror of simple sites having no JavaScript infrastructure behind. However, sometimes there cases when a site looks ...
1
vote
1answer
2k 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 ...
1
vote
1answer
38 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
3answers
66 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 ...
1
vote
0answers
207 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; ...
1
vote
0answers
30 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://'+ ...
1
vote
1answer
45 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
100 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
0answers
44 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
122 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 ...