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

learn more… | top users | synonyms

3
votes
1answer
216 views

Does selectively blocking Javascript in Chrome actually reduce bandwidth usage?

In Chrome, Javascript is allowed to run by default. However, there's a nice dialog (Settings → Show advanced settings... → Content settings...) for blocking Javascript from specific sites: ...
0
votes
1answer
124 views

Why is javascript being blocked on three browsers except in private mode without an extension conflict?

I am running Windows 7, 32-bit java up to date. On Chrome, Firefox and IE (also up to date) whenever I load lowes.com the scroll over menus (shop & learn) will work while the page is loading. At ...
3
votes
5answers
2k views

JavaScript not working locally in any browser

I am operating on Windows7 with IE8, Firefox, Google Chrome, Safari and Opera. JavaScript will work on the live site but it won't work on any local site I am testing in any browser. I don't get an ...
0
votes
0answers
2k views

How to correctly use javascript:alert(document.lastModified); to check a website last update?

I read many webpages. They said that I could use javascript:alert(document.lastModified); to find the last update of a site. I test at least 10 websites. Only the website that I made gives me the ...
2
votes
1answer
493 views

Does firebug not (always) duplicate repeated identical console.logs?

I always thought that firebug would send to the console content whenever the JavaScript encountered console.log('send this'); Then, I was messing around with jQuery's hover() method (something like ...
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 ...
0
votes
1answer
86 views

HTTPD benchmarking tool that parses output

I'm trying to benchmark a HTTP server. It's becoming quite obvious that I won't get accurate numbers if the tool being used doesn't parse any output (the JavaScript and HTML). Does anyone know of a ...
0
votes
1answer
732 views

facebook like button not displayed in firefox

when I access my site in firefox, the like button did not appear: js-projects It worked in safari and chrome, only disappeared in firefox. the javascript code of loading like button can be found ...
1
vote
2answers
668 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, ...
0
votes
0answers
146 views

Javascript FileSystemObject::CopyFolder error

I have an old Javascript ..er..script that we run on installs here (with cscript) that stopped working properly somewhere after the beginning of last year. I'm trying to figure out why. It looks like ...
1
vote
1answer
245 views

Javascript to Automate Paths to Layers in Photoshop

I am looking for a javascript that can run within Photoshop. Ideally, the script will convert a series of clipping paths to layers - and then fill the layer (defined by the clipping path) with black. ...
3
votes
2answers
3k views

Is this code supposed to be injected into every single page I browse on Chrome?

A week ago I noticed the following CSS/Javascript being injected into all pages I browse. Supposedly its from Avast, but I don't have a plugin from Avast. There is no information available anywhere ...
0
votes
1answer
974 views

Is it possible to enable JavaScript injection in Chrome 15?

With Chrome 15 one is now able to sync search engines (finally). I had a few that executed JavaScript, but they no longer work in the new version because I am not able to execute scripts from the ...
3
votes
2answers
114 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 ...
4
votes
2answers
803 views

As a user, how can one disable right click on flash for certain web site

This is not a question like I'm web a developer, I want to block user from downloading picture from a web site. Here is the issue, my three year old daughter loves to play on a web site abcmouse.com ...
2
votes
0answers
69 views

Escape key strangely captured by javascript webshell

I am using GateOne as a WebShell on my VPS (only way to SSH to it through the proxy of the place...), it uses javascript to emulate a shell by capturing keystrokes. Everything works well, yet it ...
49
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 ...
4
votes
1answer
716 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 ...
0
votes
1answer
348 views

Google safebrowsing post requests

My browser often sends some weird post requests like this: POST http://safebrowsing.clients.google.com/safebrowsing/downloads?client=navclient-auto-ffox&appver=22.0&pver=2.2&wrkey=XXXXXX ...
2
votes
6answers
151 views

Why can't we save 100% of a site?

We all know that we can't obfuscate HTML or Javascript. We need to remember that if the browser can read it, the user should be able to read it too. Therefore, why is it that sometimes when we ...
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 ...
0
votes
1answer
187 views

How do I remove Javascript dialog console box seen in Chrome?

