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

learn more… | top users | synonyms

11
votes
3answers
9k 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 ...
22
votes
4answers
4k 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 ...
24
votes
3answers
2k 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 ...
6
votes
5answers
16k 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 ...
9
votes
2answers
3k 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
4answers
16k views

Is there a way to disable a specific JS script from a specific website?

I want to disable a specific JS script from a specific website without disabling the javascript completely. Is there a way to do that ?
6
votes
3answers
5k 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 ...
18
votes
4answers
26k views

Use AdBlock without being detected

Upon visiting a site today I was rewarded with Comic Sans. Behold it's glory: Source Needless to say I can finally understand why so many people loathe this font. However, this does bring up a ...
15
votes
4answers
7k 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 ...
10
votes
1answer
25k 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 ...
2
votes
1answer
3k views

Is it possible to run JavaScript in Textmate?

If I try to run it now I get a XCode error. Do I need to install a JavaScript interpreter on my computer?
3
votes
1answer
2k views

Middle clicking a link on chrome sometimes also switches the current tab to the new one

In chrome, most of the time, when i middle click on a link (text or image), it opens a new tab and the current tab does not change. This is the expected behaviour. However, some websites have links (...
2
votes
1answer
938 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
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?
22
votes
10answers
23k 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?
21
votes
5answers
22k 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 ...
12
votes
5answers
117k views

Plugin for Firefox to download the entire webpage with CSS/Javascript? [closed]

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 ...
10
votes
2answers
5k views

How to prevent JavaScript alerts that fire when leaving a page?

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 confirm an alert,...
15
votes
5answers
9k 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 ...
8
votes
3answers
2k 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, the copied text is appended with something like: ...
16
votes
11answers
6k 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 ...
4
votes
8answers
665 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 ...
3
votes
2answers
4k views

Firefox: Disable window.location on website

I'm trying to prevent a certain site from being able to use javascript to redirect the browser to another page. The script in question is an inline script so Greasemonkey and adBlock can't do ...
1
vote
2answers
2k views

How to run localhost or local website within Powerpoint?

I have a demo coming up and I kind of want to show off different Javascript applications within the presentation. I was wondering if there was a way to run localhost, or web applications locally, ...
6
votes
2answers
6k 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 http://blog.monstuff....
3
votes
2answers
157 views

How to prevent JavaScript on web site messing with browser

Is there any way to prevent specific JS scritps messing with browser (Firefox or Chrome)? For example some sites are blocking copy\paste functionality for input fields forcing user to type some text ...
3
votes
6answers
23k 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
4answers
7k 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 ...
1
vote
1answer
1k 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 i=d.getElementsByTagName('iframe');if(...
0
votes
1answer
2k views

Hack for running multiple iMacros in random fashion

I have 20 iMacros (for browser) and they are specific to different URLs. I run these macros one after another, and then repeat or loop all of them 10 times. But within that loop, i need those 20 ...
3
votes
3answers
30k 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 ...
3
votes
2answers
4k views

Why is my system waiting for google-analytics?

When I go to certain websites that have google analytics, they never load up. One example is www.jquery.com. I tried in firefox, chrome, safari and explorer. Chrome & safari, flash the ...
2
votes
2answers
3k 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 ...
1
vote
1answer
686 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" onclick="...
0
votes
2answers
2k views

How to prevent flash and javascript from consuming my CPU?

I fed up of browsers eating CPU by rinning useless flash and javascript. A few questions how to have my CPU power back: Are there any Opera or Firefox plugins which show which exactly webpage eats ...
0
votes
1answer
28 views

Blocking the ISP's ads appearing after a possible DNS grab and redirect via port 53?

I'm asking this question here because I already asked it on ProWebmasters and the moderators said the people on SuperUser might be able to answer it. The question: http://webmasters.stackexchange....
0
votes
1answer
5k views

JavaScript suddenly stopped working on windows7 all browsers? [duplicate]

Possible Duplicate: All my browsers suddenly don't support Javascript files anymore? I am facing some weird problem on Windows 7. JavaScript suddenly stopped working on windows 7 on all ...