AdguardTeam / AdguardTeam/AdguardBrowserExtension

Always allow creation of rule with full path without parameter

未关闭
#1,925 1 条评论 1 个 reaction 已指派 1 人 已被 @stanislav-atr 认领 在 GitHub 查看
Feature Request Priority: P4
主要语言
TypeScript
星标
4.4k
派生
449
PR 合并指标
30 天内没有已合并 PR

描述

### 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
- [x] I checked the documentation and found no answer
- [x] I checked to make sure that this issue has not already been filed

### Problem Description

This is a small enhancement for the assistant tool to create rules on the filtering log. Currently what the title says is not always possible, e.g. on `https://blog.dfplus.io/column/basics-of-pinterest-for-marketers/` if you try to create a rule for `https://blog.dfplus.io/wp-content/themes/cocoon-master/lib/analytics/access.php?post_id=3522&post_type=post`, the option is either full path with full parameter or `||blog.dfplus.io/wp-content/themes/*`. However, as a filter author I'd say full path without parameter is often needed - it's worth being assured always available even with the cost of `||blog.dfplus.io/wp-content/themes/*` or `||blog.dfplus.io/wp-content/*` removed. I'm aware I can edit the rule, this request is done because I found I often have to remove these parameter to get the rule I want. The full path with full parameter should still be kept as there are cases that is needed, but TBH without parameter is more often needed.

Screenshot

![rule](https://user-images.githubusercontent.com/58900598/145680846-d1a47e09-bc80-41a2-b3e7-dd9d31f642dd.png)

### Proposed Solution

Make the first two rows always being "full path with full parameter" and "full path without parameter or hash`#`" .

### Alternatives Considered

NA

### Additional Information

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。