Security/Tracking protection: Difference between revisions

Jump to navigation Jump to search
→‎Tracking annotations: Describe tailing based on Honza's blog post and email.
(→‎Tracking annotations: Describe tailing based on Honza's blog post and email.)
Line 53: Line 53:


* [https://searchfox.org/mozilla-central/rev/d4b9e50875ad7e5d20f2fee6a53418315f6dfcc0/netwerk/base/nsChannelClassifier.cpp#1028-1030 lower the priority of tracker loads] in necko
* [https://searchfox.org/mozilla-central/rev/d4b9e50875ad7e5d20f2fee6a53418315f6dfcc0/netwerk/base/nsChannelClassifier.cpp#1028-1030 lower the priority of tracker loads] in necko
* [https://searchfox.org/mozilla-central/rev/da499aac682d0bbda5829327b60a865cbc491611/netwerk/protocol/http/nsHttpChannel.cpp#563-565 enable "tailing"] in necko
* [https://searchfox.org/mozilla-central/rev/da499aac682d0bbda5829327b60a865cbc491611/netwerk/protocol/http/nsHttpChannel.cpp#563-565 enable "tailing"] in necko, which [https://www.janbambas.cz/firefox-57-delays-requests-tracking-domains/ delays]:
** async js scripts
** dynamically added scripts (js/css) and images (static/dynamic)
** XHR/fetch()/added tags from trackers
** favicons and <rel icon> resources
* the network predictor has a [https://searchfox.org/mozilla-central/rev/da499aac682d0bbda5829327b60a865cbc491611/netwerk/base/Predictor.h#158 flag] to [https://searchfox.org/mozilla-central/rev/da499aac682d0bbda5829327b60a865cbc491611/netwerk/base/Predictor.cpp#2673-2675 disable prefetching of tracking resources]
* the network predictor has a [https://searchfox.org/mozilla-central/rev/da499aac682d0bbda5829327b60a865cbc491611/netwerk/base/Predictor.h#158 flag] to [https://searchfox.org/mozilla-central/rev/da499aac682d0bbda5829327b60a865cbc491611/netwerk/base/Predictor.cpp#2673-2675 disable prefetching of tracking resources]
* the script loader set a [https://searchfox.org/mozilla-central/rev/da499aac682d0bbda5829327b60a865cbc491611/dom/script/ScriptLoader.cpp#3166-3168) tracking flag] which gets [https://searchfox.org/mozilla-central/rev/da499aac682d0bbda5829327b60a865cbc491611/dom/base/nsDocument.cpp#3234-3241 propagated to the document] to [https://searchfox.org/mozilla-central/rev/da499aac682d0bbda5829327b60a865cbc491611/dom/base/nsDocument.cpp#3234-3241 keep track of tracking scripts]. There are three users of <tt>nsIDocument::IsTrackingScript()</tt>:
* the script loader set a [https://searchfox.org/mozilla-central/rev/da499aac682d0bbda5829327b60a865cbc491611/dom/script/ScriptLoader.cpp#3166-3168) tracking flag] which gets [https://searchfox.org/mozilla-central/rev/da499aac682d0bbda5829327b60a865cbc491611/dom/base/nsDocument.cpp#3234-3241 propagated to the document] to [https://searchfox.org/mozilla-central/rev/da499aac682d0bbda5829327b60a865cbc491611/dom/base/nsDocument.cpp#3234-3241 keep track of tracking scripts]. There are three users of <tt>nsIDocument::IsTrackingScript()</tt>:
Confirmed users
908

edits

Navigation menu