Creating a button for Firefox Bookmark toolbar

Discussion in 'JavaScript' started by DeluxeEdition, Sep 15, 2008.

  1. #1
    I want to create a bookmark like ClipClip.com ( http://www.clipclip.com/message/install_bookmarklet ) has for their site. If you add it to the toolbar in firefox it gives a nice drop down form from whatever page your on.

    Does anyone know how this is done or can point me to a tutorial? I tried doing a search but wasn't finding what I needed.

    P.S. I put this in Javascript because that's what it looks like their using. If it should be somewhere else please feel free to move it.
     
    DeluxeEdition, Sep 15, 2008 IP
  2. kceleb9

    kceleb9 Peon

    Messages:
    66
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Bookmarklets are just simple JavaScript scripts stored as a bookmark. They run when the bookmark is selected and function as a button of sorts. The key issue is that you have a limi tof one line in which to code your functions. A technique some bookmarklet authors use is to append a <script> tag to the body of whatever document, to download an additional script. Googling "bookmarklet tutorial" will get you alot of results... here is one of the better ones

    http://www.webreference.com/js/column35/
     
    kceleb9, Sep 15, 2008 IP
  3. DeluxeEdition

    DeluxeEdition Active Member

    Messages:
    308
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    58
    #3
    Thanks - I guess it would help if I searched for the right term - "bookmarklet" never would of thought about that
     
    DeluxeEdition, Sep 16, 2008 IP