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

learn more… | top users | synonyms

10
votes
5answers
65k views

How to download the entire webpage with css/javascript?

For learning purposes, I like to download the html/css/javascript for sites. Using firefox now only seems to download the html page, images/css/js is not downloaded. Is there a plugin to do this in ...
2
votes
2answers
366 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 ...
1
vote
1answer
1k views

Why doesn't Javascript work in Internet Explorer?

I'm trying to use Internet Explorer to test a website, but scripts don't seem to be running. This seems like it's an issue on a lot of pages - for example, I tried going to the Acid3 page, and it said ...
3
votes
1answer
200 views

Getting rid of random syntax highlighting

I'm having a problem with Eclipse. It randomly highlights code in grey, usually as I type something. It doesn't always appear when I type, and goes away at random times too. It's really annoying. I ...
0
votes
1answer
1k views

Testing retina.js without retina display?

I'd like to test retina.js, but I don't have a retina display, and without going to Best Buy (and staring at the pixels for 10 minutes), I don't have access to one. Since I have a standard display, I ...
3
votes
0answers
545 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 ...
1
vote
0answers
257 views

Sites using nvd3.js for visualizations

I've recently started using a free javascript library called "NVD3.js" to build "interactive visualizations" for our commercial web applications. I'm thinking of applying it to our public web sites as ...
1
vote
1answer
48 views

Saving web pages containing scripts

Is there an easy way to save entire websites or isolated web pages containing Flash or Javascript ?
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 ...
0
votes
2answers
140 views

Generic automated updating of desktop applications

Is there an application that will silently update a local folder containing all the files in a web directory? Or even better, if there is a .zip file, it will extract the files into the specified ...
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 ...
1
vote
1answer
121 views

What's the option to view changes in the DOM inspector in Chrome?

I think I saw that Chrome has done this before or maybe I set the settings off. In Firefox with Firebug installed, the DOM inspector will make me see what the changes happened in scripts manipulating ...
1
vote
1answer
222 views

Convert eBay listing to PDF file with images included

I've been trying to save some eBay listings as PDF files. I've tried sites like pdfmyurl and joliprint, and I've tried Acrobat X Pro. The problem I have with all of them is that they don't save the ...
1
vote
5answers
4k views

What tools can be used to download all images in a webpage?

I would like to download all images in a web page. The tool should be smart enough to examine the css and javascript files in the page source to look for the images. Ideally, it should also replicate ...
0
votes
2answers
87 views

Is it safe to use an untrusted bookmarklet on a web page with sensitive data?

Is it safe to use an untrusted bookmarklet on a web page containing sensitive data, for example internet banking page? In particular, can a bookmarklet send the data anywhere or execute some actions ...
0
votes
1answer
400 views

How to disable javascript using the web console?

I start using the Web Console that is built-in to Firefox 18. Do you know any command I can use to disable JavaScript directly from the web console? PS: Before I was using the addon webdeveloper ...
0
votes
1answer
236 views

Java Script Error Message When I Open a Web Page

I receive an Javascript error message everytime I open a web page using Firefox. The error message states: Error: Type Error:netscape.security.PrivilegeManager is undefined. What does it mean? ...
1
vote
1answer
1k views

Why does Internet Explorer throw an “Object Expected” error?

When opening our client front end in IE, I get the error "Object Expected" and it points to the following when I debug. I've googled, but nothing straightforward yet. $(document).ready(function() { ...
-1
votes
2answers
693 views

Troubleshooting “document URL is undefined” error message in Yahoo Mail [closed]

Whenever I access a message at Yahoo Mail, a little window appears over the site: Java Script Error: document URL is undefined My computer works with XP SP3, Firefox Browser. Avast and ...
2
votes
2answers
24k 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. ...
1
vote
4answers
484 views

Open the ClearBrowserData bookmark in Chrome, in a new window

I am trying to create a bookmark that will open the ClearBrowserData in Chrome in a new window, so far I have managed to get this, ...
1
vote
0answers
199 views

Opening JavaScript Console on Foxit Reader

I'm trying to open the JavaScript console on Foxit Reader (5.4.x), but I can't find a way to do this anywhere in the GUI. I have resorted to creating a bookmark that runs a JavaScript which executes ...
0
votes
1answer
293 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 ...
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!
0
votes
1answer
1k views

Javascript issue & IE10 in Win8

I had an issue with Skype couple of day ago (no login cells, only background with clouds and rainbow); according to some how-to I erased all private content and history + restarted IE to default ...
3
votes
2answers
784 views

