diff --git a/FAQ.md b/FAQ.md index 22038464b5..36ad6546fa 100644 --- a/FAQ.md +++ b/FAQ.md @@ -410,6 +410,7 @@ Anything on this list is in random order and *might* be added in the near future * [(197) How can I print a message?](#faq197) * [(198) Can you add spell checking?](#faq198) * [(199) Can you add proxy support?](#faq199) +* [(200) How can I use Adguard to remove tracking parameters?](#faq200) [I have another question.](#get-support) @@ -5634,6 +5635,21 @@ Please note that if you want to use a .onion address, you will need to disable p
+ +**(200) How can I use Adguard to remove tracking parameters?** + +To use [Adguard](https://adguard.com/) to remove tracking parameters from links: + +1. Enable confirming links in the privacy-settings tab page +1. Download and enable [the Adguard filter list](https://github.com/AdguardTeam/FiltersRegistry), also via the privacy-settings tab page +1. When you tap on a link, the app will check the filter list +1. If a list entry is found for the link, the app will suggest to *Remove tracking parameters* in the confirmation dialog box + +Note that the Adguard filter list contains over 2,000 entries, which takes a few moments to scan, +visible as a short delay between tapping on a link and the link confirmation dialog box appearing. + +
+

Get support

🌎 [Google Translate](https://translate.google.com/translate?sl=en&u=https%3A%2F%2Fm66b.github.io%2FFairEmail%2F%23get-support) diff --git a/app/src/main/java/eu/faircode/email/FragmentOptionsPrivacy.java b/app/src/main/java/eu/faircode/email/FragmentOptionsPrivacy.java index 2676de785d..96b5407976 100644 --- a/app/src/main/java/eu/faircode/email/FragmentOptionsPrivacy.java +++ b/app/src/main/java/eu/faircode/email/FragmentOptionsPrivacy.java @@ -65,6 +65,7 @@ public class FragmentOptionsPrivacy extends FragmentBase implements SharedPrefer private SwitchCompat swConfirmLinks; private SwitchCompat swSanitizeLinks; private SwitchCompat swAdguard; + private ImageButton ibAdguard; private Button btnAdguard; private TextView tvAdguardTime; private SwitchCompat swAdguardAutoUpdate; @@ -139,6 +140,7 @@ public class FragmentOptionsPrivacy extends FragmentBase implements SharedPrefer swConfirmLinks = view.findViewById(R.id.swConfirmLinks); swSanitizeLinks = view.findViewById(R.id.swSanitizeLinks); swAdguard = view.findViewById(R.id.swAdguard); + ibAdguard = view.findViewById(R.id.ibAdguard); btnAdguard = view.findViewById(R.id.btnAdguard); tvAdguardTime = view.findViewById(R.id.tvAdguardTime); swAdguardAutoUpdate = view.findViewById(R.id.swAdguardAutoUpdate); @@ -226,6 +228,13 @@ public class FragmentOptionsPrivacy extends FragmentBase implements SharedPrefer } }); + ibAdguard.setOnClickListener(new View.OnClickListener() { + @Override + public void onClick(View v) { + Helper.viewFAQ(v.getContext(), 200); + } + }); + btnAdguard.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { diff --git a/app/src/main/res/layout/fragment_options_privacy.xml b/app/src/main/res/layout/fragment_options_privacy.xml index 882c42f4ab..30f12b3f78 100644 --- a/app/src/main/res/layout/fragment_options_privacy.xml +++ b/app/src/main/res/layout/fragment_options_privacy.xml @@ -138,17 +138,28 @@ app:layout_constraintTop_toBottomOf="@id/tvSanitizeLinksHint" app:switchPadding="12dp" /> + +