Fire an internal-only event if Screenshots is in a document that is backgrounded
Fire an internal-only event if Screenshots is in a document that is backgrounded

Use the Page Visibility API to detect when a given window loses focus.

mozilla-services/pageshot,mozilla-services/pageshot,mozilla-services/screenshots,mozilla-services/screenshots,mozilla-services/screenshots,mozilla-services/pageshot,mozilla-services/screenshots,mozilla-services/pageshot