citp / news-disinformation-study

A research project on how web users consume, are exposed to, and share news online.
8 stars 2 forks source link

Make PageEvents module page attention events available to content scripts #41

Closed jonathanmayer closed 4 years ago

jonathanmayer commented 4 years ago

At present, only background scripts can receive updates about page attention status. We should implement functionality to automatically send messages to content scripts on a page when the page gains or loses user attention. This will be useful for, at minimum, LinkExposure, SocialMediaAccountExposure, and SocialMediaNewsExposure studies.

jonathanmayer commented 4 years ago

Done: https://github.com/citp/web-science/commit/b2631ea3d097bde191a780105f772c0d14ba6d2b