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

learn more… | top users | synonyms

2
votes
2answers
3k 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
338 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
150 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
894 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
60 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: ...
1
vote
1answer
57 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
46k 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
71 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
2k 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
339 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
23 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
157 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, ...
11
votes
5answers
70k 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
498 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 ...
3
votes
1answer
223 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
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 ...
3
votes
0answers
612 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
290 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
49 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
350 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
147 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
155 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
256 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
5k 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
104 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
444 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
252 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
724 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
25k 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
559 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
225 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
493 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
140 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
799 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
154 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
835 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
557 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
672 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
46 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
3k 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
49 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
511 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 ...