Bug 318057 r=ben bookmarks.html exporter, modifications to importer

This commit is contained in:
brettw%gmail.com 2006-04-24 16:40:02 +00:00
parent 421b17ab81
commit cf2e0ba420
8 changed files with 750 additions and 53 deletions

View File

@ -243,6 +243,22 @@ var PlacesOrganizer = {
var features = "modal,centerscreen,chrome,resizable=no"; var features = "modal,centerscreen,chrome,resizable=no";
openDialog("chrome://browser/content/migration/migration.xul", openDialog("chrome://browser/content/migration/migration.xul",
"", features, "bookmarks"); "", features, "bookmarks");
},
/**
* Allows simple exporting of bookmarks.
*/
exportBookmarks: function PO_export() {
var fp = Cc["@mozilla.org/filepicker;1"].
createInstance(Ci.nsIFilePicker);
fp.init(window, "", Ci.nsIFilePicker.modeSave);
fp.appendFilters(Ci.nsIFilePicker.filterHTML);
fp.defaultString = "bookmarks.html";
if (fp.show() != Ci.nsIFilePicker.returnCancel) {
var bms = Cc["@mozilla.org/browser/nav-bookmarks-service;1"].
getService(Ci.nsINavBookmarksService);
bms.exportBookmarksHTML(fp.file);
}
} }
}; };

View File

@ -90,7 +90,7 @@
oncommand="PlacesSearchBox.findCurrent();"/> oncommand="PlacesSearchBox.findCurrent();"/>
<command id="placesCmd_export" <command id="placesCmd_export"
label="&cmd.export.label;" accesskey="&cmd.export.accesskey;" label="&cmd.export.label;" accesskey="&cmd.export.accesskey;"
disabled="true"/> oncommand="PlacesOrganizer.exportBookmarks();"/>
<command id="placesCmd_import" <command id="placesCmd_import"
label="&cmd.import.label;" accesskey="&cmd.import.accesskey;" label="&cmd.import.label;" accesskey="&cmd.import.accesskey;"
oncommand="PlacesOrganizer.importBookmarks();"/> oncommand="PlacesOrganizer.importBookmarks();"/>

View File

@ -44,6 +44,7 @@
#include "prtypes.h" #include "prtypes.h"
%} %}
interface nsIFile;
interface nsIURI; interface nsIURI;
interface nsITransaction; interface nsITransaction;
@ -53,7 +54,7 @@ interface nsITransaction;
* Observer for bookmark changes. * Observer for bookmark changes.
*/ */
[scriptable, uuid(b13edc57-b427-4abc-b1e3-dea577489596)] [scriptable, uuid(224f8162-4da8-45eb-8187-a8ba3a3db8e5)]
interface nsINavBookmarkObserver : nsISupports interface nsINavBookmarkObserver : nsISupports
{ {
/** /**
@ -502,5 +503,5 @@ interface nsINavBookmarksService : nsISupports
/** /**
* Saves the current bookmarks hierarchy to a bookmarks.html file. * Saves the current bookmarks hierarchy to a bookmarks.html file.
*/ */
void exportBookmarksHTML(in nsIURI url); void exportBookmarksHTML(in nsIFile file);
}; };

View File