Windows XP using Chrome, I have javascript or java applet console box that runs in the right hand corner of the sidebar which is a Dialog box. Tabs say "execute JS, "hide console" "show source". Opens ...
16
votes
11answers
9k 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?
0
votes
0answers
125 views

Something is corrupting my system files especially javascript

Strange things are happening to my PC. My files are corrupting automatically Copy paste behave strangely some time I am a web developer, and I see my JavaScript files are corrupting ...
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 ...
0
votes
1answer
987 views

JavaScript settings are on but I still have issues with web sites using JavaScript

I have two computers that are the same at home except I have installed Adobe Acrobat 9 Pro Extended on my main computer along with the 2010 Outlook (Beta). I have issues when I log into a website that ...
19
votes
2answers
4k 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 ...
1
vote
1answer
284 views

Rewrite URL in Bookmarklet

I am relatively new to javascript and I want to code a javascript-bookmarklet which is able to rewrite a URL from http://www.xyz.com/test/stuff/video129852_zc-7931f8bf_zs-2d7967f4.html to ...
1
vote
2answers
118 views

How can I prevent webpages from using JavaScript to sniff my system information?

I'd prefer not to allow webpages to access my system information. If I use NoScript, Panopticlick is only able to see my User Agent string and HTTP_ACCEPT headers. Otherwise, it can sniff way to much ...
1
vote
0answers
141 views

How can I fix JavaScript error seen in Chrome, but not seen in Safari?

I'm using Chrome on Mac OS X Lion and recently the behavior of Craig's List changed. If you go to a real estate or rental listing like this one, only the first picture shows and there is no longer ...
2
votes
1answer
229 views

How can I get the latest N posts from blogger RSS feed?

How can I get the latest N posts from blogger RSS feed, using the URL in a browser, or some javascript? Which parameter do I have to use?
15
votes
2answers
893 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 ...
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 ...
2
votes
2answers
2k 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 ...
0
votes
2answers
266 views

Is there a tool or something that can “listen” to javascript functions called on a webpage?

I was wondering if there is a tool, or something like this for intercepting JavaScript functions when they're called on a webpage, for example let's say I'm on a webpage and I press on Up Arrow key ...
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 ...
3
votes
3answers
850 views

Getting malware through JavaScript and an img tag

I was browsing a website which caused Avast to create a notification that it protected me from an infection. Over the next half hour, this notification popped up again a few times. The Avast message ...
1
vote
0answers
56 views

Photoshop scripting. Opening & Saving overlapping image stacks

I’ve been getting more and more into star photography and have recently been trying to develop a new style of stacking the photos and creating time-lapse videos from the stacked photos. Example: ...
5
votes
2answers
9k 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 ...
1
vote
1answer
55 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 ...
12
votes
4answers
44k views

Javascript error console in Chrome?

I know how to do it in Firefox - how do I see Javascript errors in Chrome?
0
votes
1answer
65 views

last object returned in chrome dev tools / python / irb /

In matlab one could type in the following and get the following reply: matlab> 1+1 ans = 2 One could then all the last returned object by simply typing: matlab> ans ans = 2 That is, ...
2
votes
2answers
1k views

suddenly cannot properly display many websites on my computer (chrome, firefox, IE)

I am unable to see many websites properly on my computer. for example, the homepages of yahoo, skype and download.net. When I open yahoo.com in chrome, it seems that the computer keep waiting for ...
1
vote
1answer
314 views

How to disable keyboard shortcut on web applications?

I'm a Vimium user. So I want to operate everything in vim's way. But some web application override keyboard shortcuts. For example, gmail, JIRA, most of rich text editors and so on. It is very ...
0
votes
1answer
32 views

IE9 Developer Tool Not Open

In IE9 I can not open the Developer Tools. Under tools it display as disable and even if i press F12 it did not pop up. Any one face similar situation?
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. ...
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 ...
0
votes
1answer
21 views

Safari developer tool search

How to search content in all sources in safari developer tool? I know that in Chrome developer tool the shortcut is: Ctrl+Shift+F. Thanks.
0
votes
0answers
152 views

jS how to resize a text field? dynamics CRM 2011

I'm wondering about how to resize a text feild automatically in crm 2011. Is it possible there? For example, I've got a simple text field that has 3 lines by default. And I'm looking for a method, ...
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 ...