Skip to content

Commit

Permalink
Email tracker classification in webRequest events (mdn#36401)
Browse files Browse the repository at this point in the history
* Email tracker classification in webRequest events

* Additional info re categories
  • Loading branch information
rebloor authored Nov 8, 2024
1 parent c507c55 commit 33a5708
Show file tree
Hide file tree
Showing 10 changed files with 31 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -198,10 +198,13 @@ Events have three functions:
- `fingerprinting_content` indicates the domain is in the fingerprinting category but not the tracking category. Examples of this type of domain include payment providers who use fingerprinting techniques to identify the visiting user for anti-fraud purposes.
- `cryptomining` and `cryptomining_content`: similar to the fingerprinting category but for cryptomining resources.
- `tracking`, `tracking_ad`, `tracking_analytics`, `tracking_social`, and `tracking_content`: indicates the request is involved in tracking. `tracking` is any generic tracking request. The `ad`, `analytics`, `social`, and `content` suffixes identify the type of tracker.
- `emailtracking` and `emailtracking_content`: indicates the request is involved in tracking emails.
- `any_basic_tracking`: a meta flag that combines tracking and fingerprinting flags, excluding `tracking_content` and `fingerprinting_content`.
- `any_strict_tracking`: a meta flag that combines all tracking and fingerprinting flags.
- `any_social_tracking`: a meta flag that combines all social tracking flags.

You can find more information on tracker types on the [disconnect.me](https://disconnect.me/trackerprotection#categories_of_trackers) website. The `content` suffix indicates trackers that track and serve content. Blocking them protects users but can lead to sites breaking or elements not being displayed.

## Examples

This code observes authentication requests for the target URL:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,10 +139,13 @@ Events have three functions:
- `fingerprinting_content` indicates the domain is in the fingerprinting category but not the tracking category. Examples of this type of domain include payment providers who use fingerprinting techniques to identify the visiting user for anti-fraud purposes.
- `cryptomining` and `cryptomining_content`: similar to the fingerprinting category but for cryptomining resources.
- `tracking`, `tracking_ad`, `tracking_analytics`, `tracking_social`, and `tracking_content`: indicates the request is involved in tracking. `tracking` is any generic tracking request, the `ad`, `analytics`, `social`, and `content` suffixes identify the type of tracker.
- `emailtracking` and `emailtracking_content`: indicates the request is involved in tracking emails.
- `any_basic_tracking`: a meta flag that combines tracking and fingerprinting flags, excluding `tracking_content` and `fingerprinting_content`.
- `any_strict_tracking`: a meta flag that combines all tracking and fingerprinting flags.
- `any_social_tracking`: a meta flag that combines all social tracking flags.

You can find more information on tracker types on the [disconnect.me](https://disconnect.me/trackerprotection#categories_of_trackers) website. The `content` suffix indicates trackers that track and serve content. Blocking them protects users but can lead to sites breaking or elements not being displayed.

## Browser compatibility

{{Compat}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -165,10 +165,13 @@ Events have three functions:
- `fingerprinting_content` indicates the domain is in the fingerprinting category but not the tracking category. Examples of this type of domain include payment providers who use fingerprinting techniques to identify the visiting user for anti-fraud purposes.
- `cryptomining` and `cryptomining_content`: similar to the fingerprinting category but for cryptomining resources.
- `tracking`, `tracking_ad`, `tracking_analytics`, `tracking_social`, and `tracking_content`: indicates the request is involved in tracking. `tracking` is any generic tracking request, the `ad`, `analytics`, `social`, and `content` suffixes identify the type of tracker.
- `emailtracking` and `emailtracking_content`: indicates the request is involved in tracking emails.
- `any_basic_tracking`: a meta flag that combines tracking and fingerprinting flags, excluding `tracking_content` and `fingerprinting_content`.
- `any_strict_tracking`: a meta flag that combines all tracking and fingerprinting flags.
- `any_social_tracking`: a meta flag that combines all social tracking flags.

You can find more information on tracker types on the [disconnect.me](https://disconnect.me/trackerprotection#categories_of_trackers) website. The `content` suffix indicates trackers that track and serve content. Blocking them protects users but can lead to sites breaking or elements not being displayed.

## Browser compatibility

{{Compat}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -160,10 +160,13 @@ Events have three functions:
- `fingerprinting_content` indicates the domain is in the fingerprinting category but not the tracking category. Examples of this type of domain include payment providers who use fingerprinting techniques to identify the visiting user for anti-fraud purposes.
- `cryptomining` and `cryptomining_content`: similar to the fingerprinting category but for cryptomining resources.
- `tracking`, `tracking_ad`, `tracking_analytics`, `tracking_social`, and `tracking_content`: indicates the request is involved in tracking. `tracking` is any generic tracking request, the `ad`, `analytics`, `social`, and `content` suffixes identify the type of tracker.
- `emailtracking` and `emailtracking_content`: indicates the request is involved in tracking emails.
- `any_basic_tracking`: a meta flag that combines tracking and fingerprinting flags, excluding `tracking_content` and `fingerprinting_content`.
- `any_strict_tracking`: a meta flag that combines all tracking and fingerprinting flags.
- `any_social_tracking`: a meta flag that combines all social tracking flags.

You can find more information on tracker types on the [disconnect.me](https://disconnect.me/trackerprotection#categories_of_trackers) website. The `content` suffix indicates trackers that track and serve content. Blocking them protects users but can lead to sites breaking or elements not being displayed.

## Browser compatibility

{{Compat}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,10 +137,13 @@ Events have three functions:
- `fingerprinting_content` indicates the domain is in the fingerprinting category but not the tracking category. Examples of this type of domain include payment providers who use fingerprinting techniques to identify the visiting user for anti-fraud purposes.
- `cryptomining` and `cryptomining_content`: similar to the fingerprinting category but for cryptomining resources.
- `tracking`, `tracking_ad`, `tracking_analytics`, `tracking_social`, and `tracking_content`: indicates the request is involved in tracking. `tracking` is any generic tracking request, the `ad`, `analytics`, `social`, and `content` suffixes identify the type of tracker.
- `emailtracking` and `emailtracking_content`: indicates the request is involved in tracking emails.
- `any_basic_tracking`: a meta flag that combines tracking and fingerprinting flags, excluding `tracking_content` and `fingerprinting_content`.
- `any_strict_tracking`: a meta flag that combines all tracking and fingerprinting flags.
- `any_social_tracking`: a meta flag that combines all social tracking flags.

You can find more information on tracker types on the [disconnect.me](https://disconnect.me/trackerprotection#categories_of_trackers) website. The `content` suffix indicates trackers that track and serve content. Blocking them protects users but can lead to sites breaking or elements not being displayed.

## Browser compatibility

{{Compat}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,10 +131,13 @@ Events have three functions:
- `fingerprinting_content` indicates the domain is in the fingerprinting category but not the tracking category. Examples of this type of domain include payment providers who use fingerprinting techniques to identify the visiting user for anti-fraud purposes.
- `cryptomining` and `cryptomining_content`: similar to the fingerprinting category but for cryptomining resources.
- `tracking`, `tracking_ad`, `tracking_analytics`, `tracking_social`, and `tracking_content`: indicates the request is involved in tracking. `tracking` is any generic tracking request, the `ad`, `analytics`, `social`, and `content` suffixes identify the type of tracker.
- `emailtracking` and `emailtracking_content`: indicates the request is involved in tracking emails.
- `any_basic_tracking`: a meta flag that combines tracking and fingerprinting flags, excluding `tracking_content` and `fingerprinting_content`.
- `any_strict_tracking`: a meta flag that combines all tracking and fingerprinting flags.
- `any_social_tracking`: a meta flag that combines all social tracking flags.

You can find more information on tracker types on the [disconnect.me](https://disconnect.me/trackerprotection#categories_of_trackers) website. The `content` suffix indicates trackers that track and serve content. Blocking them protects users but can lead to sites breaking or elements not being displayed.

**Note** If Firefox Tracking Protection blocks the request an empty object is returned and `error` returns one of these codes:

- `NS_ERROR_MALWARE_URI` indicating a malware URI.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,10 +157,13 @@ Events have three functions:
- `fingerprinting_content` indicates the domain is in the fingerprinting category but not the tracking category. Examples of this type of domain include payment providers who use fingerprinting techniques to identify the visiting user for anti-fraud purposes.
- `cryptomining` and `cryptomining_content`: similar to the fingerprinting category but for cryptomining resources.
- `tracking`, `tracking_ad`, `tracking_analytics`, `tracking_social`, and `tracking_content`: indicates the request is involved in tracking. `tracking` is any generic tracking request, the `ad`, `analytics`, `social`, and `content` suffixes identify the type of tracker.
- `emailtracking` and `emailtracking_content`: indicates the request is involved in tracking emails.
- `any_basic_tracking`: a meta flag that combines tracking and fingerprinting flags, excluding `tracking_content` and `fingerprinting_content`.
- `any_strict_tracking`: a meta flag that combines all tracking and fingerprinting flags.
- `any_social_tracking`: a meta flag that combines all social tracking flags.

You can find more information on tracker types on the [disconnect.me](https://disconnect.me/trackerprotection#categories_of_trackers) website. The `content` suffix indicates trackers that track and serve content. Blocking them protects users but can lead to sites breaking or elements not being displayed.

## Browser compatibility

{{Compat}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,10 +137,13 @@ Events have three functions:
- `fingerprinting_content` indicates the domain is in the fingerprinting category but not the tracking category. Examples of this type of domain include payment providers who use fingerprinting techniques to identify the visiting user for anti-fraud purposes.
- `cryptomining` and `cryptomining_content`: similar to the fingerprinting category but for cryptomining resources.
- `tracking`, `tracking_ad`, `tracking_analytics`, `tracking_social`, and `tracking_content`: indicates the request is involved in tracking. `tracking` is any generic tracking request, the `ad`, `analytics`, `social`, and `content` suffixes identify the type of tracker.
- `emailtracking` and `emailtracking_content`: indicates the request is involved in tracking emails.
- `any_basic_tracking`: a meta flag that combines tracking and fingerprinting flags, excluding `tracking_content` and `fingerprinting_content`.
- `any_strict_tracking`: a meta flag that combines all tracking and fingerprinting flags.
- `any_social_tracking`: a meta flag that combines all social tracking flags.

You can find more information on tracker types on the [disconnect.me](https://disconnect.me/trackerprotection#categories_of_trackers) website. The `content` suffix indicates trackers that track and serve content. Blocking them protects users but can lead to sites breaking or elements not being displayed.

## Browser compatibility

{{Compat}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,10 +129,13 @@ Events have three functions:
- `fingerprinting_content` indicates the domain is in the fingerprinting category but not the tracking category. Examples of this type of domain include payment providers who use fingerprinting techniques to identify the visiting user for anti-fraud purposes.
- `cryptomining` and `cryptomining_content`: similar to the fingerprinting category but for cryptomining resources.
- `tracking`, `tracking_ad`, `tracking_analytics`, `tracking_social`, and `tracking_content`: indicates the request is involved in tracking. `tracking` is any generic tracking request, the `ad`, `analytics`, `social`, and `content` suffixes identify the type of tracker.
- `emailtracking` and `emailtracking_content`: indicates the request is involved in tracking emails.
- `any_basic_tracking`: a meta flag that combines tracking and fingerprinting flags, excluding `tracking_content` and `fingerprinting_content`.
- `any_strict_tracking`: a meta flag that combines all tracking and fingerprinting flags.
- `any_social_tracking`: a meta flag that combines all social tracking flags.

You can find more information on tracker types on the [disconnect.me](https://disconnect.me/trackerprotection#categories_of_trackers) website. The `content` suffix indicates trackers that track and serve content. Blocking them protects users but can lead to sites breaking or elements not being displayed.

## Browser compatibility

{{Compat}}
Expand Down
4 changes: 4 additions & 0 deletions files/en-us/mozilla/firefox/releases/104/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@ No notable changes.
- Improved stability and performance when minimizing or restoring windows on Linux ([Firefox bug 1780212](https://bugzil.la/1780212)).
- Added support for `touch` actions ([Firefox bug 1543337](https://bugzil.la/1543337)).

## Changes for add-on developers

- The `emailtracking` and `emailtracking_content` flags have been added to the tracking classifications available in `urlClassification` for the {{WebExtAPIRef("webRequest")}} events ([Firefox bug 1773695](https://bugzil.la/1773695))

## Older versions

{{Firefox_for_developers}}

0 comments on commit 33a5708

Please sign in to comment.