Contents

About

"Browser Extension Rewrite " is a project of Summer Of Code 2007. Browser Extensions includes both firefox extension and epiphany extension.

Code

The source code of this project is hosted at Google Code.

Firefox Extension

Download the latest extension v1.1.1 here.


Features

  • Using domain/wildcard/regular expression to exclude/include the urls
  • Import/export preferences
  • Auto index when browsing (just click the status icon for enable/disable auto-indexing)
    • Index referrer URL while indexing web-pages
  • On-demand indexing
    • index current page
    • index link (for all the different filetypes beagle filters)
    • index image , the alt text is indexed.
    • Store the URL of the current page while indexing, which may be useful while searching
  • Index firefox bookmarks
    • name, url, shortcut url(keywords),description and the path (name of ancestor folders)is saved.
    • menu item bookmarks->Index The Modified Bookmarks
    • index the bookmarks when the window close ( you can turn it on/off in preference window)
    • last-index-date is saved . So only new bookmarks will be indexed.


Debug

You can set browser.dom.window.dump.enabled to true, in about:config. Open firefox in terminal, then you can see the debug information. You should also check javascript error console.

Localization

Add your localization files to chrome/locale/your-language/

Epiphany Extension

This extension is in python now.

Install
  1. download the files from http://browser-extension-for-beagle.googlecode.com/svn/trunk/py-epiphany-extension/
  2. put them in ~/.gnome2/epiphany/extensions/
Usage
  • index current page by menu item Tools->beagle->index this page or context menu item index this page
  • toggle auto index by menu item Tools->beagle->auto index
  • context menu item index link

You can check the status bar to get some feedback information.

Configure File

The config file is a python file itself. It's name must be "beagleIndexer.conf" and located in ~/.gnome2/epiphany/extensions/

table of configure items
name possible value description
auto_index True / False auto index when page is loaded or not
prompt_keyword True / False prompt for keyword when on-demand index or not
default_index True / False index the page when the url did not match any rule in blacklist or whitelist or not
white_list_first True / False whether to index the page when the url matches both rules in blacklist or whitelist or not
index_https True / False index https page or not
black_list a python list of regular expressions black list
white_list a python list of regular expressions white list

You can find a sample config file here.


This page was last modified 23:02, 21 August 2008. This page has been accessed 19,446 times.

  
MediaWiki

Copyright © 2004-2007