Difference between revisions of "Mozilla.dev.extensions"

From CDOT Wiki
Jump to: navigation, search
(FAQ)
(FAQ)
 
(27 intermediate revisions by 2 users not shown)
Line 3: Line 3:
 
== Newsgroup ==
 
== Newsgroup ==
  
[http://groups.google.com/group/mozilla.dev.extensions  mozilla.dev.extensions]
+
[http://groups.google.com/group/mozilla.dev.extensions Mozilla.dev.extensions]
 +
 
 +
[http://developer.mozilla.org/en/docs/Newsgroup_summaries:mozilla-dev-extensions  mozilla.dev.extensions on MDC]
  
 
== Authors ==
 
== Authors ==
Line 15: Line 17:
  
 
# [[Summary: mozilla.dev.extensions - September 22 - 29, 2006|Friday, September 22 - 29, 2006]]
 
# [[Summary: mozilla.dev.extensions - September 22 - 29, 2006|Friday, September 22 - 29, 2006]]
# [[Summary: mozilla.dev.extensions - September 29 - October 06, 2006|Friday, September 29 - October 6, 2006]]
+
# [[Summary: mozilla.dev.extensions - September 29 - October 06, 2006|Friday, September 29 - October 06, 2006]]
# [[Summary: mozilla.dev.extensions - October 06 - 13, 2006|Friday, October 06, 2006]]
+
# [[Summary: mozilla.dev.extensions - October 06 - 13, 2006|Friday, October 06 - 13, 2006]]
# [[Summary: mozilla.dev.extensions - October 13 - 20, 2006|Friday, October 13, 2006]]
+
# [[Summary: mozilla.dev.extensions - October 13 - 20, 2006|Friday, October 13 - 20, 2006]]
# [[Summary: mozilla.dev.extensions - October 20 - 27, 2006|Friday, October 20, 2006]]
+
# [[Summary: mozilla.dev.extensions - October 20 - 27, 2006|Friday, October 20 - 27, 2006]]
# [[Summary: mozilla.dev.extensions - October 27 - November 03, 2006|Friday, October 27, 2006]]
+
# [[Summary: mozilla.dev.extensions - October 27 - November 03, 2006|Friday, October 27 - November 03, 2006]]
# [[Summary: mozilla.dev.extensions - November 03 - 10, 2006|Friday, November 03, 2006]]
+
# [[Summary: mozilla.dev.extensions - November 03 - 10, 2006|Friday, November 03 - 10, 2006]]
# [[Summary: mozilla.dev.extensions - November 10 - 17, 2006|Friday, November 10, 2006]]
+
# [[Summary: mozilla.dev.extensions - November 10 - 17, 2006|Friday, November 10 - 17, 2006]]
# [[Summary: mozilla.dev.extensions - November 17 - 24, 2006|Friday, November 17, 2006]]
+
# [[Summary: mozilla.dev.extensions - November 17 - 24, 2006|Friday, November 17 - 24, 2006]]
# [[Summary: mozilla.dev.extensions - November 24 - December 01, 2006|Friday, November 24, 2006]]
+
# [[Summary: mozilla.dev.extensions - November 24 - December 01, 2006|Friday, November 24 - December 01, 2006]]
  
 
== FAQ ==
 
== FAQ ==
  
1. How do I create my summary page?
+
*[http://developer.mozilla.org/en/docs/Extensions:Questions_and_answers_from_the_newsgroups_2006_09_29 Friday, September 22 - 29, 2006]
 
 
Like this!
 
 
 
2. Should I put the FAQ questions/answers in the summaries?
 
 
 
No.  Put them in a single place (here), instead of in the summaries.
 
 
 
===Friday, September 22 - 29, 2006===
 
 
 
* [http://groups.google.com/group/mozilla.dev.extensions/browse_thread/thread/f26f8eebd8bfb60d/53b81169c756eeb2#53b81169c756eeb2 Does Firefox support calling COM objects?]
 
** How to write an XPCOM component in C++ that can communicate to a COM component.
 
 
 
* [http://groups.google.com/group/mozilla.dev.extensions/browse_thread/thread/afe8158e59686900 Observer don't get preferences change after extension upgrade]
 
** Asking why extension preferences do not get changed until after it's upgrade.
 
 
 
* [http://groups.google.com/group/mozilla.dev.extensions/browse_thread/thread/0f66fcf0664c80c9 toolbarbutton coexisting in toolbarpalette and statusbar]
 
** Discussing methods of having a customizable toolbar button to coexist in a toolbar palette and status bar.
 
 
 
* [http://groups.google.com/group/mozilla.dev.extensions/browse_thread/thread/a577f169c04ee1c3 Header display when replying and forwarding]
 
** Asking if there is a way of changing the Thunderbird displays headers when replying and forwarding.
 
 
* [http://groups.google.com/group/mozilla.dev.extensions/browse_thread/thread/a870f7b6cc2e69e5 some rss feeds don't show up as Livemarks when bookmarked...]
 
** Enquiring why there are some rss feeds that do not appear as livemarks when bookmarked even though the necessary tags for the feed to appear as a livemark are seemingly present and properly formatted in the feeds source.
 
 
 
* [http://groups.google.com/group/mozilla.dev.extensions/browse_thread/thread/e0027bd8b730a32e Places queries]
 
** Asking for help in knowing the data that is typed into text boxes.
 
 
 
* [http://groups.google.com/group/mozilla.dev.extensions/browse_thread/thread/6bc16685f1444c22 WM_COPY trouble]
 
** Asking for help with getting an extension to process Windows messages.
 
 
 
* [http://groups.google.com/group/mozilla.dev.extensions/browse_thread/thread/66dcbff6b8c299b0 Replace HTML]
 
** Discussing the deasibility of creating an extension that can replace HTML code on a specific page that does not use Greasemonkey.
 
 
 
* [http://groups.google.com/group/mozilla.dev.extensions/browse_thread/thread/bc66e42472949b9d XUL Image]
 
** Discussing the feasibility of placing an image in a window that can be moved around anywhere within the window and will always remain on top.
 
 
 
* [http://groups.google.com/group/mozilla.dev.extensions/browse_thread/thread/0f5845e2bf564748 Sample dynamic menu creation, similar to Firefox Bookmarks drop down]
 
** Discussing how to create a dynamic drop down menu that may have submenus using JavaScript for an extension.
 
 
 
* [http://groups.google.com/group/mozilla.dev.extensions/browse_thread/thread/3fd0417291253302 Tracert extension feasible?]
 
** Asking about the feasibility of making an extension that has the same functionality as “trace route”.
 
 
 
* [http://groups.google.com/group/mozilla.dev.extensions/browse_thread/thread/ef9709352421fd67 Thunderbird extension request - easy email within a default domain]
 
** Request for a Thunderbird extension that can automatically detect the default domain when composing e-mails via autodetect.
 
 
 
* [http://groups.google.com/group/mozilla.dev.extensions/browse_thread/thread/6f8064a85182b2c0 How to access the toolbar elements in extension?]
 
** How to get the value of a text box when a button is clicked.
 
 
 
===Friday, September 29 - October 6, 2006===
 
 
 
UAQ: UnAnswered Questions
 
 
 
*[http://groups.google.com/group/mozilla.dev.extensions/browse_thread/thread/8aa2ea164357715c/d79563b5748d8e25#d79563b5748d8e25 How to extract information from a mail]
 
 
 
Question:
 
How can we programmatically extract the subject, sender, date and the body of an e- mail when you are reading one (in Thunderbird presumably)?
 
 
 
-----
 
[http://groups.google.com/group/mozilla.dev.extensions/browse_thread/thread/4f08c11785f66b23/38309fe8c7fa8508#38309fe8c7fa8508 Could someone make an adressbook enchancer extension.]
 
 
 
Question:
 
Could someone make an addressbook enhancer extension that has the ability to put pictures on a contact and other features the Thunderbird address book lacks.
 
 
 
Answer.
 
None. The question is not specific enough, is too open ended and ambiguous.
 
 
 
-----
 
Saving a whole news thread
 
[http://groups.google.com/group/mozilla.dev.extensions/browse_thread/thread/51f11a3e51adcc43/a96230c22e062a26#a96230c22e062a26 Saving a whole news thread]
 
 
 
Question:
 
Is there a way to save a whole news thread in Thunderbird?
 
 
 
Answer:
 
None this week.
 
 
 
-----
 
[http://groups.google.com/group/mozilla.dev.extensions/browse_thread/thread/8794b030be977108/f5fa9ec51dbb6675#f5fa9ec51dbb6675 nsiTimer platform differences]
 
 
 
Question:
 
We're seeing a timing issue when using nsITimer on MSWindows that does not occur on GNU/Linux.
 
 
 
A javascript XPCOM component sets a TYPE_ONE_SHOT  timer to go off in one hour.  The timer does not go off until significantly (more than 2X) after that. Anyone else seems different nsITimer behavior on Windows or have any sort of explanation about whether this is a problem with the win32 timer implementation, or whether there is some workaround?
 
 
 
Answer:
 
No answer this week.
 
 
 
FAQ: Frequently Asked Questions
 
 
 
[http://groups.google.com/group/mozilla.dev.extensions/browse_thread/thread/04733b78731e2c10/cf6ac1c6e12aefdb#cf6ac1c6e12aefdb Plugin or Extension? Need to launch Windows Explorer instance from a URL ]
 
 
 
Question:
 
In IE, when I enter a URL that starts with "file://" in the address bar, an instance of the windows explorer will be launched and display the directory in the URL. However, in Firefox, a custom directory listing will be displayed instead of Windows Explorer. Is there anyway, via plugin or extension, for Firefox to mimic the functionality of IE in this respect?
 
 
 
Answer:
 
The IETab (Opens IE in a Firefox tab) should be able do this if you set it to always open "file://*" URLs in an IE tab.
 
 
 
The appearance with a FireFox tab isn't quite the same as having a completely separate Explorer window. However, it's functional and does allow for the Explorer to be handling the display of the folder contents, and all of the right-click context menu support is present so it should meet my needs.
 
 
 
-----
 
 
 
[http://groups.google.com/group/mozilla.dev.extensions/browse_thread/thread/73aad5d9c05dbd57/050f25e0f248ef70#050f25e0f248ef70 packaging to release on Mozilla extensions site]
 
 
 
Question:
 
Hi, I am planning to release our extension on the mozilla extensions site. When I tried uploading it, it said that
 
update.rdf contains invalid location. What is the valid one and
 
what other things do I need to change to make it work on Mozilla site?
 
 
 
Answer:
 
You must remove updateURL from the install.rdf and use a known to AMO minVersion/maxVersion. It's mentioned in their FAQ I believe.
 
No confirmation that the answer given worked yet.
 
 
 
-----
 
 
 
[http://groups.google.com/group/mozilla.dev.extensions/browse_thread/thread/03d68e1118b5e104/e4520c86d6c40883#e4520c86d6c40883 Open a URL in new tab]
 
 
 
Question:
 
The Function "LoadURL" loads a URL in the Browser window:
 
 
 
function LoadURL(URL)
 
{
 
    window._content.document.location = URL;
 
    window.content.focus();
 
}
 
 
 
Is it possible to open the URL in a new tab?
 
 
 
Answer:
 
 
 
var tab = getBrowser().addTab( url );
 
 
 
// And if you want it to load in foreground:
 
getBrowser().selectedTab = tab;
 
 
 
-----
 
 
 
[http://groups.google.com/group/mozilla.dev.extensions/browse_thread/thread/9fb5874527d20d1e/3c6fc0cf232565ca#3c6fc0cf232565ca Is it possible to read the html-code of the current URL/site?]
 
 
 
Question:
 
Is it possible to read the html-code of the current URL/site?
 
 
 
Answer:
 
Yes, this is possible. Use the DOM API (http://www.w3schools.com/dom/default.asp has a good tutorial).
 
 
 
Not the best answer but a good starting point for the question asker to do some research towards the answer.
 
 
 
-----
 
 
 
[http://groups.google.com/group/mozilla.dev.extensions/browse_thread/thread/7d783a19de179da7/f045283af337c8fc#f045283af337c8fc Thunderbird segfault after extension reads preferences.]
 
 
 
Question:
 
Asking why after his extension reads preferences, it is not able to show the contents of a folder and then segmentation fault occurs
 
 
 
Answer:
 
missing getService
 
  
 +
*[http://developer.mozilla.org/en/docs/Extensions:Questions_and_answers_from_the_newsgroups_2006_10_06 Friday, September 29 - October 06, 2006]
  
-----
+
*[http://developer.mozilla.org/en/docs/Extensions:Questions_and_answers_from_the_newsgroups_2006_10_13 Friday, October 06 - 13, 2006]
  
[http://groups.google.com/group/mozilla.dev.extensions/browse_thread/thread/3be5b3b05d002daa/a4f4d6baaa8a663e#a4f4d6baaa8a663e Any Data Encryption Libraries?]
+
*[http://developer.mozilla.org/en/docs/Extensions:Questions_and_answers_from_the_newsgroups_2006_10_20 Friday, October 13 - 20, 2006]
  
 +
*[http://developer.mozilla.org/en/docs/Extensions:Questions_and_answers_from_the_newsgroups_2006_10_27 Friday, October 20 - 27, 2006]
  
Question:
+
*[http://developer.mozilla.org/en/docs/Extensions:Questions_and_answers_from_the_newsgroups_2006_11_03 Friday, October 27 - November 03, 2006]
Are there any built in libraries that can be used to encrypt data?
 
  
Answer:
+
*[http://developer.mozilla.org/en/docs/Extensions:Questions_and_answers_from_the_newsgroups_2006_11_10 Friday, November 03 - 10, 2006]
Yes.  
 
  
1. You can use nsISecretDecoderRing.encryptString() and nsISecretDecoderRing.decryptString(). However, I'm not sure how/if that works if the user hasn't defined a master password in Options->Security->Use a master password.
+
*[http://developer.mozilla.org/en/docs/Extensions:Questions_and_answers_from_the_newsgroups_2006_11_17 Friday, November 10 - 17, 2006]
  
2. You can AES-128 or AES-256 symmetric encryption via aes.js (http://tinyurl.com/pp79t).
+
*[http://developer.mozilla.org/en/docs/Extensions:Questions_and_answers_from_the_newsgroups_2006_11_24 Friday, November 17 - 24, 2006]
  
No confirmation from the question asker on whether this answer was helpful in solving their problem.
+
*[http://developer.mozilla.org/en/docs/Extensions:Questions_and_answers_from_the_newsgroups_2006_12_01 Friday, November 24 - December 01, 2006]

Latest revision as of 21:59, 23 November 2006