Queue  Mozilla Gestures with Queue  

Login -  What is Queue? -  Downloads


Mozilla 1.1 users can now use gestures to interact with Queue (courtesy of Brandon DuRette).

The installation is a bit technical...

  1. To get started, first make sure you are running Mozilla 1.1 or later, which you can get here

  2. If you have not already done so, you must install the Optimoz plug-in

  3. Now is where it gets tricky. Go to the directory where you installed the Mozilla browser on your hard drive.
    (the default location on Windows machines is C:\Program Files\mozilla.org\Mozilla\)

  4. Once you have found that, navigate into the chrome\mozgest\content\ folder and locate the gestimp.js file.
    (So, on Windows machines, this defaults to: C:\Program Files\mozilla.org\Mozilla\chrome\mozgest\content\gestimp.js )

  5. Open that file in your favorite editor and make the following edits:

    • In initGestureTable, add:
        // queue
        addGesture("ULDR", "Push to Queue", "pushToQueue();");
        addGesture("URDL", "Pop from Queue", "popFromQueue();");
      
    • As ordinary functions, add:
      function pushToQueue()
      {
        var loc = window._content.location;
        var title = window._content.document.title;
      
        var queueUrl = "http://www.irondust.com/queue/db_pushPage.asp?"
      
        queueUrl += "title=";
        queueUrl += escape(title);
        queueUrl += "&PageToPush=";
        queueUrl += escape(loc);
      
        linkInTab(queueUrl);
      }
      
      function popFromQueue()
      {
        window._content.document.location.href = "http://www.irondust.com/queue/db_popPage.asp";
      }
      
  6. Save the file, close any open Mozilla browsers and open up Mozilla

  7. When you restart the browser, gestures are installed for adding and popping pages from your Queue. To add a page to your Queue, make a lowercase q (starting from the bottom and going up (up-left-down-right) ). To pop, draw a lowercase p (starting from the bottom and going up (up-right-down-left) ).

Note that Mozilla 1.1 is, as of today's date (8/29/2002), not mozilla.org's "most stable release" according to the Mozilla Home Page. Proceed with caution, etc.

Questions, suggestions, and other comments are welcome, and can be addressed to the email address below.



Login -  What is Queue? -  Downloads

©2008 IronDust, LLC - admin@irondust.com - IronDust, LLC Home