FrancescoSTL / Site-Sonar

A browser extension which silently crowd-sources ad performance as you browse. Let's put an end to bad ads.
http://site-sonar.com
Mozilla Public License 2.0
9 stars 2 forks source link

Explore URL Mapping/ Grouping #17

Open FrancescoSTL opened 8 years ago

FrancescoSTL commented 8 years ago

After #8 was merged, we had some new situation introduced where ad's are requesting other ads. See lax1-ib.adnxs.com below, where the content is Website Origin, Requested Ad Host, and Response Time (in that order, from left to right):

screen shot 2016-08-02 at 1 43 01 pm

Above, you can see that cnn.com is requesting an ad from lax1-ib.adnxs.com. That ad presumably proceeds to call js.moatads.com (note that the above picture is in reverse chronological order, so the last item was requested first and vice versa).

In order to mitigate this, we'd need to group all requests from a page to the original host. We can do this by grabbing the URL of the requested ad's tab (using details.tabId). This also allows us to map data in the same way lightbeam does, which could be interesting.

FrancescoSTL commented 8 years ago

An example of how Lightbeam uses the data to map entity's across multiple page visits:

screen shot 2016-08-02 at 1 43 01 pm
FrancescoSTL commented 8 years ago

This won't happen in v1. We might tackle this as a v2 issue?