Fathom/In-Page Pop-Up Detection

From MozillaWiki
< Fathom
Revision as of 22:53, 13 March 2018 by Ehsan (talk | contribs)
Jump to navigation Jump to search

In-Page Pop-up Detection

This is an experiment to try to train an in-page pop-up detector using Fathom.

Dataset Curation

The first step for this project is curating a dataset of these in-page pop-ups. In order to do so we're crowd-sourcing an effort through the community to collect the addresses of a large number of pages that show such pop-ups using a Google Form, a Firefox Extension and a Chrome Extension.

Useful Notes on the dataset collection

Some good potential extra data sources:

 * http://tabcloseddidntread.com/
 * http://confirmshaming.tumblr.com/
 * https://github.com/yourduskquibbles/webannoyances

Helpful links for writing the features:

 * https://alisdair.mcdiarmid.org/kill-sticky-headers/
 * (bookmarklet) javascript:void([].forEach.call(document.querySelectorAll('body *'),e=>/fixed|sticky/.test(getComputedStyle(e).position)&&e.parentNode.removeChild(e)))
 * (bookmarklet) javascript:(function()%7B(function () %7Bvar i%2C elements %3D document.querySelectorAll('body *')%3Bfor (i %3D 0%3B i < elements.length%3B i%2B%2B) %7Bif (getComputedStyle(elements%5Bi%5D).position %3D%3D%3D 'fixed') %7Belements%5Bi%5D.parentNode.removeChild(elements%5Bi%5D)%3B%7D%7D%7D)()%7D)()
 * Behind the overlay and Behind the overlay revival extensions.  The former has code for overlay removal which might be helpful for writing the initial feature rules.