ArticleDirectory
2.1 extensions)
2.2 chrome
2.3 xulrunner
2.4 XPCOM
2.5 XP install
3.1 Firefox extension Structure
3.2 extended Installation Process
3.3 Analysis of the XP install Module
3.4 analysis of the rdf Module
3.5 extended Startup Process
4.1 difficulties in Analysis
4.2 analysis gains
I am too lazy to organize the following figure. Upload a PDF file dir
project is compiled. h and. xpt File
Compile the project and generate the. dll file and. xpt file. Now let's take a look at how to use this component.
Test Components
The testing component method introduced in this article is too simple to understand. After continuous research, I provide the following two methods:
Method 1: Call through web pages
1. Place the DLL and xpt files in the components directory of Firefox. In Windows, the path is C
Recently installed eclipse through the emerge, the result of the libjpeg.so also as a dependency update, and then opened Firefox, Half-day no response, open in the shell, prompted couldn ' d load XPCOM. I tried another program, Konqueror, SeaMonkey, Galeon, Epiphany, Thunderbird, Webhttrack can not open, Konqueror Okay, there are hints, Say that can't find libjpeg.so.62, is this the reason.
Then enter at t
Recently, eclipse was installed through emerge, and libjpeg. So was also updated as a dependency. Later, Firefox was opened, but it did not respond for a long time. In shell, the prompt "Couldn 'd load XPCOM" was displayed. I tried something else.ProgramKonqueror, SeaMonkey, galeon, epiphany, Thunderbird, and webhttrack cannot be opened. Konqueror is okay. I have a prompt saying that libjpeg. so.62 cannot b
XP com can be regarded as an open-source version of Microsoft COM, but the current application scope is limited, mainly because the gecko engine of Firefox is in use.
XPCOM is not a browser plug-in, but a browser itself. Firefox is composed of a bunch of XPCOM components. In Firef
Xp com can be regarded as an open-source version of Microsoft COM, but the current application scope is limited, mainly because the gecko engine of firefox is in use.
Xpcom is not a browser plug-in, but a browser itself. Firefox is composed of a bunch of xpcom components. In Firef
Some Supplement and description of component development technology under XPCOM--LINUXOriginal article from: World Business comments icxo. com (date)--------------------------------------------------------------------------------Boise bjgxjob@163.com--------------------------------------------------------------------------------As a component technology implemented by Microsoft, COM technology plays an important role in the Windows platform station an
/mozilla-1.8b1/components"Notice:1. If the path already des blackspaces, the doubleQuotation (") must be used.2. When you meet the trouble withFollowing errors, please use xpidl.exe to regenerate '*. H' and' *. xpt 'inYour environment. As you know, some samples utilize the new/old version to doThat, and will not wholly match your configuration for ever."Can not initialize XPCOM glue""Can not aquire componentRegistrar""Registration failed:(C1f30001) fi
1. First install the gecko SDK and decompress it to the local directory such as/home/user/SDK/gecko-SDK/2. Create guid uuidgen for the main interface class2. Compile the interface file ***. IDL3. generate ***. H and ***. xpt file (xpidl-M Header/typelib-w-O/output path/output file name-I/Gecko/IDL path to be compiled ***. IDL file)4. modify the header file of the generated component ***. h. Add the Macro Protection Code (# ifndef _ my_mycomponent_h _...) at the beginning _...), generate a guid f
1. JavaScript Component(1) Add a customcomponent.manifestinch customcomponent.jscomponent {e6b866e3-41b2-4f05-a4d2-3d4bde0f7ef8} components/ Customcomponent.jscontract @foobar/customcomponent;1 {e6b866e3-41b2-4f05-a4d2-3d4bde0f7ef8}category Profile-after-change customcomponent @foobar/customcomponent;1(2) Export a nsgetfactory () functionComponents.utils.import ("RESOURCE://GRE/MODULES/XPCOMUTILS.JSM");functioncustomcomponent () {}customcomponent.prototype= { //This must match whatever are in c
Author: BuilderPM
WithFirefoxMarket Share continues to rise, cross-platform Component Object Model (Cross Platform Component Object Model) Is also developing rapidly. Here we will give an example to illustrate how to use this object model.The Mozilla Browser is opening a world that uses cross-platform Component Object Model (XPCOM. The Mozilla Browser also introduces the xpconnect technology, which allows components to be executed in the brow
I. Basic CONCEPTS
Xpcom is a cross-platform component model, all of which is called Cross Platform Component Object Module. Xpcom implements a framework (framework) that allows developers to break a single, monolithic software project and break down into smaller modular fragments (pieces), which are also components (components). Xpcom component development
For a long time ago, share the document. However, gecko2.0 is now available, so some details may change. Currently, gecko2.0 has not been studied. To be continued.
Objective: To understand the idea of JS implementing XPCOM.The JS-implemented XPCOM and xpt must be placed in a folder, that is, the components folder.(Similarly, the C ++-implemented XPCOM (DLL file) must be placed in the same folder as xpt, whi
://sourceforge.net/projects/htmlvalidator/files/
Below are the steps to compile HTML validator on 32-bit Ubuntu 9.10 Linux: 1、download htmlvalidator-0.8.5.820.svn65.tar.bz2, decompress, locate/home/sink/desktop/htmlvalidator-0.8.5.8 in the command line
Enter./configure
Error, prompt:
Checking for XPCOM... noConfigure: Warning: Libxul not found, trying anotherChecking for XPCOM... noConfigure: Warning
in addition to Firefox, used to display Web pages specific content such as Flash, video and Java.
In fact, what we need to develop is extension.
To develop extension, you can take a few steps:
1. Understand what is extension, the general ready-made extension how to make up? What is the specific function of each file contained inside?
2. Understand the mechanism of Firefox to handle running extension. s
XPCOMAs a component technology implemented by Microsoft, the component development technology COM in Linux plays an important role in the Windows platform and can be seen in module reuse and cross-language communication. But today I want to introduce the com implementation in Linux ---- XPCOM, which is the basic technology used in the Mozilla Browser project. We can use C ++ to create the XPCOM component, i
ArticleDirectory
The themes
Interface skin
Options dialog (option window)
Add-ons Management)
Bookmarks Management)
Download Manager)
Password Management)
InFirefox3ProvideDownloadLet's review the daysFirefox historyFrom firefox1 to firefox3ScreenshotsTo see the evolution of Firefox ......
Mammon slept. and the beast reborn spread over the earth and its numbers grew legion. and they proclaimed the times and sacrifle
Firefox cannot be fixed to the starter when the Firefox browser is installed on Ubuntu. the Firefox icon displays an abnormal folder, right-click the folder, and the rename option is changed to Gray.
Http://blog.csdn.net/pipisorry/article/details/39483361
Ubuntu comes with firefox, but it is not easy to use, and the v
Currently, the firefox4.0beta version is popular and is widely used. However, some people install firefox4.0beta and 3.6 simultaneously, causing a mix of Firefox configuration documents, causing Firefox to crash. Firefox supports multiple configuration files. You only need to add-P to the startup parameter. (ArticleFor more information about how to add startup p
1.firefox cannot support innertext.Firefox supports innerHTML but does not support innertext, it supports textcontent to implement innertext, but it also retains the extra space by default. If you do not need to textcontent, if the string contains no HTML code can also be replaced with innerHTML.2. Prohibit the selection of Web content:In IE, generally with js:obj.onselectstart=function () {return false;}and Firef
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.