mywot/firefox-xul — Issue #2: Distinguish a context when opening mywot.com pages from an addon
Author: sorgoz
Created: 2012-02-17 20:21:25+00:00
State: open

There are tons of visits from different sites, provided by warning screen.

We need to know, where visits are from - rating window, warning screen, or smthng else.

There are some prepared funcs in firefox-xul repo to do this.

https://github.com/mywot/firefox-xul/blob/master/content/util.js#L207
https://github.com/mywot/firefox-xul/blob/master/content/commands.js#L447
https://github.com/mywot/firefox-xul/blob/master/content/warning.js#L617

The first step: make a list of possible sources, like a addon-warning, addon-rw-viewscorecard, ...