Can't scroll while other tabs load pages with Chrome on mac

I'm currently using chrome 8.0.552.215 on my MacBook Pro 13" (I know it's not the ultimate machine, but it's not that slow). While a page loads in another tab, I can't scroll the page I'm currently ...
7
votes
4answers
4k views

How to stop a repetitive alert box?

Recently a colleague forwarded a website link to us saying it was a funny site. After you click on the link, you are stuck in an infinite loop of annoying alert boxes. The only way to stop that was by ...
0
votes
3answers
139 views

How to wrap pile of html formatted text with pluses for javascript inclusion?

In my prototyping I'm doing much copy&pasting from .js file to .html where the .js file needs wrapped text in a string. So I find myself wasting time "plussing/unplussing" (if that are even real ...
4
votes
2answers
768 views

Firefox: Any way to allow javascript to disable or replace the context menu only to specific domains?

This is something that's commonly abused, so I almost always want it to be off, except when I'm using a handful of large webapps that use the feature properly, such as Google Docs. I know there's a ...
1
vote
1answer
532 views

How can I add Delicious bookmarks in IE 10 desktop?

It is clear from the Delicious tools page that there is no add-on for internet explorer and it provides a bookmarklet. I managed to get this into the favourites list by editing an existing Favourite ...
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
616 views

Coffee script command not found

I am trying to use coffee script for the first time so I can alter the Chosen plugin by Harvest. I used the npm install -d command as specified at their GitHub page to install cake and coffee. This ...
0
votes
2answers
43 views

Can XSS and phising type attacks jump across browsers?

If I had two different browsers and separated their use such that I was only ever using browser A for things such as on-line banking and credit card purchases etc. And used browser B for everything ...
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?:
0
votes
0answers
46 views

How to find matched parenthesis

Suppose I use Visual Studio 2010 to write jquery code, there are a lot of parenthesises. I may miss one or more parenthesises. What i sthe quick way to find or check matchness of parenthesis?
0
votes
1answer
436 views

Regular Expression Needed to Replace Javascript in HTML Files

I need a regular expression that works in Notepad++ to remove multiline javascript references in several hundred HTML files. The code I want to remove looks like this: <script ...
9
votes
6answers
3k views

Greasemonkey script (or Firefox extension) to stop sites from disabling copy-paste?

Is there a GreaseMonkey script to disable the JavaScript-disabling of copy-paste in Firefox (3.0)? Or should I just run NoScript or some other extension on any site that attempts this (other things ...
0
votes
2answers
102 views

Is it possible to know what is exactly doing javascript when is running?

I know a little about security risks and know that Javascript could be dangerous and compromise my computer, everything was just fine but suddenly reading one article of OWASP that says XSS ...
4
votes
3answers
4k views

Firefox: Is it possible to disable exit alerts?

Sometimes the website will show an alert box akin to "Are you sure you want to leave?" when you try to leave the site. Is it possible to disable this from happening, without using something like the ...
2
votes
2answers
395 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 ...
0
votes
1answer
57 views

How to install node-sqlite3 in Arch Linux?

I need install node-sqlite3 for usage with sqlite3 in JavaScript.
1
vote
0answers
128 views

How do I stop scripts from accessing the mouse wheel in Firefox?

I'm using Firefox 16.0.2 on Mac OS X 10.6.8, including the NoScript 2.5.9 plugin. Sometimes when browsing, a web site will have an embedded map or the like within it, and when scrolling down the page ...
3
votes
8answers
502 views

Soft version of NoScript

I'm looking for a soft version of NoScript, by which I mean a Firefox extension that blocks most of the usual crap such as google analytics, without blocking unknown stuff by default. Basically I'm ...
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
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" ...
2
votes
0answers
340 views

How do I get started with the M-Project on Windows?

This website for this great tool, called the M-Project says that I will need to add a doskey like this: doskey espresso=node C:\Path\To\Espresso\bin\espresso.js $1 $2 $3 $4 It is a tool for ...
3
votes
3answers
220 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 ...
0
votes
1answer
65 views

My internet connection not worked well in Win server 2012?

my computer (running on server 12). the internet is disconnected automatically. can someone take a look. ...
2
votes
4answers
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 ...
0
votes
0answers
88 views

Can HTML/PHP/Javascript code be commented in a single click/keycombination?

The question it's clear enough. I want to be able to select certain code and with a key combination or menu element be able to comment it in Aptana Studio 3. Yes, I can add the tags myself but I'd ...