Compare Revisions

Questions and answers from the newsgroups 2006 11 03

Change Revisions

Revision 183687:

Revision 183687 by Calculette on

Revision 183688:

Revision 183688 by Calculette on

Title:
Questions and answers from the newsgroups 2006 11 03
Questions and answers from the newsgroups 2006 11 03
Slug:
Extensions/Questions_and_answers_from_the_newsgroups_2006_11_03
Extensions/Questions_and_answers_from_the_newsgroups_2006_11_03
Content:

Revision 183687
Revision 183688
n13    <h3 name="FAQ">n13    <h3 id="FAQ" name="FAQ">
n20      <h5 name="Is_there_any_way_to_view_Firefox_tab_title.3F">n20      <h5 id="Is_there_any_way_to_view_Firefox_tab_title.3F" name
 >="Is_there_any_way_to_view_Firefox_tab_title.3F">
n40          Tab Preview&nbsp;: http://ted.mielczarek.org/code/moziln40          Tab Preview&nbsp;: <a class=" external" href="http://te
>la/tabpreview/>d.mielczarek.org/code/mozilla/tabpreview/" rel="freelink">http://
 >ted.mielczarek.org/code/mozilla/tabpreview/</a>
41        </dd>
42      </dl>41        </dd>
43    </div>42      </dl>
43    </div>
n45      <h5 name="How_to_get_URL_form_address_bar.2C_redirect_and_un45      <h5 id="How_to_get_URL_form_address_bar.2C_redirect_and_upd
>pdate_list_from_a_central_server.3F">>ate_list_from_a_central_server.3F" name="How_to_get_URL_form_addr
 >ess_bar.2C_redirect_and_update_list_from_a_central_server.3F">
n59   document.location = "http://my.new.location.com";n59   document.location = "<a class=" external" href="http://my.new.
 >location.com" rel="freelink">http://my.new.location.com</a>";
n72      <h5 name="How_to_screen_grab_use_the_command_line.3F">n72      <h5 id="How_to_screen_grab_use_the_command_line.3F" name="H
 >ow_to_screen_grab_use_the_command_line.3F">
n86        http://kb.mozillazine.org/Dev_:_Extending_the_Chrome_Protn86        <a class=" external" href="http://kb.mozillazine.org/Dev_
>ocol>:_Extending_the_Chrome_Protocol" rel="freelink">http://kb.mozilla
 >zine.org/Dev_:_Exte...hrome_Protocol</a>
