27
edits
m (→Client) |
|||
| 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 | ||
=== | === Client (code in Firefox) === | ||
The | 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><window></code> onto which we overlay. A ''tabbed browser'' is an object corresponding to a <code><tabbrowser></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><window></code> onto which we overlay. A ''tabbed browser'' is an object corresponding to a <code><tabbrowser></code> tag, of which there is one per browser window. A ''browser'' is a tab, one of potentially many browsers within a tabbed browser. | ||
edits