@ -55,9 +55,11 @@
* Bookmark := a * Bookmark := a
* HREF is the destination of the bookmark * HREF is the destination of the bookmark
* FEEDURL is the URI of the RSS feed if this is a livemark. * FEEDURL is the URI of the RSS feed if this is a livemark.
* LAST_CHARSET should be stored as an annotation (FIXME TODO) so that the * LAST_CHARSET should be stored as an annotation (FIXME bug 334408) so that the
* next time we go to that page we remember the user's preference. * next time we go to that page we remember the user's preference.
* ICON will be stored in the favicon service * ICON will be stored in the favicon service
* ICON_URI is new for places bookmarks.html, it refers to the original
* URI of the favicon so we don't have to make up favicon URLs.
* Text of the <a> container is the name of the bookmark * Text of the <a> container is the name of the bookmark
* Ignored: ADD_DATE, LAST_VISIT, LAST_MODIFIED, ID * Ignored: ADD_DATE, LAST_VISIT, LAST_MODIFIED, ID
* Bookmark comment := dd * Bookmark comment := dd
@ -88,21 +90,26 @@
#include "nsBrowserCompsCID.h" #include "nsBrowserCompsCID.h"
#include "nsCOMPtr.h" #include "nsCOMPtr.h"
#include "nsCRT.h"
#include "nsEscape.h"
#include "nsFaviconService.h"
#include "nsIAnnotationService.h" #include "nsIAnnotationService.h"
#include "nsIFile.h" #include "nsIFile.h"
#include "nsIHTMLContentSink.h" #include "nsIHTMLContentSink.h"
#include "nsILivemarkService.h" #include "nsLivemarkService.h"
#include "nsIParser.h" #include "nsIParser.h"
#include "nsIServiceManager.h" #include "nsIServiceManager.h"
#include "nsFaviconService.h"
#include "nsNavBookmarks.h" #include "nsNavBookmarks.h"
#include "nsNavHistory.h" #include "nsNavHistory.h"
#include "nsNavHistoryResult.h"
#include "nsNetUtil.h" #include "nsNetUtil.h"
#include "nsParserCIID.h" #include "nsParserCIID.h"
#include "nsString.h" #include "nsString.h"
#include "nsTArray.h" #include "nsTArray.h"
#include "nsUnicharUtils.h" #include "nsUnicharUtils.h"
#include "mozStorageHelper.h" #include "mozStorageHelper.h"
#include "plbase64.h"
#include "prtime.h"
static NS_DEFINE_CID(kParserCID, NS_PARSER_CID); static NS_DEFINE_CID(kParserCID, NS_PARSER_CID);
@ -113,11 +120,15 @@ static NS_DEFINE_CID(kParserCID, NS_PARSER_CID);
#define KEY_FEEDURL_LOWER "feedurl" #define KEY_FEEDURL_LOWER "feedurl"
#define KEY_LASTCHARSET_LOWER "last_charset" #define KEY_LASTCHARSET_LOWER "last_charset"
#define KEY_ICON_LOWER "icon" #define KEY_ICON_LOWER "icon"
#define KEY_ICON_URI_LOWER "icon_uri"
#define KEY_SHORTCUTURL_LOWER "shortcuturl" #define KEY_SHORTCUTURL_LOWER "shortcuturl"
#define BOOKMARKS_MENU_ICON_URI "chrome://browser/skin/places/bookmarksMenu.png" #define BOOKMARKS_MENU_ICON_URI "chrome://browser/skin/places/bookmarksMenu.png"
#define BOOKMARKS_TOOLBAR_ICON_URI "chrome://browser/skin/places/bookmarksToolbar.png" #define BOOKMARKS_TOOLBAR_ICON_URI "chrome://browser/skin/places/bookmarksToolbar.png"
// define to get debugging messages on console about import
//#define DEBUG_IMPORT
static const char kWhitespace[] = " \r\n\t\b"; static const char kWhitespace[] = " \r\n\t\b";
class BookmarkImportFrame class BookmarkImportFrame
@ -132,6 +143,7 @@ public:
} }
enum ContainerType { Container_Normal, enum ContainerType { Container_Normal,
Container_Places,
Container_Menu, Container_Menu,
Container_Toolbar }; Container_Toolbar };
@ -288,8 +300,18 @@ protected:
nsresult NewFrame(); nsresult NewFrame();
nsresult PopFrame(); nsresult PopFrame();
nsresult SetFaviconForURI(nsIURI* aURI, const nsCString& aData); nsresult SetFaviconForURI(nsIURI* aPageURI, nsIURI* aFaviconURI,
const nsCString& aData);
nsresult SetFaviconForFolder(PRInt64 aFolder, const nsACString& aFavicon); nsresult SetFaviconForFolder(PRInt64 aFolder, const nsACString& aFavicon);
#ifdef DEBUG_IMPORT
// prints spaces for indenting to the current frame depth
void PrintNesting()
{
for (PRUint32 i = 0; i < mFrames.Length(); i ++)
printf(" ");
}
#endif
}; };
@ -349,8 +371,9 @@ BookmarkContentSink::OpenContainer(const nsIParserNode& aNode)
if (frame.mInDescription) { if (frame.mInDescription) {
frame.mPreviousText.Trim(kWhitespace); // important! frame.mPreviousText.Trim(kWhitespace); // important!
if (! frame.mPreviousText.IsEmpty()) { if (! frame.mPreviousText.IsEmpty()) {
// FIXME: This description should be stored as an annotation on the URL // FIXME bug 334758: This description should be stored as an annotation
// or folder. We should probably not overwrite existing annotations. // on the URL or folder. We should probably not overwrite existing
// annotations.
frame.mPreviousText.Truncate(0); frame.mPreviousText.Truncate(0);
} }
frame.mInDescription = PR_FALSE; frame.mInDescription = PR_FALSE;
@ -552,6 +575,9 @@ BookmarkContentSink::HandleHeadBegin(const nsIParserNode& node)
} else if (node.GetKeyAt(i).LowerCaseEqualsLiteral(KEY_BOOKMARKSMENU_LOWER)) { } else if (node.GetKeyAt(i).LowerCaseEqualsLiteral(KEY_BOOKMARKSMENU_LOWER)) {
frame.mLastContainerType = BookmarkImportFrame::Container_Menu; frame.mLastContainerType = BookmarkImportFrame::Container_Menu;
break; break;
} else if (node.GetKeyAt(i).LowerCaseEqualsLiteral(KEY_PLACESROOT_LOWER)) {
frame.mLastContainerType = BookmarkImportFrame::Container_Places;
break;
} }
} }
} }
@ -593,6 +619,7 @@ BookmarkContentSink::HandleLinkBegin(const nsIParserNode& node)
nsAutoString href; nsAutoString href;
nsAutoString feedUrl; nsAutoString feedUrl;
nsAutoString icon; nsAutoString icon;
nsAutoString iconUri;
nsAutoString lastCharset; nsAutoString lastCharset;
nsAutoString keyword; nsAutoString keyword;
PRInt32 attrCount = node.GetAttributeCount(); PRInt32 attrCount = node.GetAttributeCount();
@ -604,6 +631,8 @@ BookmarkContentSink::HandleLinkBegin(const nsIParserNode& node)
feedUrl = node.GetValueAt(i); feedUrl = node.GetValueAt(i);
} else if (key.LowerCaseEqualsLiteral(KEY_ICON_LOWER)) { } else if (key.LowerCaseEqualsLiteral(KEY_ICON_LOWER)) {
icon = node.GetValueAt(i); icon = node.GetValueAt(i);
} else if (key.LowerCaseEqualsLiteral(KEY_ICON_URI_LOWER)) {
iconUri = node.GetValueAt(i);
} else if (key.LowerCaseEqualsLiteral(KEY_LASTCHARSET_LOWER)) { } else if (key.LowerCaseEqualsLiteral(KEY_LASTCHARSET_LOWER)) {
lastCharset = node.GetValueAt(i); lastCharset = node.GetValueAt(i);
} else if (key.LowerCaseEqualsLiteral(KEY_SHORTCUTURL_LOWER)) { } else if (key.LowerCaseEqualsLiteral(KEY_SHORTCUTURL_LOWER)) {
@ -613,6 +642,7 @@ BookmarkContentSink::HandleLinkBegin(const nsIParserNode& node)
href.Trim(kWhitespace); href.Trim(kWhitespace);
feedUrl.Trim(kWhitespace); feedUrl.Trim(kWhitespace);
icon.Trim(kWhitespace); icon.Trim(kWhitespace);
iconUri.Trim(kWhitespace);
lastCharset.Trim(kWhitespace); lastCharset.Trim(kWhitespace);
keyword.Trim(kWhitespace); keyword.Trim(kWhitespace);
@ -652,14 +682,19 @@ BookmarkContentSink::HandleLinkBegin(const nsIParserNode& node)
mBookmarksService->InsertItem(frame.mContainerID, frame.mPreviousLink, -1); mBookmarksService->InsertItem(frame.mContainerID, frame.mPreviousLink, -1);
// save the favicon, ignore errors // save the favicon, ignore errors
if (! icon.IsEmpty()) if (! icon.IsEmpty() || ! iconUri.IsEmpty()) {
SetFaviconForURI(frame.mPreviousLink, NS_ConvertUTF16toUTF8(icon)); nsCOMPtr<nsIURI> iconUriObject;
NS_NewURI(getter_AddRefs(iconUriObject), iconUri);
if (! icon.IsEmpty() || iconUriObject)
SetFaviconForURI(frame.mPreviousLink, iconUriObject,
NS_ConvertUTF16toUTF8(icon));
}
// save the keyword, ignore errors // save the keyword, ignore errors
if (! keyword.IsEmpty()) if (! keyword.IsEmpty())
mBookmarksService->SetKeywordForURI(frame.mPreviousLink, keyword); mBookmarksService->SetKeywordForURI(frame.mPreviousLink, keyword);
// FIXME: save the last charset // FIXME bug 334408: save the last charset
} }
@ -685,8 +720,18 @@ BookmarkContentSink::HandleLinkEnd()
frame.mPreviousFeed, frame.mPreviousFeed,
-1, -1,
&folderId); &folderId);
#ifdef DEBUG_IMPORT
PrintNesting();
printf("Creating livemark '%s'\n",
NS_ConvertUTF16toUTF8(frame.mPreviousText).get());
#endif
} }
else if (frame.mPreviousLink) { else if (frame.mPreviousLink) {
#ifdef DEBUG_IMPORT
PrintNesting();
printf("Creating bookmark '%s'\n",
NS_ConvertUTF16toUTF8(frame.mPreviousText).get());
#endif
mHistoryService->SetPageUserTitle(frame.mPreviousLink, mHistoryService->SetPageUserTitle(frame.mPreviousLink,
frame.mPreviousText); frame.mPreviousText);
} }
@ -707,6 +752,10 @@ BookmarkContentSink::HandleSeparator()
// we want to skip over this separator since it looks out of place. // we want to skip over this separator since it looks out of place.
if (frame.mLastContainerType != BookmarkImportFrame::Container_Toolbar) { if (frame.mLastContainerType != BookmarkImportFrame::Container_Toolbar) {
// create the separator // create the separator
#ifdef DEBUG_IMPORT
PrintNesting();
printf("--------\n");
#endif
mBookmarksService->InsertSeparator(frame.mContainerID, -1); mBookmarksService->InsertSeparator(frame.mContainerID, -1);
} }
} }
@ -741,6 +790,13 @@ BookmarkContentSink::NewFrame()
NS_ENSURE_SUCCESS(rv, rv); NS_ENSURE_SUCCESS(rv, rv);
} }
break; break;
case BookmarkImportFrame::Container_Places:
// places root
rv = mBookmarksService->GetPlacesRoot(&ourID);
NS_ENSURE_SUCCESS(rv, rv);
if (mAllowRootChanges)
updateFolder = PR_TRUE;
break;
case BookmarkImportFrame::Container_Menu: case BookmarkImportFrame::Container_Menu:
// menu root // menu root
rv = mBookmarksService->GetBookmarksRoot(&ourID); rv = mBookmarksService->GetBookmarksRoot(&ourID);
@ -762,13 +818,24 @@ BookmarkContentSink::NewFrame()
default: default:
NS_NOTREACHED("Unknown container type"); NS_NOTREACHED("Unknown container type");
} }
#ifdef DEBUG_IMPORT
PrintNesting();
printf("Folder %lld \'%s\'", ourID, NS_ConvertUTF16toUTF8(containerName).get());
#endif
if (updateFolder) { if (updateFolder) {
// move the menu/toolbar folder to the current position // move the menu/toolbar folder to the current position
mBookmarksService->MoveFolder(ourID, CurFrame().mContainerID, -1); mBookmarksService->MoveFolder(ourID, CurFrame().mContainerID, -1);
mBookmarksService->SetFolderTitle(ourID, containerName); mBookmarksService->SetFolderTitle(ourID, containerName);
#ifdef DEBUG_IMPORT
printf(" [reparenting]");
#endif
} }
#ifdef DEBUG_IMPORT
printf("\n");
#endif
if (! mFrames.AppendElement(BookmarkImportFrame(ourID))) if (! mFrames.AppendElement(BookmarkImportFrame(ourID)))
return NS_ERROR_OUT_OF_MEMORY; return NS_ERROR_OUT_OF_MEMORY;
return NS_OK; return NS_OK;
@ -794,15 +861,22 @@ BookmarkContentSink::PopFrame()
// BookmarkContentSink::SetFaviconForURI // BookmarkContentSink::SetFaviconForURI
// //
// aData is a string that is a data URI for the favicon. Our job is to // aData is a string that is a data URI for the favicon. Our job is to
// decode it and store it in the favicon service. We have to make up a URI // decode it and store it in the favicon service.
// for this favicon so that it can be stored in the service. The real one //
// will be set the next time the user visits the page. Our made up one // When aIconURI is non-null, we will use that as the URI of the favicon
// should get expired when the page no longer references it. // when storing in the favicon service.
//
// When aIconURI is null, we have to make up a URI for this favicon so that
// it can be stored in the service. The real one will be set the next time
// the user visits the page. Our made up one should get expired when the
// page no longer references it.
nsresult nsresult
BookmarkContentSink::SetFaviconForURI(nsIURI* aURI, const nsCString& aData) BookmarkContentSink::SetFaviconForURI(nsIURI* aPageURI, nsIURI* aIconURI,
const nsCString& aData)
{ {
nsresult rv; nsresult rv;
static PRUint32 serialNumber = 0; // for made-up favicon URIs
// some bookmarks have placeholder URIs that contain just "data:" // some bookmarks have placeholder URIs that contain just "data:"
// ignore these // ignore these
@ -813,17 +887,29 @@ BookmarkContentSink::SetFaviconForURI(nsIURI* aURI, const nsCString& aData)
if (! faviconService) if (! faviconService)
return NS_ERROR_NO_INTERFACE; return NS_ERROR_NO_INTERFACE;
// make up favicon URL // if the input favicon URI is a chrome: URI, then we just save it and don't
static PRUint32 serialNumber = 0; // worry about data
nsCAutoString faviconSpec; if (aIconURI) {
faviconSpec.AssignLiteral("http://www.mozilla.org/2005/made-up-favicon/"); nsCString faviconScheme;
faviconSpec.AppendInt(serialNumber); if (faviconScheme.EqualsLiteral("chrome")) {
faviconSpec.AppendLiteral("-"); return faviconService->SetFaviconUrlForPage(aPageURI, aIconURI);
faviconSpec.AppendInt(PR_Now()); }
}
nsCOMPtr<nsIURI> faviconURI; nsCOMPtr<nsIURI> faviconURI;
rv = NS_NewURI(getter_AddRefs(faviconURI), faviconSpec); if (aIconURI) {
NS_ENSURE_SUCCESS(rv, rv); faviconURI = aIconURI;
serialNumber ++; } else {
// make up favicon URL
nsCAutoString faviconSpec;
faviconSpec.AssignLiteral("http://www.mozilla.org/2005/made-up-favicon/");
faviconSpec.AppendInt(serialNumber);
faviconSpec.AppendLiteral("-");
faviconSpec.AppendInt(PR_Now());
rv = NS_NewURI(getter_AddRefs(faviconURI), faviconSpec);
NS_ENSURE_SUCCESS(rv, rv);
serialNumber ++;
}
nsCOMPtr<nsIURI> dataURI; nsCOMPtr<nsIURI> dataURI;
rv = NS_NewURI(getter_AddRefs(dataURI), aData); rv = NS_NewURI(getter_AddRefs(dataURI), aData);
@ -871,7 +957,7 @@ BookmarkContentSink::SetFaviconForURI(nsIURI* aURI, const nsCString& aData)
rv = faviconService->SetFaviconData(faviconURI, buffer, available, mimeType, 0); rv = faviconService->SetFaviconData(faviconURI, buffer, available, mimeType, 0);
nsMemory::Free(buffer); nsMemory::Free(buffer);
NS_ENSURE_SUCCESS(rv, rv); NS_ENSURE_SUCCESS(rv, rv);
return faviconService->SetFaviconUrlForPage(aURI, faviconURI); return faviconService->SetFaviconUrlForPage(aPageURI, faviconURI);
} }
@ -949,6 +1035,12 @@ nsNavBookmarks::ImportBookmarksHTMLInternal(nsIURI* aURL,
// wrap the import in a transaction to make it faster // wrap the import in a transaction to make it faster
mozStorageTransaction transaction(DBConn(), PR_FALSE); mozStorageTransaction transaction(DBConn(), PR_FALSE);
#ifdef DEBUG_IMPORT
nsCAutoString spec;
aURL->GetSpec(spec);
printf("\nImporting %s\n", spec.get());
#endif
nsresult rv; nsresult rv;
nsCOMPtr<nsIParser> parser = do_CreateInstance(kParserCID, &rv); nsCOMPtr<nsIParser> parser = do_CreateInstance(kParserCID, &rv);
NS_ENSURE_SUCCESS(rv, rv); NS_ENSURE_SUCCESS(rv, rv);
@ -1017,9 +1109,583 @@ nsNavBookmarks::ImportBookmarksHTMLInternal(nsIURI* aURL,
return NS_OK; return NS_OK;
} }
static char kFileIntro[] =
"<!DOCTYPE NETSCAPE-Bookmark-file-1>" NS_LINEBREAK
// Note: we write bookmarks in UTF-8
"<META HTTP-EQUIV=\"Content-Type\" CONTENT=\"text/html; charset=UTF-8\">" NS_LINEBREAK
"<META NAME=\"date\" CONTENT=\"";
static char kFileIntro2[] = "\">" NS_LINEBREAK NS_LINEBREAK
"<TITLE>Bookmarks</TITLE>" NS_LINEBREAK;
static const char kRootIntro[] = "<H1";
static const char kCloseRootH1[] = "</H1>" NS_LINEBREAK NS_LINEBREAK;
static const char kBookmarkIntro[] = "<DL><p>" NS_LINEBREAK;
static const char kBookmarkClose[] = "</DL><p>" NS_LINEBREAK;
static const char kContainerIntro[] = "<DT><H3";
static const char kContainerClose[] = "</H3>" NS_LINEBREAK;
static const char kItemOpen[] = "<DT><A";
static const char kItemClose[] = "</A>" NS_LINEBREAK;
static const char kSeparator[] = "<HR>" NS_LINEBREAK;
static const char kQuoteStr[] = "\"";
static const char kCloseAngle[] = ">";
static const char kIndent[] = " ";
static const char kPlacesRootAttribute[] = " PLACES_ROOT=\"true\"";
static const char kBookmarksRootAttribute[] = " BOOKMARKS_MENU=\"true\"";
static const char kToolbarRootAttribute[] = " PERSONAL_TOOLBAR_FOLDER=\"true\"";
static const char kIconAttribute[] = " ICON=\"";
static const char kIconURIAttribute[] = " ICON_URI=\"";
static const char kHrefAttribute[] = " HREF=\"";
static const char kFeedURIAttribute[] = " FEEDURL=\"";
// WriteContainerPrologue
//
// <DL><p>
//
// Goes after the container header (<H3...) but before the contents
static nsresult
WriteContainerPrologue(const nsCString& aIndent, nsIOutputStream* aOutput)
{
PRUint32 dummy;
nsresult rv = aOutput->Write(aIndent.get(), aIndent.Length(), &dummy);
if (NS_FAILED(rv)) return rv;
rv = aOutput->Write(kBookmarkIntro, sizeof(kBookmarkIntro)-1, &dummy);
if (NS_FAILED(rv)) return rv;
return NS_OK;
}
// WriteContainerEpilogue
//
// </DL><p>
//
// Goes after the container contents to close the container
static nsresult
WriteContainerEpilogue(const nsCString& aIndent, nsIOutputStream* aOutput)
{
PRUint32 dummy;
nsresult rv = aOutput->Write(aIndent.get(), aIndent.Length(), &dummy);
if (NS_FAILED(rv)) return rv;
rv = aOutput->Write(kBookmarkClose, sizeof(kBookmarkClose)-1, &dummy);
if (NS_FAILED(rv)) return rv;
return NS_OK;
}
// DataToDataURI
static nsresult
DataToDataURI(PRUint8* aData, PRUint32 aDataLen, const nsACString& aMimeType,
nsACString& aDataURI)
{
char* encoded = PL_Base64Encode(NS_REINTERPRET_CAST(const char*, aData),
aDataLen, nsnull);
if (! encoded)
return NS_ERROR_OUT_OF_MEMORY;
aDataURI.AssignLiteral("data:");
aDataURI.Append(aMimeType);
aDataURI.AppendLiteral(";base64,");
aDataURI.Append(encoded);
nsMemory::Free(encoded);
return NS_OK;
}
// WriteFaviconAttribute
//
// This writes the 'ICON="data:asdlfkjas;ldkfja;skdljfasdf"' attribute for
// an item. We special-case chrome favicon URIs by just writing the chrome:
// URI.
static nsresult
WriteFaviconAttribute(const nsACString& aURI, nsIOutputStream* aOutput)
{
nsresult rv;
PRUint32 dummy;
nsFaviconService* faviconService = nsFaviconService::GetFaviconService();
NS_ENSURE_TRUE(faviconService, NS_ERROR_UNEXPECTED);
nsCOMPtr<nsIURI> uri;
rv = NS_NewURI(getter_AddRefs(uri), aURI);
NS_ENSURE_SUCCESS(rv, rv);
// get favicon
nsCOMPtr<nsIURI> faviconURI;
rv = faviconService->GetFaviconForPage(uri, getter_AddRefs(faviconURI));
if (rv == NS_ERROR_NOT_AVAILABLE)
return NS_OK; // no favicon
NS_ENSURE_SUCCESS(rv, rv); // anything else is error
nsCAutoString faviconScheme;
nsCAutoString faviconSpec;
rv = faviconURI->GetSpec(faviconSpec);
NS_ENSURE_SUCCESS(rv, rv);
rv = faviconURI->GetScheme(faviconScheme);
NS_ENSURE_SUCCESS(rv, rv);
// write favicon URI: 'ICON_URI="..."'
rv = aOutput->Write(kIconURIAttribute, sizeof(kIconURIAttribute)-1, &dummy);
if (NS_FAILED(rv)) return rv;
rv = aOutput->Write(faviconSpec.get(), faviconSpec.Length(), &dummy);
if (NS_FAILED(rv)) return rv;
rv = aOutput->Write(kQuoteStr, sizeof(kQuoteStr)-1, &dummy);
if (NS_FAILED(rv)) return rv;
if (! faviconScheme.EqualsLiteral("chrome")) {
// only store data for non-chrome URIs
// get the data - BE SURE TO FREE
nsCAutoString mimeType;
PRUint32 dataLen;
PRUint8* data;
rv = faviconService->GetFaviconData(faviconURI, mimeType, &dataLen, &data);
NS_ENSURE_SUCCESS(rv, rv);
if (dataLen > 0) {
// convert to URI
nsCString faviconContents;
rv = DataToDataURI(data, dataLen, mimeType, faviconContents);
nsMemory::Free(data);
NS_ENSURE_SUCCESS(rv, rv);
rv = aOutput->Write(kIconAttribute, sizeof(kIconAttribute)-1, &dummy);
if (NS_FAILED(rv)) return rv;
rv = aOutput->Write(faviconContents.get(), faviconContents.Length(), &dummy);
if (NS_FAILED(rv)) return rv;
rv = aOutput->Write(kQuoteStr, sizeof(kQuoteStr)-1, &dummy);
if (NS_FAILED(rv)) return rv;
}
}
return NS_OK;
}
// nsNavBookmarks::WriteContainer
//
// Writes out all the necessary parts of a bookmarks folder.
nsresult
nsNavBookmarks::WriteContainer(PRInt64 aFolder, const nsCString& aIndent,
nsIOutputStream* aOutput)
{
nsresult rv = WriteContainerHeader(aFolder, aIndent, aOutput);
if (NS_FAILED(rv)) return rv;
// FIXME bug 334758: write container description here as a <DD>
rv = WriteContainerPrologue(aIndent, aOutput);
if (NS_FAILED(rv)) return rv;
rv = WriteContainerContents(aFolder, aIndent, aOutput);
if (NS_FAILED(rv)) return rv;
rv = WriteContainerEpilogue(aIndent, aOutput);
if (NS_FAILED(rv)) return rv;
return NS_OK;
}
//
// nsNavBookmarks::WriteContainerHeader
//
// This writes '<DL><H3>Title</H3>'
// Remember folders can also have favicons, which we put in the H3 tag
nsresult
nsNavBookmarks::WriteContainerHeader(PRInt64 aFolder, const nsCString& aIndent,
nsIOutputStream* aOutput)
{
PRUint32 dummy;
nsresult rv;
// indent
if (! aIndent.IsEmpty()) {
rv = aOutput->Write(aIndent.get(), aIndent.Length(), &dummy);
if (NS_FAILED(rv)) return rv;
}
// "<DL H3"
rv = aOutput->Write(kContainerIntro, sizeof(kContainerIntro)-1, &dummy);
if (NS_FAILED(rv)) return rv;
// " PERSONAL_TOOLBAR_FOLDER="true"", etc.
if (aFolder == mRoot) {
rv = aOutput->Write(kPlacesRootAttribute, sizeof(kPlacesRootAttribute)-1, &dummy);
if (NS_FAILED(rv)) return rv;
} else if (aFolder == mBookmarksRoot) {
rv = aOutput->Write(kBookmarksRootAttribute, sizeof(kBookmarksRootAttribute)-1, &dummy);
if (NS_FAILED(rv)) return rv;
} else if (aFolder == mToolbarRoot) {
rv = aOutput->Write(kToolbarRootAttribute, sizeof(kToolbarRootAttribute)-1, &dummy);
if (NS_FAILED(rv)) return rv;
}
// favicon (most folders won't have one)
nsCOMPtr<nsIURI> folderURI;
rv = GetFolderURI(aFolder, getter_AddRefs(folderURI));
NS_ENSURE_SUCCESS(rv, rv);
nsCAutoString folderSpec;
rv = folderURI->GetSpec(folderSpec);
NS_ENSURE_SUCCESS(rv, rv);
rv = WriteFaviconAttribute(folderSpec, aOutput);
if (NS_FAILED(rv)) return rv;
// ">"
rv = aOutput->Write(kCloseAngle, sizeof(kCloseAngle)-1, &dummy);
if (NS_FAILED(rv)) return rv;
// title
rv = WriteContainerTitle(aFolder, aOutput);
if (NS_FAILED(rv)) return rv;
// "</H3>\n"
rv = aOutput->Write(kContainerClose, sizeof(kContainerClose)-1, &dummy);
return rv;
}
// nsNavBookmarks::WriteContainerTitle
//
// Retrieves, escaped and writes the container title to the stream.
nsresult
nsNavBookmarks::WriteContainerTitle(PRInt64 aFolder, nsIOutputStream* aOutput)
{
nsAutoString title;
nsresult rv = GetFolderTitle(aFolder, title);
NS_ENSURE_SUCCESS(rv, rv);
char* escapedTitle = nsEscapeHTML(NS_ConvertUTF16toUTF8(title).get());
if (escapedTitle) {
PRUint32 dummy;
rv = aOutput->Write(escapedTitle, strlen(escapedTitle), &dummy);
nsMemory::Free(escapedTitle);
if (NS_FAILED(rv)) return rv;
}
return NS_OK;
}
// WriteItem
//
// "<DT><A HREF="..." ICON="...">Name</A>"
static nsresult
WriteItem(nsNavHistoryResultNode* aItem, const nsCString& aIndent,
nsIOutputStream* aOutput)
{
PRUint32 dummy;
nsresult rv;
// indent
if (! aIndent.IsEmpty()) {
rv = aOutput->Write(aIndent.get(), aIndent.Length(), &dummy);
if (NS_FAILED(rv)) return rv;
}
// '<DT><A'
rv = aOutput->Write(kItemOpen, sizeof(kItemOpen)-1, &dummy);
if (NS_FAILED(rv)) return rv;
// ' HREF="http://..."' - note that we need to call GetURI on the result
// node because some nodes (eg queries) generate this lazily.
rv = aOutput->Write(kHrefAttribute, sizeof(kHrefAttribute)-1, &dummy);
if (NS_FAILED(rv)) return rv;
nsCAutoString uri;
rv = aItem->GetUri(uri);
NS_ENSURE_SUCCESS(rv, rv);
rv = aOutput->Write(uri.get(), uri.Length(), &dummy);
if (NS_FAILED(rv)) return rv;
rv = aOutput->Write(kQuoteStr, sizeof(kQuoteStr)-1, &dummy);
if (NS_FAILED(rv)) return rv;
// ' ICON="..."'
rv = WriteFaviconAttribute(uri, aOutput);
if (NS_FAILED(rv)) return rv;
// FIXME bug 334408: write last character set here
// '>'
rv = aOutput->Write(kCloseAngle, sizeof(kCloseAngle)-1, &dummy);
if (NS_FAILED(rv)) return rv;
// title
char* escapedTitle = nsEscapeHTML(aItem->mTitle.get());
if (escapedTitle) {
rv = aOutput->Write(escapedTitle, strlen(escapedTitle), &dummy);
nsMemory::Free(escapedTitle);
if (NS_FAILED(rv)) return rv;
}
// '</A>\n'
rv = aOutput->Write(kItemClose, sizeof(kItemClose)-1, &dummy);
if (NS_FAILED(rv)) return rv;
// FIXME bug 334758: write item description here as a <DD>
return NS_OK;
}
// WriteLivemark
//
// Similar to WriteItem, this has an additional FEEDURL attribute and
// the HREF is optional and points to the source page.
nsresult
nsNavBookmarks::WriteLivemark(PRInt64 aFolderId, const nsCString& aIndent,
nsIOutputStream* aOutput)
{
PRUint32 dummy;
nsresult rv;
nsLivemarkService* livemarkService = nsLivemarkService::GetLivemarkService();
NS_ENSURE_TRUE(livemarkService, NS_ERROR_UNEXPECTED);
// indent
if (! aIndent.IsEmpty()) {
rv = aOutput->Write(aIndent.get(), aIndent.Length(), &dummy);
if (NS_FAILED(rv)) return rv;
}
// '<DT><A'
rv = aOutput->Write(kItemOpen, sizeof(kItemOpen)-1, &dummy);
if (NS_FAILED(rv)) return rv;
// get feed URI
nsCOMPtr<nsIURI> feedURI;
rv = livemarkService->GetFeedURI(aFolderId, getter_AddRefs(feedURI));
NS_ENSURE_SUCCESS(rv, rv);
nsCString feedSpec;
rv = feedURI->GetSpec(feedSpec);
NS_ENSURE_SUCCESS(rv, rv);
// write feed URI
rv = aOutput->Write(kFeedURIAttribute, sizeof(kFeedURIAttribute)-1, &dummy);
if (NS_FAILED(rv)) return rv;
rv = aOutput->Write(feedSpec.get(), feedSpec.Length(), &dummy);
if (NS_FAILED(rv)) return rv;
rv = aOutput->Write(kQuoteStr, sizeof(kQuoteStr)-1, &dummy);
if (NS_FAILED(rv)) return rv;
// get the optional site URI
nsCOMPtr<nsIURI> siteURI;
rv = livemarkService->GetSiteURI(aFolderId, getter_AddRefs(siteURI));
NS_ENSURE_SUCCESS(rv, rv);
if (siteURI) {
nsCString siteSpec;
rv = siteURI->GetSpec(siteSpec);
NS_ENSURE_SUCCESS(rv, rv);
// write site URI
rv = aOutput->Write(kHrefAttribute, sizeof(kHrefAttribute)-1, &dummy);
if (NS_FAILED(rv)) return rv;
rv = aOutput->Write(siteSpec.get(), siteSpec.Length(), &dummy);
if (NS_FAILED(rv)) return rv;
rv = aOutput->Write(kQuoteStr, sizeof(kQuoteStr)-1, &dummy);
if (NS_FAILED(rv)) return rv;
}
// '>'
rv = aOutput->Write(kCloseAngle, sizeof(kCloseAngle)-1, &dummy);
if (NS_FAILED(rv)) return rv;
// title
rv = WriteContainerTitle(aFolderId, aOutput);
if (NS_FAILED(rv)) return rv;
// '</A>\n'
rv = aOutput->Write(kItemClose, sizeof(kItemClose)-1, &dummy);
if (NS_FAILED(rv)) return rv;
return NS_OK;
}
// WriteSeparator
//
// "<HR>"
nsresult
WriteSeparator(const nsCString& aIndent, nsIOutputStream* aOutput)
{
PRUint32 dummy;
nsresult rv;
// indent
if (! aIndent.IsEmpty()) {
rv = aOutput->Write(aIndent.get(), aIndent.Length(), &dummy);
if (NS_FAILED(rv)) return rv;
}
rv = aOutput->Write(kSeparator, sizeof(kSeparator)-1, &dummy);
return rv;
}
// nsNavBookmarks::WriteContainerContents
//
// The indent here is the indent of the parent. We will add an additional
// indent before writing data.
nsresult
nsNavBookmarks::WriteContainerContents(PRInt64 aFolder, const nsCString& aIndent,
nsIOutputStream* aOutput)
{
nsCString myIndent = aIndent;
myIndent.Append(kIndent);
nsNavHistory* historyService = nsNavHistory::GetHistoryService();
NS_ENSURE_TRUE(historyService, NS_ERROR_UNEXPECTED);
// get empty options
nsCOMPtr<nsINavHistoryQueryOptions> optionsInterface;
nsresult rv = historyService->GetNewQueryOptions(getter_AddRefs(optionsInterface));
NS_ENSURE_SUCCESS(rv, rv);
// QueryFolderChildren requires a concrete options
nsCOMPtr<nsNavHistoryQueryOptions> options = do_QueryInterface(optionsInterface);
NS_ENSURE_TRUE(options, NS_ERROR_UNEXPECTED);
// get contents of folder
nsCOMArray<nsNavHistoryResultNode> items;
rv = QueryFolderChildren(aFolder, options, &items);
NS_ENSURE_SUCCESS(rv, rv);
// write each item
for (PRInt32 i = 0; i < items.Count(); i ++) {
if (items[i]->IsFolder()) {
// bookmarks folder
PRInt64 folderId = items[i]->GetAsFolder()->mFolderId;
if (aFolder == mRoot && (folderId == mToolbarRoot ||
folderId == mBookmarksRoot)) {
// don't write out the bookmarks menu or the toolbar folder from the
// places root. When writing to bookmarks.html, these are reparented
// to the menu, which is the root of the namespace. This provides
// better backwards compatability.
continue;
}
// it could be a regular folder or it could be a livemark
nsLivemarkService* livemarkService = nsLivemarkService::GetLivemarkService();
NS_ENSURE_TRUE(livemarkService, NS_ERROR_UNEXPECTED);
PRBool isLivemark;
rv = livemarkService->IsLivemark(folderId, &isLivemark);
NS_ENSURE_SUCCESS(rv, rv);
if (isLivemark)
rv = WriteLivemark(folderId, myIndent, aOutput);
else
rv = WriteContainer(folderId, myIndent, aOutput);
} else if (items[i]->IsSeparator()) {
rv = WriteSeparator(myIndent, aOutput);
} else {
rv = WriteItem(items[i], myIndent, aOutput);
}
if (NS_FAILED(rv)) return rv;
}
return NS_OK;
}
// nsNavBookmarks::ExportBookmarksHTML
//
NS_IMETHODIMP NS_IMETHODIMP
nsNavBookmarks::ExportBookmarksHTML(nsIURI* aURL) nsNavBookmarks::ExportBookmarksHTML(nsIFile* aBookmarksFile)
{ {
return NS_ERROR_NOT_IMPLEMENTED; if (! aBookmarksFile)
return NS_ERROR_NULL_POINTER;
// get a safe output stream, so we don't clobber the bookmarks file unless
// all the writes succeeded.
nsCOMPtr<nsIOutputStream> out;
nsresult rv = NS_NewSafeLocalFileOutputStream(getter_AddRefs(out),
aBookmarksFile,
PR_WRONLY | PR_CREATE_FILE,
/*octal*/ 0600,
0);
if (NS_FAILED(rv)) return rv;
// We need a buffered output stream for performance.
// See bug 202477.
nsCOMPtr<nsIOutputStream> strm;
rv = NS_NewBufferedOutputStream(getter_AddRefs(strm), out, 4096);
if (NS_FAILED(rv)) return rv;
// file header
PRUint32 dummy;
rv = strm->Write(kFileIntro, sizeof(kFileIntro)-1, &dummy);
if (NS_FAILED(rv)) return rv;
// generated time
PRExplodedTime time;
PR_ExplodeTime(PR_Now(), PR_LocalTimeParameters, &time);
char timeBuf[128];
PRUint32 ret = PR_FormatTime(timeBuf, sizeof(timeBuf),
"%a, %d %b %Y %H:%M:%S %z", &time);
if (ret > 0 && ret < sizeof(timeBuf)) {
rv = strm->Write(timeBuf, strlen(timeBuf), &dummy);
if (NS_FAILED(rv)) return rv;
}
// rest of file header
rv = strm->Write(kFileIntro2, sizeof(kFileIntro2)-1, &dummy);
if (NS_FAILED(rv)) return rv;
// '<H1'
rv = strm->Write(kRootIntro, sizeof(kRootIntro)-1, &dummy); // <H1
if (NS_FAILED(rv)) return rv;
// bookmarks menu favicon
nsCOMPtr<nsIURI> folderURI;
rv = GetFolderURI(mBookmarksRoot, getter_AddRefs(folderURI));
NS_ENSURE_SUCCESS(rv, rv);
nsCAutoString folderSpec;
rv = folderURI->GetSpec(folderSpec);
NS_ENSURE_SUCCESS(rv, rv);
rv = WriteFaviconAttribute(folderSpec, strm);
if (NS_FAILED(rv)) return rv;
// '>Bookmarks</H1>
rv = strm->Write(kCloseAngle, sizeof(kCloseAngle)-1, &dummy); // >
if (NS_FAILED(rv)) return rv;
rv = WriteContainerTitle(mBookmarksRoot, strm);
if (NS_FAILED(rv)) return rv;
rv = strm->Write(kCloseRootH1, sizeof(kCloseRootH1)-1, &dummy); // </H1>
if (NS_FAILED(rv)) return rv;
// prologue
rv = WriteContainerPrologue(EmptyCString(), strm);
if (NS_FAILED(rv)) return rv;
// indents
nsCAutoString indent;
indent.Assign(kIndent);
// places root
rv = WriteContainer(mRoot, indent, strm);
if (NS_FAILED(rv)) return rv;
// toolbar
rv = WriteContainer(mToolbarRoot, indent, strm);
if (NS_FAILED(rv)) return rv;
// bookmarks menu contents
rv = WriteContainerContents(mBookmarksRoot, EmptyCString(), strm);
if (NS_FAILED(rv)) return rv;
// epilogue
rv = WriteContainerEpilogue(EmptyCString(), strm);
if (NS_FAILED(rv)) return rv;
// commit the write
nsCOMPtr<nsISafeOutputStream> safeStream = do_QueryInterface(strm, &rv);
NS_ENSURE_SUCCESS(rv, rv);
return safeStream->Finish();
} }

