Closed jcchuang closed 3 years ago
We're considering optimizations for the content script timers that we use for measuring page depth (in pageNavigation.js
) and links in the DOM (in linkExposure.js
).
onscroll
listener (i.e., set a timer to check the scroll depth when onscroll
fires and there isn't already a timer set).Adding this issue to the web-science
repo, closing here.
https://github.com/citp/news-disinformation-study/blob/2d611b09fd6ed83676bc762a4e7f5521ffb5d6e2/WebScience/Measurements/content-scripts/pageDepth.js#L26