1. Home
  2. Computing & Technology
  3. JavaScript

User Scripts

JavaScript doesn't just run from web pages, you can attach JavaScripts to your web browser and run them against the web pages you visit. Opera supports this directly while with Firefox you need Greasemonkey. For IE6+ I recommend the IE7Pro plugin.

Alternatives to User Scripts

Stephen's JavaScript Blog

Tools for Making JavaScript

Tuesday December 29, 2009
You don't need to spend loads of money to be able to add JavaScript to your pages. To be able to write and test JavaScript you need five programs. While there are programs you can buy to satisfy one of these requirements there are also lots of free alternatives. The other four programs you need are all available as free downloads but one of them only runs on Windows.

Tools for Making JavaScript

Using Pre-written JavaScript

Monday December 28, 2009
For those brand new to the idea of using JavaScript the steps required just to be able to use a script that someone else has written are not necessarily all that obvious. Even though I have step by step instructions with all the scripts I offer that people can copy from this site some people have managed to have trouble through misunderstanding those instructions. For example not knowing how to save supplied content as a separate file. For those people I have now added this extra step by step guide to how to perform some of the simple tasks that those completely new to JavaScript may not know how to do when following instructions on how to install a pre-written script into their web page.

Using Pre-written JavaScript \

Greedy, Reluctant and Possessive

Sunday December 27, 2009
Control how your regular expressions try to match the content

Sometimes you want to find the longest possible matching string and sometimes you want the shortest possible matching string. The ninth tutorial on Regular Expressions covers how to set the pattern to return the one you want.

Greedy, Reluctant and Possessive

Javascript and JScript

Saturday December 26, 2009
JavaScript and JScript are two different programming languages. JavaScript runs in most web browsers with the most popularly used exception being Internet Explorer. JScript can run in Internet Explorer as well as a variety of other places. Most JavaScript can also run as JScript (and you can use feature sensing to handle those parts where different code is required). JScript provides lots of features that do not have a JavaScript equivalent and so those features should not be used for web pages.

Javascript and JScript
Discuss
Readers Respond
Ways I Have Seen JavaScript Misused And How I Would Have Done it Differently
Add Your Response

Recent Blog Posts
Explore JavaScript
About.com Special Features

The Best Web Trends of the Decade

A look back at the best innovations, ideas and technologies over the last 10 years, More >

Family Tech Center

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

  1. Home
  2. Computing & Technology
  3. JavaScript

©2009 About.com, a part of The New York Times Company.

All rights reserved.