spacer

Webref WebRef   Sitemap · Experts · Tools · Services · Newsletters · About i.com

home / experts / javascript / search

Developer News
Microsoft Shows Some Ankle With Visual Studio
Gentoo Linux Cancels Distribution
It's Official: Windows 7 at PDC, WinHEC
Doc JavaScript
October 6, 2008

home
a random drug
emergency e-mail
billing inquiries


Select some text, click a button, and search the Web via one of the leading search engines.

Search Remote, by Tomer Shiran & Yehuda Shiran

Welcome to Doc JavaScript's Search Remote. Within minutes, you'll discover the next revolution in Web searching. Add this custom Search Remote to your browser for instant access to your favorite search engines.

Our Search Remote is actually a simple bookmarklet. In other words, you just need to create a bookmark, and you're ready to go. You'll need Navigator 3.x or Internet Explorer 4.x (or later). Also remember to enable JavaScript in your browser (it should already be enabled by default). Follow these three steps to create your Search Remote:

  1. Select the desired search engines:

Altavista
Excite
HotBot
Infoseek
Lycos
LookSmart
== Northern Light
PlanetSearch
Webcrawler
whatUseek
Yahoo

  • Click the process the form link
  • Bookmark or drag this Search link to the link bar
  • How it Works

    The Search Remote is a cross-platform application. It works on all Web pages, including frame-based documents. First, take a look at the following images:

    The Personal Toolbar

    The Links Bar

    Navigator's Personal Toolbar and Internet Explorer's Links bar both let you create buttons for various Web pages. When you click a button, the browser loads the corresponding Web page. Doc JavaScript's Search Remote can be accessed through these bars. But before we explain how, let's discuss these bars.

    The Macintosh version of Navigator 4.5 features a Personal Toolbar, but previous Macintosh versions do not. Furthermore, we discovered some problems with the Links bar in the Macintosh version of Internet Explorer 4.x. However, as you will see later, the Search Remote can work without the Personal Toolbar or Links bar. We'll refer to both the Personal Toolbar (Navigator) and the Links bar (Internet Explorer) as the browser's link bar.

    Any hypertext link can be added to the link bar. Simply drag a link up to the bar using your mouse. If your link bar is visible, go ahead and drag the Search Remote bookmarklet up to your link bar (be sure to choose the right one for your browser).

    If you don't want to trigger the Search Remote from the link bar, you can use another method. If you're running Windows, right-click the bookmarklet link, and add it to your list of bookmarks (Navigator) or favorites (Internet Explorer). If you own a Mac, hold the mouse button over the link for a while, until the menu pops up. Then add the link to your set of bookmarks or favorites.

    Editing the entries in the browser's bookmark directory differs between browsers and platforms. Use the Bookmarks menu in Navigator or the Favorites menu in Internet Explorer.

    Once you've added the Search Remote bookmarklet to your link bar or bookmark directory, you're ready to start using it. When you're surfing the Web, and feel like searching one of the major search engines, just trigger the Search Remote (from the link bar or the bookmark list). The Search Remote will pop up.

    If you want to perform a search for a phrase you see on that page, use the mouse to select that phrase, and then launch the Search Remote:

    The Search Remote

    The preceding image demonstrates the process. First, we selected the phrase "money-managing tips." We then clicked the "Search" button in the Personal Toolbar, and the Search Remote appeared, with the selected phrase already entered. Once you select the desired search engine and execute the search, the Search Remote automatically closes. You can launch it again at any time via the button in the link bar or the corresponding bookmark/favorite.

    Note that the Search Remote doesn't support selections in Navigator 3.x. You don't need to worry about this issue, because the script takes care of it. It will simply ignore the selected text, in order to avoid a JavaScript error.

    As bookmarklets are not supported by the Macintosh version of Internet Explorer 4.x, you cannot use the Search Remote on these platforms.

    If the Search Remote is a plain bookmark/favorite, you simply need to select the desired phrase and choose the bookmark ("Search").

    To summarize, here are the steps for installing the Search Remote:

    1. Select the desired search engines
    2. Click the "process the form" link
    3. Bookmark or drag the link to the link bar

    That's all there is to it. You're now prepared to search the Web in a much more efficient way. If you encounter any bugs in the script, be sure to let us know.

    http://www.internet.com

    Produced by Yehuda Shiran and Tomer Shiran


    JupiterOnlineMedia

    internet.comearthweb.comDevx.commediabistro.comGraphics.com

    Search:

    Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

    Jupitermedia Corporate Info


    Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy.

    Advertise | Newsletters | Tech Jobs | Shopping | E-mail Offers

    Solutions
    Whitepapers and eBooks
    IBM Whitepaper: Innovative Collaboration to Advance Your Business
    Internet.com eBook: Real Life Rails
    Avaya Article: Call Control XML - Powerful, Standards-Based Call Control
    Internet.com eBook: The Pros and Cons of Outsourcing
    Go Parallel Article: Scalable Parallelism with Intel(R) Threading Building Blocks
    Internet.com eBook: Best Practices for Developing a Web Site
    IBM CXO Whitepaper: The 2008 Global CEO Study "The Enterprise of the Future"
    Avaya Article: Call Control XML in Action - A CCXML Auto Attendant
    Go Parallel Article: James Reinders on the Intel Parallel Studio Beta Program
    IBM CXO Whitepaper: Unlocking the DNA of the Adaptable Workforce--The Global Human Capital Study 2008
    Adobe Acrobat Connect Pro: Web Conferencing and eLearning Whitepapers
    Go Parallel Article: Getting Started with TBB on Windows
    HP eBook: Storage Networking , Part 1
    MORE WHITEPAPERS, EBOOKS, AND ARTICLES
    Webcasts
    Go Parallel Video: Intel(R) Threading Building Blocks: A New Method for Threading in C++
    HP Video: Is Your Data Center Ready for a Real World Disaster?
    Microsoft Partner Portal Video: Microsoft Gold Certified Partners Build Successful Practices
    HP On Demand Webcast: Virtualization in Action
    Go Parallel Video: Performance and Threading Tools for Game Developers
    Rackspace Hosting Center: Customer Videos
    Intel vPro Developer Virtual Bootcamp
    HP Disaster-Proof Solutions eSeminar
    HP On Demand Webcast: Discover the Benefits of Virtualization
    MORE WEBCASTS, PODCASTS, AND VIDEOS
    Downloads and eKits
    Microsoft Download: Silverlight 2 Software Development Kit Beta 2
    30-Day Trial: SPAMfighter Exchange Module
    Red Gate Download: SQL Toolbelt
    Iron Speed Designer Application Generator
    Microsoft Download: Silverlight 2 Beta 2 Runtime
    MORE DOWNLOADS, EKITS, AND FREE TRIALS
    Tutorials and Demos
    IBM IT Innovation Article: Green Servers Provide a Competitive Advantage
    Microsoft Article: Expression Web 2 for PHP Developers--Simplify Your PHP Applications
    Featured Algorithm: Intel Threading Building Blocks - parallel_reduce
    MORE TUTORIALS, DEMOS AND STEP-BY-STEP GUIDES
    webref The latest from WebReference.com Browse >
    Controllers: Programming Application Logic - Part 2 · How to Use JavaScript to Validate Form Data · Controllers: Programming Application Logic
    Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
     The latest from internet.com
    Sprint Launches Mobile WiMAX Network · Albatron Downsizes with the KI780G Mini-ITX Motherboard · Can't Find a Wi-Fi Network? Make Your Own.


    All Rights Reserved. Legal Notices.
    Created: February 15, 1999
    Revised: February 15, 1999

    URL: http://www.webreference.com/js/search/