Mozilla.com

  1. MDC
  2. Main Page
  3. Extensions
  4. Questions and answers from the newsgroups 2006 10 06
Redirected from En/Extensions:Questions and answers from the newsgroups 2006 10 06

Questions and answers from the newsgroups 2006 10 06

Return to mozilla-dev-extensions


Friday, September 29 - October 6, 2006

(↑ top)

Is there anyway, via plug in or extension, for Firefox to mimic the functionality of IE in this respect?
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.
What is the valid location and things needed to to release a Mozilla extension on Mozallia site?
You must remove update URL from the install.rdf and use a known to AMO minVersion/maxVersion.
No confirmation that the answer given worked yet.
Is it possible to open the URL in a new tab?
var tab = getBrowser().addTab( url );
// And if you want it to load in foreground:
getBrowser().selectedTab = tab;
Is it possible to read the html-code of the current URL/site?
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.
Why does his extension not able to read the contents of a folder and then produce a segmentation fault after his extension reads preferences in Thunderbird? [1]
The person was missing a method call to getService.
Are there any built in libraries that can be used to encrypt data? [2]
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.
  2. You can AES-128 or AES-256 symmetric encryption via aes.js (http://tinyurl.com/pp79t).
No confirmation from the question asker on whether this answer was helpful in solving their problem.

Page last modified 05:15, 28 Oct 2006 by Mckwan?

Tags:

Files (0)