View File

@ -88,6 +88,16 @@ public:
nsLivemarkService(); nsLivemarkService();
nsresult Init(); nsresult Init();
static nsLivemarkService* GetLivemarkService() {
if (!sInstance) {
nsresult rv;
nsCOMPtr<nsILivemarkService> serv(do_GetService(NS_LIVEMARKSERVICE_CONTRACTID, &rv));
NS_ENSURE_SUCCESS(rv, nsnull);
NS_ASSERTION(sInstance, "Should have static instance pointer now");
}
return sInstance;
}
// These functions are called by the livemarks feed loader // These functions are called by the livemarks feed loader
// to set the livemark children. // to set the livemark children.
nsresult DeleteLivemarkChildren(PRInt64 aLivemarkFolderId); nsresult DeleteLivemarkChildren(PRInt64 aLivemarkFolderId);

View File

@ -46,6 +46,8 @@
#include "nsNavHistoryResult.h" // need for Int64 hashtable #include "nsNavHistoryResult.h" // need for Int64 hashtable
#include "nsBrowserCompsCID.h" #include "nsBrowserCompsCID.h"
class nsIOutputStream;
class nsNavBookmarks : public nsINavBookmarksService, class nsNavBookmarks : public nsINavBookmarksService,
public nsINavHistoryObserver public nsINavHistoryObserver
{ {
@ -240,6 +242,15 @@ private:
nsresult ImportBookmarksHTMLInternal(nsIURI* aURL, nsresult ImportBookmarksHTMLInternal(nsIURI* aURL,
PRBool aAllowRootChanges, PRBool aAllowRootChanges,
PRInt64 aFolder); PRInt64 aFolder);
nsresult WriteContainer(PRInt64 aFolder, const nsCString& aIndent,
nsIOutputStream* aOutput);
nsresult WriteContainerHeader(PRInt64 aFolder, const nsCString& aIndent,
nsIOutputStream* aOutput);
nsresult WriteContainerTitle(PRInt64 aFolder, nsIOutputStream* aOutput);
nsresult WriteLivemark(PRInt64 aFolderId, const nsCString& aIndent,
nsIOutputStream* aOutput);
nsresult WriteContainerContents(PRInt64 aFolder, const nsCString& aIndent,
nsIOutputStream* aOutput);
}; };
struct nsBookmarksUpdateBatcher struct nsBookmarksUpdateBatcher

