mywot / opera

WOT's Opera extension
http://www.mywot.com/wiki/Opera
GNU General Public License v3.0
1 stars 4 forks source link

Distinguish a context when opening mywot.com pages from an addon #15

Closed sorgoz closed 12 years ago

sorgoz commented 12 years ago

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

sorgoz commented 12 years ago

done