mywot/firefox — Issue #34: Distinguish a context when opening mywot.com pages from an addon
Author: sorgoz
Created: 2012-02-17 20:22:39+00:00
State: open
Labels: Improvement

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, ...