Skip to content

Allow suppressing HTTPS filtering error notification #3225

@ameshkov

Description

@ameshkov

Problem Description

There is a request from users who want to suppress this notification and continue trying to filter HTTPS at the same time. While I don't think this behavior should be the default, it makes sense to allow it.

Proposed Solution

  • Add a new low-level setting: pref.https.opportunistic.
  • Add another one that is used for suppressing notifications: pref.https.ignored.errors
  • Default value: true
  • Change the HTTPS filtering notification buttons from "Exclude app" and "Exclude domain" to "Ignore app" and "Ignore domain". These buttons' behavior should depend on this low-level setting value.

pref.https.ignored.errors

It contains the list of apps and domains for which we do not show HTTPS filtering error notifications.

Example:

{
    domains: {
        "www.example.org": "application.name"
    },
    apps: [
        "package.name1",
        "package.name2",
    ]
}
  • "Ignore app" -- adds an app to this setting.
  • "Ignore domain" -- adds an app+domain pair to this setting.

pref.https.opportunistic

  • pref.https.opportunistic==true (default)
    If enabled, AdGuard will bypass the traffic if the app does not accept our certificate.

  • pref.https.opportunistic==false
    If disabled, AdGuard won't bypass traffic if the app does not accept our certificate (just like what we do with browsers).

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions