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

learn more… | top users | synonyms

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 ...
23
votes
2answers
12k views

What is JavaScript Obfuscation and why is it a threat?

AVG was recently telling me that a webpage was blocked because of JavaScript Obfuscation. Why was the webpage blocked and what exactly does that mean?
23
votes
6answers
28k views

How do I disable Javascript in Chrome?

How do I disable Javascript in Chrome?
19
votes
2answers
5k views

Javascript trick? How does scribd make it difficult to even copy & paste text

Lately, I have seen that scribd makes it very difficult for users (free users) to browse through a document hosted on their site. There is no ability to search within a document, let alone being able ...
17
votes
5answers
13k views

How do I set Google Chrome to not allow javascript to hijack my right click menu

I despise web sites that hijack my right mouse button via javascript. Other browsers ( like firefox) allow me to block sites from doing this. Does chrome have such an option, or does it leave me at ...
17
votes
2answers
1k views

How do I prevent pages I visit from overriding selected Firefox shortcut keys?

In Firefox, how can I prevent pages from overriding Firefox built-in keyboard shortcuts through Javascript on a per-key basis? Preferably on a per-site basis, too? The most frustrating override is the ...
16
votes
11answers
11k views

Rip a website via HTTP to download images, HTML and CSS

I need to rip a site via HTTP. I need to download the images, HTML, CSS, and JavaScript as well as organize it in a file system. Does anyone know how to do this?
16
votes
5answers
8k views

Is there any *good* HTML-mode for emacs?

I love emacs, and I want to do my web-programming work in it, but I can't find a way to get it to edit HTML properly. I mean it's seriously awful. It will do HTML fine, but not PHP, javascript, ...
14
votes
10answers
5k views

Blocking hover ads

Okay, I am done with hover ads. I am so done with it, I am starting to avoid website which implement them even though I (used to) like those websites. Obviously, it is considerably harder to block ...
14
votes
8answers
12k views

Change a favicon locally in google chrome

This is a frustrating question, mostly because all searches for this usually give me information on how to change a favicon for a website the user owns. Allow me to elaborate on my issue. I would ...
13
votes
4answers
48k views

Javascript error console in Chrome?

I know how to do it in Firefox - how do I see Javascript errors in Chrome?
12
votes
5answers
75k views

How to download the entire webpage with css/javascript?

For learning purposes, I'd like to download the html/css/javascript of sites. Using Firefox now only seems to download the html page, images/css/js are not downloaded. Is there a plugin to do this ...
11
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 ...
10
votes
5answers
10k views

Command line browser with js support

Does anybody know good command line browser with js support? Ideally I need following ability: some-browser http://example.com > ~/page.html It means that cli browser download html, execute js ...
10
votes
4answers
5k views

Prevent javascript from resizing IE window

I am looking for a way to prevent JavaScript on a webpage from resizing and repositioning my Internet Explorer window. This option is available in Firefox, but I can't find anything similar in ...
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 ...
10
votes
3answers
1k views

How to see exception message in Google Chrome while paused?

I'm using Google Chrome for debugging JavaScript. I opened up the JavaScript Console and the "Pause on Exception" feature is enabled. Now whenever I run JavaScript that has an exception in it, it ...
9
votes
2answers
3k views

Safari Web Developer Tools?

Where do you enable web developer tools in Safari on windows? I can't find it anywhere. A quick web search found some really complicated instructions that felt more like a hack then turning on a ...
9
votes
4answers
4k views

How to hide Browser Plugin Details in firefox for more privacy?

I'm trying to trick the results in this page to have more privacy/anonymity: https://panopticlick.eff.org/index.php?action=log&js=yes So far the best I could do is change the user agent, with the ...
9
votes
3answers
6k views

All my browsers suddenly don't support Javascript files anymore?

I'm experiencing the same issue as this question, which seems to be unresolved. I'll provide more detail, sot that this qualifies as a better representation of the issue. It all started after moving ...
9
votes
1answer
17k views

How can I add autocomplete in notepad++ for javascript in an .html file?

Notepad++ does auto-complete for html and also for JavaScript. but the auto-completion depends on file extension.html file supports completion for html only. Is there a way to enable auto-completion ...
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 ...
9
votes
6answers
1k views

Chrome installation caused Internet Explorer/Javascript error

First of all I'm danish so my English is probably flawed. At my company I've had some complaints that after having installed Chrome certain pages on our intranet website was off limits. So I took ...
8
votes
5answers
4k views

How to make Firefox always stop a script when it's not responding

On some pages I get the "Script not responding" error with an option to stop it and a checkbox to never ask again. Later I get the same question again, with that pointless checkbox. How do I make ...
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 ...
7
votes
2answers
2k views

How to disable “Unresponsive page” warning in Chromium?

I’m using Chrome on Linux to develop a GWT application, and every time I’m stepping through the debugger Chrome complains that the page is unresponsive (which is normal). It’s getting very annoying. ...
7
votes
1answer
2k views

How to open stubborn javascript links in a new tab or new window?

Some websites use "creative" (javascript?) hyperlinks which break browser functionality, such as the ability to ctrl+click or middle click links to open them in a new tab. A common example, taleo HR ...
6
votes
2answers
10k views

Why does editing javascript in Chrome Developer Tools not work?

I have Google Chrome 13.0.782.220 on my Ubuntu 10.04 LTS (64-bit). I try to edit a JavaScript code from an external JS file in the Chrome Developer Tools Scripts pane by double-clicking on the ...
6
votes
1answer
2k views

Is there a Firefox extension that prevents websites from detecting what operating system you're using?

Is there a Firefox extension that prevents websites from detecting what operating system you're using? Also, if there isn't a plugin, is it possible to write one? I know I can disable websites from ...
6
votes
5answers
10k views

How do you use WGET to mirror a site 1 level deep, recovering JS, CSS resources including CSS images?

Pretend I wanted a simple page copy to be downloaded to my HD for permanent keeping. I'm not looking for a deep recursive get, just a single page, but also any resources loaded by that page to be also ...
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 ...
6
votes
3answers
1k 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, ...
6
votes
1answer
321 views

is there chrome extension that restricts javascript execution to the tab in focus?

Often I have lots of tabs open. Often, these tabs can be seen cheerfully burbling away, doing whatever snake stuff Google thinks it should be doing on my system. I then check my IDS to see what ...
5
votes
4answers
91 views

Programming and Browser Help [duplicate]

Possible Duplicate: Tool to highlight and annotate text on websites? This isn't a coding question per se however it relates to it. I apologise if it this in the incorrect place as I wasn't ...
5
votes
3answers
454 views

Advertisement suddenly appearing on top of almost every page

Since this morning strange advertisement is appearing on top of many pages I open in webbrowser (see screenshot at the end). It's happening in any browser (tested FF, IE and Chrome), on any of three ...
5
votes
3answers
1k views

How can I stop JavaScript from modifying the clipboard?

More and more I find that when I copy text from a news site, the site adds in its own advertising/footnote link to my clipboard, so that when I paste, I get "[Text I copied] FOR MORE, GO READ AT ...
5
votes
1answer
931 views

Installing GruntJS on Ubuntu 13.04 does not run client (same for all NPM -g modules)

Okay here's probably an easy one for anyone familiar with Ubuntu. I have installed NodeJS (v.0.10.10) and NPM. I ran: sudo npm install -g grunt-cli and sudo npm install -g grunt (in every ...
5
votes
2answers
12k views

How can I disable javascript popups/alerts in Chrome?

Sorry if it's been asked. I've already found several solutions that aren't working. Not sure what I'm doing wrong. I don't want to disable all javascript, only Javascript alert boxes. The ones that ...
5
votes
1answer
480 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 ...
5
votes
2answers
2k views

JavaScript executed through address bar is not working in Firefox 7, 8

JavaScript executed through address bar is not working in Firefox 7, 8. For example, the code below works in Chrome, when I paste it into the address bar and press Enter: javascript:alert("hello ...
5
votes
2answers
2k views

How do I permanently disable javascript strict warnings in Firefox?

When I open Firefox (8 Beta and 7) and load a page with firebug open, I get a load of javascript strict warnings, so I disable javascript strict warnings so my page loads will speed up, which works ...
4
votes
12answers
20k views

IE8 Refuses to run Javascript from Local Hard Drive

I have a problem that just started at work recently and the network manager is certain he did not change anything with the group policy. Anyways, here is a detailed description of the problem. My ...
4
votes
2answers
4k views

free simple webmail that doesn't require javascript?

Could someone recommend free email service accessible from webmail that doesn't have annoying bloated interface requiring javascript? So far I like gmail because even with js off it still works great ...
4
votes
1answer
5k views

How to close large Javascript Alert windows on Chrome/ OSX

I'm using Chrome 14 and OSX 10.5.8. If a website generates a Javascript alert window with a lot of content (like debug information) the bottom of the window disappears off the screen. This places ...
4
votes
2answers
2k 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 ...
4
votes
1answer
8k views

How to prevent a dialog box from opening in Google Chrome?

I have to visit a website in a regular basis that reminds me it was originally designed for Internet Explorer 8 and Mozilla Firefox 3.5.12 to 3.6.10. It displays a dialog box with that warning ...
4
votes
3answers
3k views

Is there a browser extension that bypasses restrictions of pasting passwords?

As one example out of many, if you go to https://appleid.apple.com and click to manage your account, you can't paste your password in the password field. There is some javascript that prevents that. ...
4
votes
2answers
212 views

Making notes on a live website to send (as a link) to someone else

Is there any way (firefox addon, javascript tool, etc) to make notes on a live webpage. For example, let's say I want to send someone a link to http://developer.android.com/guide/index.html But I ...
4
votes
1answer
2k views

Convert [object XrayWrapper [object HTMLSpanElement]] to html tag

In a userscript i am getting [object XrayWrapper [object HTMLSpanElement]] instead of html span tag. How can i get the html tag like <span>--</span> from this object?
4
votes
2answers
202 views

Where can I find a google search results re-linker for Google Chrome that works?

There used to be some grease monkey scripts that helped relink results directly from the Google search (see here and here for regular results, and here and here for image results.) I really enjoyed ...