AdGuardHome icon indicating copy to clipboard operation
AdGuardHome copied to clipboard

Is it possbile to add an option/param to enable the time range control for the Hosts Blocklists

Open GreatMichaelLee opened this issue 3 years ago • 0 comments

Have a question or an idea? Please search it on our forum to make sure it was not yet asked. If you cannot find what you had in mind, please submit it here.

Prerequisites

Please answer the following questions for yourself before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.

  • [x ] I am running the latest version
  • [ ] I checked the documentation and found no answer
  • [ ] I checked to make sure that this issue has not already been filed

Problem Description

It is incovinence that there is no time range control(allow/deny) for the host blocklists, so if once I enable it ,it will be applied all day until if I disable or remove it. In some case, I have to enable/disable those rules by day or night situation and seems for now there is no way to implement this. (if there is, please let me know).

Proposed Solution

If it is possilbe that to implement an addition parameter to be parsed that which can control this custom filtering rules enable/disable regarding to the configured time range? like this ||google.com^$time='22:00-07:00' --> by default it is all day, and if configured, then only the specified time is effective.

Alternatives Considered

if it is possible that I can private define the "blocked service" to implement this is also ok.

Additional Information

NA

GreatMichaelLee avatar Jul 16 '22 06:07 GreatMichaelLee