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

learn more… | top users | synonyms

0
votes
0answers
215 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 ...
2
votes
1answer
429 views

How to prevent javascript timeout function?

A website that I frequent utilizes the following javascript function idle() { $(document).unbind('mousemove'); $(document).unbind('keydown'); $(document).on('mousemove', function ...
0
votes
2answers
120 views

Can I use JavaScript to insert in place some plaintext from a remote file by URL?

So, I'm not sure if the reason I'm having trouble with this is because it looks awfully like malicious activity or not. What I'm attempting to do is make my life a little less terrible with a piece of ...
1
vote
2answers
1k 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, ...
1
vote
1answer
1k 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 ...
3
votes
2answers
137 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 ...
0
votes
2answers
355 views

Firefox: How do I perform “Move to New Popup Window” on a tab?

Firefox has a tab bar context menu item "Move to New Window". This will create a new window with all the default window configuration, incl. vertical tabs, location bar and whatever else one might ...
0
votes
1answer
79 views

Youtube embedding with different audio track

My question (my first, hope it's ok) is like this: I film weddings. I want to post them online, using youtube. The problem is the audio which is often marked as "not my content". Is it possible to ...
2
votes
0answers
97 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 ...
52
votes
6answers
4k 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 ...
2
votes
6answers
214 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 ...
0
votes
1answer
555 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 ...
0
votes
1answer
274 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 ...
0
votes
1answer
94 views

How do I add a Unicode search to the JavaScript console of a desktop, mobile, or game console browser?

It would be nice if I could search for the Unicode escape sequence of a particular character using the browser JavaScript console or via a bookmarklet. Is there any way to easily do this?
0
votes
0answers
182 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 ...
-2
votes
1answer
2k views

Modifying website source code to bypass survey

Whenever you open websites like downloadsafe.org there is a pop-up that you have to fill a survey. Till the time you don't fill that survey out it keeps sending request back to a server that gives a ...
1
vote
1answer
439 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. ...
19
votes
2answers
6k 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
518 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
1answer
2k 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 ...
5
votes
1answer
1k 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 ...
8
votes
2answers
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 ...
1
vote
2answers
159 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
1answer
155 views

Go to a page with an internal hyperlink to a video stream

When you go on a page and you click on something that calls up a javascript (like sections on Wikipedia that generate the '#...' in the URL) the URL changes in the address bar of your browser. On ...
1
vote
2answers
105 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
330 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
0answers
428 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 ...
3
votes
3answers
1k 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
97 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: ...
10
votes
2answers
4k 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 ...
0
votes
2answers
593 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
61 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 ...
0
votes
1answer
109 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
1answer
421 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?
2
votes
2answers
3k 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 ...
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?
0
votes
1answer
28 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
217 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, ...
2
votes
2answers
1k 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
3answers
655 views

How do you block javascript slideshow animations in Firefox?

Is it possible to disable javascript slideshow animations in Firefox? A lot of news sites have delayed slide shows. It really irritates me when I'm reading a headline and it disappears. Is there a ...
1
vote
1answer
4k 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 ...
1
vote
1answer
55 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
0answers
393 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 ...
4
votes
2answers
1k 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 ...
1
vote
1answer
522 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
170 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 ...
0
votes
1answer
613 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
363 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
271 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
2k 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 ...