n90          If Components.classes{{mediawiki.external('\"@your.namen90          If Components.classes{{ mediawiki.external('\"@your.nam
>/yourcontractid\"')}} returns null, your component wasn't registe>e/yourcontractid\"') }} returns null, your component wasn't regis
>red. I don't think we have troubleshooting guide for XPCOM compon>tered. I don't think we have troubleshooting guide for XPCOM comp
>ents registration, but you should at least check that you put the>onents registration, but you should at least check that you put t
> component's JS file in your extension's components/folder, that >he component's JS file in your extension's components/folder, tha
>it has a proper XPCOM registration code (copy it from http://foru>t it has a proper XPCOM registration code (copy it from <a class=
>ms.mozillazine.org/viewtopic.php?p=1694347&amp;sid=518e2773c6c...>" external" href="http://forums.mozillazine.org/viewtopic.php?p=1
> if you don't understand it), and that there are no errors in the>694347&amp;sid=518e2773c6c" rel="freelink">http://forums.mozillaz
> error console.>ine.org/viewto...id=518e2773c6c</a>... if you don't understand it
 >), and that there are no errors in the error console.
91        </dd>
92      </dl>
93      <dl>
94        <dd>91        </dd>
92      </dl>
93      <dl>
94        <dd>
95          An extension is a bundle, which can provide various thi95          An extension is a bundle, which can provide various thi
>ngs, including chrome packages and components: http://developer.m>ngs, including chrome packages and components: <a class=" externa
>ozilla.org/en/docs/Bundles>l" href="http://developer.mozilla.org/en/docs/Bundles" rel="freel
 >ink">http://developer.mozilla.org/en/docs/Bundles</a>
n105      <h5 name="Would_it_be_possible_to_intercept_the_socket_evenn105      <h5 id="Would_it_be_possible_to_intercept_the_socket_event_
>t_and_set_the_socket_to_be_SSL_enabled_so_that_FF_can_communicate>and_set_the_socket_to_be_SSL_enabled_so_that_FF_can_communicate_w
>_with_an_SSL_speaking_proxy.3F">>ith_an_SSL_speaking_proxy.3F" name="Would_it_be_possible_to_inter
 >cept_the_socket_event_and_set_the_socket_to_be_SSL_enabled_so_tha
 >t_FF_can_communicate_with_an_SSL_speaking_proxy.3F">
n120      <h5 name="How_to_create_an_overlay_of_msgHeaderOverlay.xul_n120      <h5 id="How_to_create_an_overlay_of_msgHeaderOverlay.xul_wh
>which_removes_the_current_collaspedHeaderView_element_and_adds_a_>ich_removes_the_current_collaspedHeaderView_element_and_adds_a_ne
>new_one.3F">>w_one.3F" name="How_to_create_an_overlay_of_msgHeaderOverlay.xul_
 >which_removes_the_current_collaspedHeaderView_element_and_adds_a_
 >new_one.3F">
n125          use the DOM API to remove elements. http://developer.mon125          use the DOM API to remove elements. <a class=" external
>zilla.org/en/docs/DOM:element.removeChild>" href="http://developer.mozilla.org/en/docs/DOM:element.removeCh
 >ild" rel="freelink">http://developer.mozilla.org/en/docs...nt.rem
 >oveChild</a>
126        </dd>
127      </dl>126        </dd>
128    </div>127      </dl>
128    </div>
n130      <h5 name="How_to_execute_the_command_line_example_from_mozin130      <h5 id="How_to_execute_the_command_line_example_from_mozill
>lla_site.3F">>a_site.3F" name="How_to_execute_the_command_line_example_from_moz
 >illa_site.3F">
n145      <h5 name="Why_extensions_setup_has_all_locales_available_fon145      <h5 id="Why_extensions_setup_has_all_locales_available_for_
>r_them.3F">>them.3F" name="Why_extensions_setup_has_all_locales_available_for
 >_them.3F">
n155      <h5 name="Could_someone_update_the_Session_Manager_extension155      <h5 id="Could_someone_update_the_Session_Manager_extension_
>n_for_Firefox_2.3F">>for_Firefox_2.3F" name="Could_someone_update_the_Session_Manager_
 >extension_for_Firefox_2.3F">
n185      <h5 name="How_to_create_a_web_installable_firefox_extensionn185      <h5 id="How_to_create_a_web_installable_firefox_extension.3
>.3F">>F" name="How_to_create_a_web_installable_firefox_extension.3F">
n195      <h5 name="How_to_add_two_buttons_to_tabs-bar.2C_or_to_button195      <h5 id="How_to_add_two_buttons_to_tabs-bar.2C_or_to_buttons
>ns-bar_to_use_as_bookmarks_button.3F">>-bar_to_use_as_bookmarks_button.3F" name="How_to_add_two_buttons_
 >to_tabs-bar.2C_or_to_buttons-bar_to_use_as_bookmarks_button.3F">
n200          Install PrefBar from &lt;http://prefbar.mozdev.org/&gt;n200          Install PrefBar from &lt;<a class=" external" href="htt
>. Create a new PrefBar button named Bkmarks. In the onClick windo>p://prefbar.mozdev.org/" rel="freelink">http://prefbar.mozdev.org
>w, enter BrowserEditBookmarks(); Enable the button.>/</a>&gt;. Create a new PrefBar button named Bkmarks. In the onCl
 >ick window, enter BrowserEditBookmarks(); Enable the button.
n210          If you merely want to see your bookmarks, do what I (ann210          If you merely want to see your bookmarks, do what I (an
>d many others) do: Make your bookmarks.html file your home page. >d many others) do: Make your bookmarks.html file your home page. 
>On the menu bar, select {{mediawiki.external('Edit &gt; Preferenc>On the menu bar, select {{ mediawiki.external('Edit &gt; Preferen
>es')}}. Under Category on the Preferences window, select Navigato>ces') }}. Under Category on the Preferences window, select Naviga
>r. On the Navigator pane, under Home Page, select the Choose File>tor. On the Navigator pane, under Home Page, select the Choose Fi
> button. On the Choose Home Page window, navigate to your profile>le button. On the Choose Home Page window, navigate to your profi
> and select bookmarks.html. Then, every time you select Home, you>le and select bookmarks.html. Then, every time you select Home, y
> will get your bookmarks displayed as a Web page.>ou will get your bookmarks displayed as a Web page.
211        </dd>
212      </dl>211        </dd>
213    </div>212      </dl>
213    </div>
n215      <h5 name="How_to_using_the_.22wrappedJSObject.22_in_an_XPCOn215      <h5 id="How_to_using_the_.22wrappedJSObject.22_in_an_XPCOM_
>M_component.3F">>component.3F" name="How_to_using_the_.22wrappedJSObject.22_in_an_
 >XPCOM_component.3F">
n225          http://developer.mozilla.org/en/docs/How_to_Build_an_XPn225          <a class=" external" href="http://developer.mozilla.org
>COM_Component_...>/en/docs/How_to_Build_an_XPCOM_Component_" rel="freelink">http://
 >developer.mozilla.org/en/docs...COM_Component_</a>...
n238          Extension developer's best friend Ted Mielczarek is worn238          Extension developer's best friend Ted Mielczarek is wor
>king on a component wizard. Dev version is here: http://mavra.per>king on a component wizard. Dev version is here: <a class=" exter
>ilith.com/~luser/jscomponentwiz/ The "Create as a service" checkb>nal" href="http://mavra.perilith.com/~luser/jscomponentwiz/" rel=
>ox doesn't work currently, but otherwise it's a very nice tool.>"freelink">http://mavra.perilith.com/~luser/jscomponentwiz/</a> T
 >he "Create as a service" checkbox doesn't work currently, but oth
 >erwise it's a very nice tool.
239        </dd>
240      </dl>239        </dd>
241    </div>240      </dl>
241    </div>
n243      <h5 name="Is_there_is_way_to_detect_if_a_fellow_extension_in243      <h5 id="Is_there_is_way_to_detect_if_a_fellow_extension_is_
>s_currently_installed_and_enabled.3F">>currently_installed_and_enabled.3F" name="Is_there_is_way_to_dete
 >ct_if_a_fellow_extension_is_currently_installed_and_enabled.3F">
n261    <h3 name="UAQ">n261    <h3 id="UAQ" name="UAQ">
n268      <h5 name="Is_there_any_way_to_forcing_nsWebBrowserPersist_sn268      <h5 id="Is_there_any_way_to_forcing_nsWebBrowserPersist_ser
>ervice_to_finish_its_job.3F">>vice_to_finish_its_job.3F" name="Is_there_any_way_to_forcing_nsWe
 >bBrowserPersist_service_to_finish_its_job.3F">
n273      <h5 name="How_to_post_data_using_nsIWebNavigation.loadURI.3n273      <h5 id="How_to_post_data_using_nsIWebNavigation.loadURI.3F"
>F">> name="How_to_post_data_using_nsIWebNavigation.loadURI.3F">
n286  during the browser initialisation lets run : browser.setUrl("htn286  during the browser initialisation lets run : browser.setUrl("<a
>tp://www.google.fr");> class=" external" href="http://www.google.fr" rel="freelink">htt
 >p://www.google.fr</a>");
n297  //When calling posting data using nsIWebNavigation.loadURI, youn297  //When calling nsIWebNavigation.loadURI, you can call a javascr
> can call a javascript script>ipt script
n312        <h5 name="How_to_expose_a_JS_constructor_with_.28non-consn312        <h5 id="How_to_expose_a_JS_constructor_with_.28non-const.
>t.29_properties_to_content.3F">>29_properties_to_content.3F" name="How_to_expose_a_JS_constructor
 >_with_.28non-const.29_properties_to_content.3F">
n317        <h5 name="How_to_write_a_.aff_file.3F">n317        <h5 id="How_to_write_a_.aff_file.3F" name="How_to_write_a
 >_.aff_file.3F">
n322        <h5 name="Could_anyone_tell_me_how_to_add_a_button_that_on322        <h5 id="Could_anyone_tell_me_how_to_add_a_button_that_ope
>pens_up_the_default_mail_program.3F">>ns_up_the_default_mail_program.3F" name="Could_anyone_tell_me_how
 >_to_add_a_button_that_opens_up_the_default_mail_program.3F">
n327        <h5 name="How_to_write_T-bird_popup_mail_notification_extn327        <h5 id="How_to_write_T-bird_popup_mail_notification_exten
>ension.3F">>sion.3F" name="How_to_write_T-bird_popup_mail_notification_extens
 >ion.3F">
t332        <h5 name="How_to_make_the_browser_use_the_newly_created_st332        <h5 id="How_to_make_the_browser_use_the_newly_created_str
>treamconverter_instead_of_the_default_one.3F">>eamconverter_instead_of_the_default_one.3F" name="How_to_make_the
 >_browser_use_the_newly_created_streamconverter_instead_of_the_def
 >ault_one.3F">

Back to History