Phishing Protection: Design Documentation: Difference between revisions

Jump to navigation Jump to search
m
Line 63: Line 63:
http://developer.mozilla.org/wiki-images/en/7/7b/Antiphishingui.png
http://developer.mozilla.org/wiki-images/en/7/7b/Antiphishingui.png


=== Extension ===
=== Client (code in Firefox) ===


The extension is written purely in JavaScript for portability and rapid development reasons. It is object-oriented and relies heavily on closures and custom JS abstractions (as it has must, given the lack of standard js libraries).
The client code is object-oriented and relies heavily on closures and custom JS abstractions.


Before getting into specifics, let's clarify some nomenclature. A ''browser window'' is a user-visible browser window, aka the object corresponding to browser.xul's <code>&lt;window&gt;</code> onto which we overlay. A ''tabbed browser'' is an object corresponding to a <code>&lt;tabbrowser&gt;</code> tag, of which there is one per browser window. A ''browser'' is a tab, one of potentially many browsers within a tabbed browser.
Before getting into specifics, let's clarify some nomenclature. A ''browser window'' is a user-visible browser window, aka the object corresponding to browser.xul's <code>&lt;window&gt;</code> onto which we overlay. A ''tabbed browser'' is an object corresponding to a <code>&lt;tabbrowser&gt;</code> tag, of which there is one per browser window. A ''browser'' is a tab, one of potentially many browsers within a tabbed browser.

Navigation menu