View File

@ -16,8 +16,6 @@
<DD>Add bookmarks to this folder to see them displayed on the Bookmarks Toolbar <DD>Add bookmarks to this folder to see them displayed on the Bookmarks Toolbar
<DL><p> <DL><p>
</DL><p> </DL><p>
<DT><A HREF="place:annotation=livemark/feedURI">Subscriptions</A> <DT><A HREF="place:&annotation=livemark%2FfeedURI">Subscriptions</A>
<DD>Shows all Subscribed Feeds <DD>Shows all Subscribed Feeds
<DL><p>
</DL><p>
</DL><p> </DL><p>

View File

@ -3,13 +3,23 @@
It will be read and overwritten. It will be read and overwritten.
DO NOT EDIT! --> DO NOT EDIT! -->
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8"> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">
<TITLE>Bookmarks and History</TITLE> <TITLE>Bookmarks</TITLE>
<H1 PLACES_ROOT="true">Bookmarks and History</H1> <H1>Bookmarks</H1>
<DL><p> <DL><p>
<DT><A HREF="place:&beginTime=-2592000000000&beginTimeRef=1&endTime=7200000000&endTimeRef=2&sort=4&type=1">History</A> <DT><H3 PLACES_ROOT="true">Places</H3>
<DD>Shows all browsing history
<DT><H3 BOOKMARKS_MENU="true">Bookmarks Menu</H3>
<DL><p> <DL><p>
<DT><H3>Firefox and Mozilla Links</H3>
<DL><p>
<DT><A HREF="http://start.mozilla.org/firefox" ICON="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAHWSURBVHjaYvz//z8DJQAggJiQOe/fv2fv7Oz8rays/N+VkfG/iYnJfyD/1+rVq7ffu3dPFpsBAAHEAHIBCJ85c8bN2Nj4vwsDw/8zQLwKiO8CcRoQu0DxqlWrdsHUwzBAAIGJmTNnPgYa9j8UqhFElwPxf2MIDeIrKSn9FwSJoRkAEEAM0DD4DzMAyPi/G+QKY4hh5WAXGf8PDQ0FGwJ22d27CjADAAIIrLmjo+MXA9R2kAHvGBA2wwx6B8W7od6CeQcggKCmCEL8bgwxYCbUIGTDVkHDBia+CuotgACCueD3TDQN75D4xmAvCoK9ARMHBzAw0AECiBHkAlC0Mdy7x9ABNA3obAZXIAa6iKEcGlMVQHwWyjYuL2d4v2cPg8vZswx7gHyAAAK7AOif7SAbOqCmn4Ha3AHFsIDtgPq/vLz8P4MSkJ2W9h8ggBjevXvHDo4FQUQg/kdypqCg4H8lUIACnQ/SOBMYI8bAsAJFPcj1AAEEjwVQqLpAbXmH5BJjqI0gi9DTAAgDBBCcAVLkgmQ7yKCZxpCQxqUZhAECCJ4XgMl493ug21ZD+aDAXH0WLM4A9MZPXJkJIIAwTAR5pQMalaCABQUULttBGCCAGCnNzgABBgAMJ5THwGvJLAAAAABJRU5ErkJggg==" LAST_CHARSET="ISO-8859-1">Firefox Start Page</A>
<DT><A HREF="http://www.mozilla.org/products/firefox/central.html" ICON="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAHWSURBVHjaYvz//z8DJQAggJiQOe/fv2fv7Oz8rays/N+VkfG/iYnJfyD/1+rVq7ffu3dPFpsBAAHEAHIBCJ85c8bN2Nj4vwsDw/8zQLwKiO8CcRoQu0DxqlWrdsHUwzBAAIGJmTNnPgYa9j8UqhFElwPxf2MIDeIrKSn9FwSJoRkAEEAM0DD4DzMAyPi/G+QKY4hh5WAXGf8PDQ0FGwJ22d27CjADAAIIrLmjo+MXA9R2kAHvGBA2wwx6B8W7od6CeQcggKCmCEL8bgwxYCbUIGTDVkHDBia+CuotgACCueD3TDQN75D4xmAvCoK9ARMHBzAw0AECiBHkAlC0Mdy7x9ABNA3obAZXIAa6iKEcGlMVQHwWyjYuL2d4v2cPg8vZswx7gHyAAAK7AOif7SAbOqCmn4Ha3AHFsIDtgPq/vLz8P4MSkJ2W9h8ggBjevXvHDo4FQUQg/kdypqCg4H8lUIACnQ/SOBMYI8bAsAJFPcj1AAEEjwVQqLpAbXmH5BJjqI0gi9DTAAgDBBCcAVLkgmQ7yKCZxpCQxqUZhAECCJ4XgMl493ug21ZD+aDAXH0WLM4A9MZPXJkJIIAwTAR5pQMalaCABQUULttBGCCAGCnNzgABBgAMJ5THwGvJLAAAAABJRU5ErkJggg==" LAST_CHARSET="ISO-8859-1">Firefox Central</A>
<DT><A HREF="http://addons.mozilla.org/?application=firefox" ICON="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAHWSURBVHjaYvz//z8DJQAggJiQOe/fv2fv7Oz8rays/N+VkfG/iYnJfyD/1+rVq7ffu3dPFpsBAAHEAHIBCJ85c8bN2Nj4vwsDw/8zQLwKiO8CcRoQu0DxqlWrdsHUwzBAAIGJmTNnPgYa9j8UqhFElwPxf2MIDeIrKSn9FwSJoRkAEEAM0DD4DzMAyPi/G+QKY4hh5WAXGf8PDQ0FGwJ22d27CjADAAIIrLmjo+MXA9R2kAHvGBA2wwx6B8W7od6CeQcggKCmCEL8bgwxYCbUIGTDVkHDBia+CuotgACCueD3TDQN75D4xmAv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kgmQ7yKCZxpCQxqUZhAECCJ4XgMl493ug21ZD+aDAXH0WLM4A9MZPXJkJIIAwTAR5pQMalaCABQUULttBGCCAGCnNzgABBgAMJ5THwGvJLAAAAABJRU5ErkJggg==" LAST_CHARSET="ISO-8859-1">Firefox Product Page</A>
<DT><A HREF="http://www.mozilla.org/" LAST_VISIT="1133213523" ICON="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAHWSURBVHjaYvz//z8DJQAggJiQOe/fv2fv7Oz8rays/N+VkfG/iYnJfyD/1+rVq7ffu3dPFpsBAAHEAHIBCJ85c8bN2Nj4vwsDw/8zQLwKiO8CcRoQu0DxqlWrdsHUwzBAAIGJmTNnPgYa9j8UqhFElwPxf2MIDeIrKSn9FwSJoRkAEEAM0DD4DzMAyPi/G+QKY4hh5WAXGf8PDQ0FGwJ22d27CjADAAIIrLmjo+MXA9R2kAHvGBA2wwx6B8W7od6CeQcggKCmCEL8bgwxYCbUIGTDVkHDBia+CuotgACCueD3TDQN75D4xmAvCoK9ARMHBzAw0AECiBHkAlC0Mdy7x9ABNA3obAZXIAa6iKEcGlMVQHwWyjYuL2d4v2cPg8vZswx7gHyAAAK7AOif7SAbOqCmn4Ha3AHFsIDtgPq/vLz8P4MSkJ2W9h8ggBjevXvHDo4FQUQg/kdypqCg4H8lUIACnQ/SOBMYI8bAsAJFPcj1AAEEjwVQqLpAbXmH5BJjqI0gi9DTAAgDBBCcAVLkgmQ7yKCZxpCQxqUZhAECCJ4XgMl493ug21ZD+aDAXH0WLM4A9MZPXJkJIIAwTAR5pQMalaCABQUULttBGCCAGCnNzgABBgAMJ5THwGvJLAAAAABJRU5ErkJggg==" LAST_CHARSET="UTF-8">The Mozilla web site</A>
<DT><A HREF="http://www.mozillazine.org/" ICON="data:image/x-icon;base64,AAABAAIAEBAAAAEA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/2uOlP9zmpz/e6Kc/3uinP97pqX/jLa9/5y+xv+tsqX/1s+t/9bPrf9SbWv/QmFa/2OKhP9zlpT/e6Kc/1qGnP9CbZT/e6Kl/3umpf+MsrX/nMfO/63Hxv+9upz/1sul/9bLpf/Wy6X/pbat/4Sqrf+Eqq3/hKqt/4Sqrf97pq3/hKq1/5zDxv+lx87/rcvO/73Hrf/Ox5z/1sec/9bHnP/Wx5z/1sec/87HnP+1y73/pcfW/5zHzv+lx87/pcvW/6XP1v+ty8b/vcet/87HnP/Ox5T/zsec/87HnP/Ox5z/zsec/87HnP/Ow5T/zsOU/73Hrf+tx8b/rcfG/7XHvf+9x63/zsOc/87DlP/Ow5T/zsOU/87DlP/Ow5T/zsOU/87DlP/Ow5T/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==" LAST_CHARSET="ISO-8859-1">MozillaZine</A>
<DT><A HREF="http://store.mozilla.org/" ICON="data:image/x-icon;base64,AAABAAEAEBAAAAEAIABoBAAAFgAAACgAAAAQAAAAIAAAAAEAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD///8A////AP///wD///8A1NTU/9TU1P/U1NT/1NTU/9TU1P/U1NT/1NTU/9TU1P/U1NT/////AP///wD///8A////AP///wD///8Ag4OD/4ODg/+Dg4P/g4OD/4ODg/+Dg4P/g4OD/4ODg/+Dg4P/1NTU/9TU1P////8A////AP///wD///8Ag4OD/83Nzf/09PT/8/Pz//Pz8//w8PD/7e3t/+np6f/n5+f/wcHB/4ODg//U1NT/////AP///wD///8A////AIODg//19fX/9fX1//T09P/09PT/8vLy/+7u7v/q6ur/6Ojo/+Tk5P+Dg4P/1NTU/////wD///8A////AP///wCDg4P/9vb2//b29v/19fX/9fX1//T09P/w8PD/7Ozs/+np6f/l5eX/g4OD/9TU1P////8A////AP///wD///8Ag4OD//f39//39/f/9vb2//b29v/19fX/8vLy/+3t7f/p6en/5ubm/4ODg//U1NT/////AP///wD///8A////AIODg//4+Pj/+Pj4/2t2x//39/f/T1y+//Pz8/92f8n/3d7m/+fn5/+Dg4P/1NTU/////wD///8A////ANTU1P+Dg4P/+vr6//r6+v8YKav/srjh/xgpq/+wtd7/GCmr/+3t7f/o6Oj/g4OD/9TU1P/U1NT/1NTU/4ODg/+Dg4P/g4OD//v7+//6+vr/QlC6/2x3yP+JkdL/a3XH/0JQuv/u7u7/6urq/4ODg/+Dg4P/g4OD/9TU1P+Dg4P//Pz8/6urq//8/Pz/+/v7/1Bdv/80Q7X/7e72/zRDtf9QXb//7+/v/+vr6/+kpKT/5+fn/4ODg//U1NT/g4OD//z8/P/S0tL//Pz8//z8/P9QXb//X2rE//z8/P9fasT/UF2///Hx8f/t7e3/xcXF/+jo6P+Dg4P/1NTU/4ODg//9/f3//f39//39/f/9/f3//f39//39/f/9/f3/+vr6//f39//z8/P/7u7u/+vr6//p6en/g4OD/9TU1P+Dg4P//v7+//7+/v/+/v7//v7+//7+/v/+/v7//v7+//z8/P/4+Pj/9PT0//Dw8P/t7e3/6+vr/4ODg/////8A////AIODg/////////////////+Dg4P/g4OD/4ODg/+Dg4P/g4OD//b29v/y8vL/7+/v/4ODg/////8A////AP///wD///8Ag4OD/4ODg/+Dg4P/////AP///wD///8A////AP///wCDg4P/g4OD/4ODg/////8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A8AcAAOADAADAAwAAwAMAAMADAADAAwAAwAMAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAIADAADHxwAA//8AAA==" LAST_CHARSET="ISO-8859-1">Mozilla Store</A>
<DT><A HREF="http://www.spreadfirefox.com/" LAST_CHARSET="UTF-8">Get Involved - Help spread Firefox!</A>
</DL><p>
</DL><p> </DL><p>
<DT><H3 PERSONAL_TOOLBAR_FOLDER="true">Bookmarks Toolbar</H3> <DT><H3 PERSONAL_TOOLBAR_FOLDER="true">Bookmarks Toolbar</H3>
<DD>Add bookmarks to this folder to see them displayed on the Bookmarks Toolbar <DD>Add bookmarks to this folder to see them displayed on the Bookmarks Toolbar
@ -17,19 +27,4 @@
<DT><A HREF="http://www.mozilla.com/products/firefox/central.html" ICON="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAHWSURBVHjaYvz//z8DJQAggJiQOe/fv2fv7Oz8rays/N+VkfG/iYnJfyD/1+rVq7ffu3dPFpsBAAHEAHIBCJ85c8bN2Nj4vwsDw/8zQLwKiO8CcRoQu0DxqlWrdsHUwzBAAIGJmTNnPgYa9j8UqhFElwPxf2MIDeIrKSn9FwSJoRkAEEAM0DD4DzMAyPi/G+QKY4hh5WAXGf8PDQ0FGwJ22d27CjADAAIIrLmjo+MXA9R2kAHvGBA2wwx6B8W7od6CeQcggKCmCEL8bgwxYCbUIGTDVkHDBia+CuotgACCueD3TDQN75D4xmAvCoK9ARMHBzAw0AECiBHkAlC0Mdy7x9ABNA3obAZXIAa6iKEcGlMVQHwWyjYuL2d4v2cPg8vZswx7gHyAAAK7AOif7SAbOqCmn4Ha3AHFsIDtgPq/vLz8P4MSkJ2W9h8ggBjevXvHDo4FQUQg/kdypqCg4H8lUIACnQ/SOBMYI8bAsAJFPcj1AAEEjwVQqLpAbXmH5BJjqI0gi9DTAAgDBBCcAVLkgmQ7yKCZxpCQxqUZhAECCJ4XgMl493ug21ZD+aDAXH0WLM4A9MZPXJkJIIAwTAR5pQMalaCABQUULttBGCCAGCnNzgABBgAMJ5THwGvJLAAAAABJRU5ErkJggg==" LAST_CHARSET="ISO-8859-1" ID="rdf:#$GvPhC3">Getting Started</A> <DT><A HREF="http://www.mozilla.com/products/firefox/central.html" ICON="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAHWSURBVHjaYvz//z8DJQAggJiQOe/fv2fv7Oz8rays/N+VkfG/iYnJfyD/1+rVq7ffu3dPFpsBAAHEAHIBCJ85c8bN2Nj4vwsDw/8zQLwKiO8CcRoQu0DxqlWrdsHUwzBAAIGJmTNnPgYa9j8UqhFElwPxf2MIDeIrKSn9FwSJoRkAEEAM0DD4DzMAyPi/G+QKY4hh5WAXGf8PDQ0FGwJ22d27CjADAAIIrLmjo+MXA9R2kAHvGBA2wwx6B8W7od6CeQcggKCmCEL8bgwxYCbUIGTDVkHDBia+CuotgACCueD3TDQN75D4xmAvCoK9ARMHBzAw0AECiBHkAlC0Mdy7x9ABNA3obAZXIAa6iKEcGlMVQHwWyjYuL2d4v2cPg8vZswx7gHyAAAK7AOif7SAbOqCmn4Ha3AHFsIDtgPq/vLz8P4MSkJ2W9h8ggBjevXvHDo4FQUQg/kdypqCg4H8lUIACnQ/SOBMYI8bAsAJFPcj1AAEEjwVQqLpAbXmH5BJjqI0gi9DTAAgDBBCcAVLkgmQ7yKCZxpCQxqUZhAECCJ4XgMl493ug21ZD+aDAXH0WLM4A9MZPXJkJIIAwTAR5pQMalaCABQUULttBGCCAGCnNzgABBgAMJ5THwGvJLAAAAABJRU5ErkJggg==" LAST_CHARSET="ISO-8859-1" ID="rdf:#$GvPhC3">Getting Started</A>
<DT><A HREF="http://fxfeeds.mozilla.com/" LAST_MODIFIED="1094668003" FEEDURL="http://fxfeeds.mozilla.com/rss20.xml" ID="rdf:#$HvPhC3">Latest Headlines</A> <DT><A HREF="http://fxfeeds.mozilla.com/" LAST_MODIFIED="1094668003" FEEDURL="http://fxfeeds.mozilla.com/rss20.xml" ID="rdf:#$HvPhC3">Latest Headlines</A>
</DL><p> </DL><p>
<DT><A HREF="place:annotation=livemark/feedURI">Subscriptions</A>
<DD>Shows all Subscribed Feeds
<DL><p>
</DL><p>
<DT><H3>Firefox and Mozilla Links</H3>
<DL><p>
<DT><A HREF="http://start.mozilla.org/firefox" ICON="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAHWSURBVHjaYvz//z8DJQAggJiQOe/fv2fv7Oz8rays/N+VkfG/iYnJfyD/1+rVq7ffu3dPFpsBAAHEAHIBCJ85c8bN2Nj4vwsDw/8zQLwKiO8CcRoQu0DxqlWrdsHUwzBAAIGJmTNnPgYa9j8UqhFElwPxf2MIDeIrKSn9FwSJoRkAEEAM0DD4DzMAyPi/G+QKY4hh5WAXGf8PDQ0FGwJ22d27CjADAAIIrLmjo+MXA9R2kAHvGBA2wwx6B8W7od6CeQcggKCmCEL8bgwxYCbUIGTDVkHDBia+CuotgACCueD3TDQN75D4xmAvCoK9ARMHBzAw0AECiBHkAlC0Mdy7x9ABNA3obAZXIAa6iKEcGlMVQHwWyjYuL2d4v2cPg8vZswx7gHyAAAK7AOif7SAbOqCmn4Ha3AHFsIDtgPq/vLz8P4MSkJ2W9h8ggBjevXvHDo4FQUQg/kdypqCg4H8lUIACnQ/SOBMYI8bAsAJFPcj1AAEEjwVQqLpAbXmH5BJjqI0gi9DTAAgDBBCcAVLkgmQ7yKCZxpCQxqUZhAECCJ4XgMl493ug21ZD+aDAXH0WLM4A9MZPXJkJIIAwTAR5pQMalaCABQUULttBGCCAGCnNzgABBgAMJ5THwGvJLAAAAABJRU5ErkJggg==" LAST_CHARSET="ISO-8859-1">Firefox Start Page</A>
<DT><A HREF="http://www.mozilla.org/products/firefox/central.html" ICON="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAHWSURBVHjaYvz//z8DJQAggJiQOe/fv2fv7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UIACnQ/SOBMYI8bAsAJFPcj1AAEEjwVQqLpAbXmH5BJjqI0gi9DTAAgDBBCcAVLkgmQ7yKCZxpCQxqUZhAECCJ4XgMl493ug21ZD+aDAXH0WLM4A9MZPXJkJIIAwTAR5pQMalaCABQUULttBGCCAGCnNzgABBgAMJ5THwGvJLAAAAABJRU5ErkJggg==" LAST_CHARSET="ISO-8859-1">Firefox Product Page</A>
<DT><A HREF="http://www.mozilla.org/" LAST_VISIT="1133213523" ICON="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAHWSURBVHjaYvz//z8DJQAggJiQOe/fv2fv7Oz8rays/N+VkfG/iYnJfyD/1+rVq7ffu3dPFpsBAAHEAHIBCJ85c8bN2Nj4vwsDw/8zQLwKiO8CcRoQu0DxqlWrdsHUwzBAAIGJmTNnPgYa9j8UqhFElwPxf2MIDeIrKSn9FwSJoRkAEEAM0DD4DzMAyPi/G+QKY4hh5WAXGf8PDQ0FGwJ22d27CjADAAIIrLmjo+MXA9R2kAHvGBA2wwx6B8W7od6CeQcggKCmCEL8bgwxYCbUIGTDVkHDBia+CuotgACCueD3TDQN75D4xmAvCoK9ARMHBzAw0AECiBHkAlC0Mdy7x9ABNA3obAZXIAa6iKEcGlMVQHwWyjYuL2d4v2cPg8vZswx7gHyAAAK7AOif7SAbOqCmn4Ha3AHFsIDtgPq/vLz8P4MSkJ2W9h8ggBjevXvHDo4FQUQg/kdypqCg4H8lUIACnQ/SOBMYI8bAsAJFPcj1AAEEjwVQqLpAbXmH5BJjqI0gi9DTAAgDBBCcAVLkgmQ7yKCZxpCQxqUZhAECCJ4XgMl493ug21ZD+aDAXH0WLM4A9MZPXJkJIIAwTAR5pQMalaCABQUULttBGCCAGCnNzgABBgAMJ5THwGvJLAAAAABJRU5ErkJggg==" LAST_CHARSET="UTF-8">The Mozilla web site</A>
<DT><A HREF="http://www.mozillazine.org/" ICON="data:image/x-icon;base64,AAABAAIAEBAAAAEAGABoAwAAJgAAABAQAAABACAAaAQAAI4DAAAoAAAAEAAAACAAAAABABgAAAAAAEADAAAAAAAAAAAAAAAAAAAAAAAA5/P/SlFSAAAAAAAAe4KEe4KEe4KEe4KEe4KErbK9OUFC3uPvSlFSKTAxa3Fz5/P/5+/31t/nCBAQtb7G5+/3e32Ee32Ee32Ee32Era61OUFCe32ESlFSpa61e32E5+/35+/35+/3e32EOTxC5+/3e32Ee32Ee32Ea21znJ6lOTxCe32EKSwxa21zAAAA5+/35+vvOTw5AAAAAAAAe317e317e317e317KSwpAAAAlJqc1tveOTw5OTw5e3175+vv5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn5+fn3uPe3uPe3uPe3uPe3uPec3lzSklK3uPe3uPe3uPe3uPe3uPe3uPe3uPe3uPe3uPe3t/W3t/W3t/W3t/W3t/WztPGvcO13t/W3t/W3t/W3t/W3t/W3t/W3t/W3t/W3t/W3tvO3tvO3tvOrbatnLrGlLK9hJ6le5KUa317UmFjQlVSOUlKOUlKSllSa3Vztbqt3tfG3tfGtbalQk1KKTQ5OVFSMUVKKTw5MUVCOU1KQlVSQl1aSmljWnVzY4qEc4aE1tO9hIp7MUVCOUlKOUlKMUlKOVFKQllSSmVaUnFrY4J7Y4qEa5aUc56cjLa1rbqtnKKUMUVCMUFCMUlKQllSSmVjWnVzWn17a46Mc5aUc56cc6KchKqtlL7Gpbq11s+1WnFrKTw5QllSUm1rWn17Y4qMa46Uc5qce6Kce6Kce6aljLa9nL7GrbKl1s+t1s+tUm1rQmFaY4qEc5aUe6KcWoacQm2Ue6Kle6aljLK1nMfOrcfGvbqc1sul1sul1sulpbathKqthKqthKqthKqte6athKq1nMPGpcfOrcvOvcetzsec1sec1sec1sec1seczsectcu9pcfWnMfOpcfOpcvWpc/WrcvGvcetzseczseUzseczseczseczse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5aU/3OenP9zopz/hKqt/5S+xv+lurX/1s+1/1pxa/8pPDn/QllS/1Jta/9afXv/Y4qM/2uOlP9zmpz/e6Kc/3uinP97pqX/jLa9/5y+xv+tsqX/1s+t/9bPrf9SbWv/QmFa/2OKhP9zlpT/e6Kc/1qGnP9CbZT/e6Kl/3umpf+MsrX/nMfO/63Hxv+9upz/1sul/9bLpf/Wy6X/pbat/4Sqrf+Eqq3/hKqt/4Sqrf97pq3/hKq1/5zDxv+lx87/rcvO/73Hrf/Ox5z/1sec/9bHnP/Wx5z/1sec/87HnP+1y73/pcfW/5zHzv+lx87/pcvW/6XP1v+ty8b/vcet/87HnP/Ox5T/zsec/87HnP/Ox5z/zsec/87HnP/Ow5T/zsOU/73Hrf+tx8b/rcfG/7XHvf+9x63/zsOc/87DlP/Ow5T/zsOU/87DlP/Ow5T/zsOU/87DlP/Ow5T/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==" LAST_CHARSET="ISO-8859-1">MozillaZine</A>
<DT><A HREF="http://store.mozilla.org/" ICON="data:image/x-icon;base64,AAABAAEAEBAAAAEAIABoBAAAFgAAACgAAAAQAAAAIAAAAAEAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD///8A////AP///wD///8A1NTU/9TU1P/U1NT/1NTU/9TU1P/U1NT/1NTU/9TU1P/U1NT/////AP///wD///8A////AP///wD///8Ag4OD/4ODg/+Dg4P/g4OD/4ODg/+Dg4P/g4OD/4ODg/+Dg4P/1NTU/9TU1P////8A////AP///wD///8Ag4OD/83Nzf/09PT/8/Pz//Pz8//w8PD/7e3t/+np6f/n5+f/wcHB/4ODg//U1NT/////AP///wD///8A////AIODg//19fX/9fX1//T09P/09PT/8vLy/+7u7v/q6ur/6Ojo/+Tk5P+Dg4P/1NTU/////wD///8A////AP///wCDg4P/9vb2//b29v/19fX/9fX1//T09P/w8PD/7Ozs/+np6f/l5eX/g4OD/9TU1P////8A////AP///wD///8Ag4OD//f39//39/f/9vb2//b29v/19fX/8vLy/+3t7f/p6en/5ubm/4ODg//U1NT/////AP///wD///8A////AIODg//4+Pj/+Pj4/2t2x//39/f/T1y+//Pz8/92f8n/3d7m/+fn5/+Dg4P/1NTU/////wD///8A////ANTU1P+Dg4P/+vr6//r6+v8YKav/srjh/xgpq/+wtd7/GCmr/+3t7f/o6Oj/g4OD/9TU1P/U1NT/1NTU/4ODg/+Dg4P/g4OD//v7+//6+vr/QlC6/2x3yP+JkdL/a3XH/0JQuv/u7u7/6urq/4ODg/+Dg4P/g4OD/9TU1P+Dg4P//Pz8/6urq//8/Pz/+/v7/1Bdv/80Q7X/7e72/zRDtf9QXb//7+/v/+vr6/+kpKT/5+fn/4ODg//U1NT/g4OD//z8/P/S0tL//Pz8//z8/P9QXb//X2rE//z8/P9fasT/UF2///Hx8f/t7e3/xcXF/+jo6P+Dg4P/1NTU/4ODg//9/f3//f39//39/f/9/f3//f39//39/f/9/f3/+vr6//f39//z8/P/7u7u/+vr6//p6en/g4OD/9TU1P+Dg4P//v7+//7+/v/+/v7//v7+//7+/v/+/v7//v7+//z8/P/4+Pj/9PT0//Dw8P/t7e3/6+vr/4ODg/////8A////AIODg/////////////////+Dg4P/g4OD/4ODg/+Dg4P/g4OD//b29v/y8vL/7+/v/4ODg/////8A////AP///wD///8Ag4OD/4ODg/+Dg4P/////AP///wD///8A////AP///wCDg4P/g4OD/4ODg/////8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A8AcAAOADAADAAwAAwAMAAMADAADAAwAAwAMAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAIADAADHxwAA//8AAA==" LAST_CHARSET="ISO-8859-1">Mozilla Store</A>
<DT><A HREF="http://www.spreadfirefox.com/" LAST_CHARSET="UTF-8">Get Involved - Help spread Firefox!</A>
</DL><p>
</DL><p> </DL><p>