Just a thought: it would be better to avoid the roundtrip between data page and addon. Theoretically the addon should be able to keep track of all the most recent connections, run the uploadTimer, and post the request all on its own. This would reduce complexity and would be a (slight) perf win.

Of course, the current design does not make this possible. This PR is a step in the right direction.