mozilla
Your Search Results

    Questions and answers from the newsgroups 2006 09 29

    Return to mozilla-dev-extensions


    Friday, September 22 - 29, 2006

    (↑ top)

    How do you write an XPCOM component in C++ that can communicate to a COM component?
    Write an XPCOM component in C++ - it will talk to the COM component and will be accessible to JS code via XPConnect. There is a book, Creating XPCOM Components, available online, as well as quite a few articles on the topic, including Creating a C++ XPCOM componentand Creating Custom Firefox Extensions with the Mozilla Build System
    How to customizes toolbar button to coexist in a toolbar palette and status bar?
    Option #3
    Install Status Buttons 1.0
    <https://addons.mozilla.org/firefox/1272/>
    "Lets you put toolbar buttons at either end of the status-bar. Just drag them there from the toolbar customisation window, like you would when adding buttons to the toolbars."
    Option #4
    Install Toolbar Control
    <http://webdesigns.ms11.net/chromeditp.html>
    How to creating an extension that can replace HTML code on a specific page that does not use Greasemonkey?
    var newNode = document.createElement(" ... html content here ... ");
    var replaceMe = document.getElementById("replaceMe");
    replaceMe.parentNode.replaceChild(newNode, replaceMe);
    Is it possible to place an image in the window that can be moved to anywhere in the window, and always remain on top of everything else?(similar to using position:absolute and-index:100000 in HTML)
    you can almost do this with a stack:
    <window ...>
        <stack flex="1">
           <image top="40" left="80"/>
           <vbox>
              other content here
           </vbox>
        </stack>
    </window>
    
    The only restriction is that your image can't overlap the right or bottom of the window. There are workarounds to this restriction by messing around with overflow or negative margins but I forgot offhand how to do that.
    Request for a Thunderbird extension that can automatically detect the default domain when composing e-mails via auto detect.
    <https://bugzilla.mozilla.org/show_bug.cgi?id=312818>
    "Thunderbird requires domain in addresses and doesn't always add default"
    There is an extension that allows what you want attached to one of the comments in this bug.

    UAQ

    Friday, September 22 - 29, 2006

    (↑ top)

    Document Tags and Contributors

    Contributors to this page: Mckwan
    Last updated by: Mckwan,