Firefox OCAU Menu Extension

Discussion in 'Programming & Software Development' started by 0x48656C6C5F466, Jan 15, 2006.

  1. 0x48656C6C5F466

    0x48656C6C5F466 Member

    Joined:
    Feb 11, 2005
    Messages:
    99
    OCAU Menu Extension for Firefox


    You can get it at http://servfire.net/ocaumenu/ocaumenu-1.0.2.xpi.

    (Project available on GitHub - https://github.com/Hell-Fire/OCAUMenu)

    New in 1.0.1:
    Dynamically generated menu parsed right off the main page (will be a week out of date at most, is a week long cache set), if you want to force an update, delete the ocauMenu.cache file from your Firefox profile folder.

    To install, just click on the link, click allow on the box, and restart when done (like most other FF extensions). To add the button, right click somewhere on your toolbar and go to customize, drag the button out where ever you like!

    If this doesn't work, right click the link, click "Save Link As", save it to your desktop or something, then click and drag the file into your Firefox window. This should pop up the usual install dialog.

    If you're upgrading, just install this over the top of the old one, it should overwrite fine.

    XPIs are just Zip files, so if you want to check the code for yourself, feel free, use your favorite zip program (I use 7zip) to open it up.

    Explanation of files in XPI:
    install.rdf - Metadata file for Firefox extension manager.
    chrome.manifest - Chrome registry manifest
    content/overlay.xul - Base overlay to inject JavaScript and add OCAU base menu
    content/overlay.js - All the action, builds the menu DOM and swaps it in over the base one in XUL.
    content/button.css - The stylesheet for the toolbar button
    doc/ - Will have readme, license, miscelanious docs, examples and whatnot. I'm using the extension folder to store examples as well, so may as well distribute them.

    Released under GPL v2.

    Works with Firefox versions 4.0-10.*

    UPDATE (30/07/11): Squashed a couple of bugs, style shouldn't change, forums show up in the right categories
    UPDATE (29/07/11): Wow, it's been a long time :p Menus now generated dynamically off the forum main page, also added a toolbar button
    UPDATE (03/06/09): Added all afrikajeffs updates (thanks!), fixed a bug with new tab opening on second level submenus, updated allowed version to 3.*.
    UPDATE (04/11/08): Added afrikajeffs menu updates to official
    UPDATE (12/04/08): Added signing/signature stuff for Firefox 3
    UPDATE (10/01/08): Updated plugin with new forums etc etc
    UPDATE (08/04/07): Changed link in OP (Thanks TheWedgie)
    UPDATE (14/02/07): Updated version allow to FF 3.0, changed update server to new host
    UPDATE (20/12/06): Updated version allow to FF 2.0.0.1
    UPDATE (05/11/06): Added note about alternate install method.
    UPDATE (30/10/06): Actually updated the plugin
    UPDATE (30/10/06): Note about FF 2.0
    UPDATE (26/05/06): Change of URL
     
    Last edited: Jun 30, 2011
  2. SteakTheMooCow

    SteakTheMooCow (Taking a Break)

    Joined:
    Apr 26, 2005
    Messages:
    3,069
    Anyone having trouble with compiling Firefox 1.5 give me a PM or shout to me on IRC, I've got most of the known issues down pat (as I went through them on an LFS box).

    I use this plugin, I think it's excellent and useful... I'll give it a look over and hopefully learn something and not break firefox playing with it again (read: I broke it, it works fine. I was trying to add something to it)
     
  3. -=N0N@ME420=-

    -=N0N@ME420=- Member

    Joined:
    May 9, 2004
    Messages:
    7,562
    ^ works fine on 1.5 here.

    all important screen shot:

    [​IMG]
     
  4. grum00

    grum00 Member

    Joined:
    Jul 26, 2001
    Messages:
    2,557
    Location:
    Adelaide
    Also works fine for me on 1.5.
     
  5. Saiyan_Overlord

    Saiyan_Overlord Member

    Joined:
    Jul 6, 2005
    Messages:
    2,001
    Location:
    Sydney 2074
    I'm so getting this extension, youv'e made me very happy :). I <3 you :D.
    Also what windows theme are you using there N0N@ME420 ?.
     
    Last edited by a moderator: Jan 5, 2007
  6. Saiyan_Overlord

    Saiyan_Overlord Member

    Joined:
    Jul 6, 2005
    Messages:
    2,001
    Location:
    Sydney 2074
    There's a few bugs I notice, dunno if it's a conflict with other extensions or just a bug in the extension itself. Sometimes it will just flicker if i hover my cursor over parts of the menu instead of highlighting them and popping up the view of the drop down menu for that topic.
     
  7. ratsock

    ratsock Member

    Joined:
    Nov 8, 2002
    Messages:
    1,204
    Location:
    Melbourne, CBD
    This thing's great
    Thanks mate :D:thumbup:
     
  8. domlebo

    domlebo Member

    Joined:
    Nov 13, 2004
    Messages:
    7,776
    Location:
    Brisbane
    I think it's one of the bundled ones with Windows Blinds. Am i correct N0N@ME420? Google Windows Blind.
     
  9. Saiyan_Overlord

    Saiyan_Overlord Member

    Joined:
    Jul 6, 2005
    Messages:
    2,001
    Location:
    Sydney 2074
    I'm currently using windows blinds. Haven't seen this one in there before.
     
  10. OP
    OP
    0x48656C6C5F466

    0x48656C6C5F466 Member

    Joined:
    Feb 11, 2005
    Messages:
    99
    As I said in my post, it's GPL v2, distribute/modify any way you like.

    Also as I said in my post, XPIs are just ZIP files, open it up with your favorite zip program (may need to rename it to .zip first)

    As for the code, Firefox uses JavaScript + XUL for everything. The Firefox browser is more like a highly interactive DHTML page then a browser, with this note, the Firefox UI is actually rendered under the Gecko engine just the same as the web pages it loads.

    For reference on XUL elements and JavaScript calls, you can find these and a bit more at http://xulplanet.com/

    For reference for others, this message will be copied to the thread.

    Thanks for the thanks :)

    Edit:
    I havn't seen this at all, I don't do anything special in how I handle menus apart from the initial loading of them, once it's loaded it's up to the usual Gecko engine handlers to perform the rest.
     
    Last edited: Jan 16, 2006
  11. brodsta

    brodsta Member

    Joined:
    Nov 26, 2004
    Messages:
    987
    Location:
    QLD
    Can someone tell me how to add this extension? lol, I've NFI about extensions in firefox (I.e. how to add them if they're not like the ones on the firefox site :S)
     
  12. AJR

    AJR Member

    Joined:
    Apr 24, 2005
    Messages:
    1,156
    Location:
    Sydney, Australia
    But it installs automatically! Just click the link and a window will pop up.

    Otherwise, it isn't a bad idea. Good work! I'll be keeping this.
     
  13. Sephir0th

    Sephir0th Member

    Joined:
    Aug 12, 2002
    Messages:
    2,352
    Location:
    Melbourne
    this is pretty cool dude cheers :)

    to extend further on the concept, it would be pretty awesome if you could type in the address of a forum and it goes and gets all of the subforums.. like say you could type in ocau forums, but also xtremesystems or whatever else
     
  14. grum00

    grum00 Member

    Joined:
    Jul 26, 2001
    Messages:
    2,557
    Location:
    Adelaide
    It should install automatically, but if it doesn't, save it to the hdd and then drag and drop into a firefox window.
     
  15. JakeG

    JakeG Member

    Joined:
    Nov 23, 2005
    Messages:
    284
    Location:
    Perth, Australia
    This isnt a bad idea, i might post one for opera next week (goin to marg river tomorrow :D)

    might even add ocau to the search dropdown. also will post how to fix fast forward so it works properly and goes to next page in thread not the next thread
     
  16. -=N0N@ME420=-

    -=N0N@ME420=- Member

    Joined:
    May 9, 2004
    Messages:
    7,562
    Last edited: Jan 16, 2006
  17. Saiyan_Overlord

    Saiyan_Overlord Member

    Joined:
    Jul 6, 2005
    Messages:
    2,001
    Location:
    Sydney 2074
  18. von Stalhein

    von Stalhein Member

    Joined:
    May 3, 2002
    Messages:
    2,036
    Location:
    Thurgoona NSW
    Nice job 0x48656C6C5F466, it's a really useful addition.

    von Stalhein
     
  19. T-O-D

    T-O-D Member

    Joined:
    Oct 23, 2003
    Messages:
    1,317
    Location:
    Brisvegas!
    THANKYOU!

    mate keep up the good work! thats awesome! :thumbup: :D
     
  20. Smegger

    Smegger Member

    Joined:
    Jul 24, 2001
    Messages:
    2,729
    Location:
    Adelaide, with joy.
    Excellent addition, wouldn't have thunk of it myself :thumbup:
     

Share This Page

Advertisement: