Miscellaneous Scripts

This section covers miscellaneous scripts, JavaScript libraries, and tools used in the creation of scripts. If a script didn't fit anywhere else, it's probably ended up here. General questions about these miscellaneous scripts here should be posted to The JavaScript Forum.

  • htaccess Login
    Scott Clark Dec 5, 2010

    Allows you to have a login box embedded in your web page.

  • Auto Expire
    Scott Clark Oct 3, 2010

    "Set ""go live"" and ""expire"" dates for content, such as ""Latest News"" or various promotional content."

  • Lots Of Info
    Scott Clark Oct 3, 2010

    This script displays loads of information from your browser.

  • Ajax Loader
    Scott Clark Oct 2, 2010

    Use this script to load XML and HTML files with XMLHTTPREQUEST, otherwise known as AJAX.

  • Resolution Image
    Scott Clark Oct 2, 2010

    Loads an image with different dimensions based on the users screen resolution setting.

  • Disable the Submit Button
    Scott Clark Jul 4, 2010

    Sometimes it is a good idea to disable the submit button!

  • Directory Info
    Scott Clark Jun 1, 2010

    Do you archive your Web site's contents into separate directories? If so, you'll love this script!

  • History Length
    Scott Clark Jun 1, 2010

    Shows how many sites your visitors have been to.

  • Alert Coords
    Mtalo Toffolo May 29, 2010

    A pop-up alert shows you the coordinates of where the mouse is clicked on the document.

  • Avenue MetaSearch
    Scott Clark May 5, 2010

    This search form gives you the possibility to search the 50+ most popular search engines and directories.

  • In-Page Search Option
    Scott Clark May 5, 2010

    Add a Google/Yahoo search option to your Web pages.

  • Centered Popup
    Scott Clark Apr 21, 2010

    Opens a new popup window centered on the screen.

  • Cursor Changer
    Scott Clark Apr 21, 2010

    Another background changer that uses the onmouseover command.

  • Only Popup Once
    Scott Clark Apr 21, 2010

    Using cookies, this script can determine if the visitor has been here before, and only open a new window on their first visit to the page.

  • Color Chooser
    Scott Clark Apr 14, 2010

    Choose background and foreground colors by directly entering the amount of red, green or blue.

  • Closing Windows
    Scott Clark Mar 31, 2010

    This set of short, easy scripts shows six different ways to close a window from JavaScript.

  • Double StopWatch
    Scott Clark Mar 24, 2010

    This script uses two stopwatches, one in seconds and one in ms.

  • JavaScript Enabled Redirect
    Scott Clark Mar 24, 2010

    If your visitor has JavaScript enabled in their browser, they are automatically redirected to your JavaScript-enhanced page.

  • Auto Expire
    Scott Clark Mar 17, 2010

    "Set ""go live"" and ""expire"" dates for content, such as ""Latest News"" or various promotional content."

  • Color Changer
    Scott Clark Mar 17, 2010

    Choose what color the page and text will be viewed in.

  • Byte Converter
    Scott Clark Mar 3, 2010

    Convert bytes, kilobytes, megabytes, and gigabytes.

  • Redirect if Page Moved
    Scott Clark Mar 3, 2010

    Redirect a visitor if your page has moved.

  • IP Address Filter
    Scott Clark Mar 2, 2010

    JavaScript can prevent visitors with certain IP addresses from visiting your site.

  • Password Generator
    Scott Clark Mar 2, 2010

    Generate a random password with special characters and restrictions.

  • Multiple Mailer
    Scott Clark Feb 24, 2010

    "JavaScript can help you send an e-mail to anyone on your ""list""."