Skip to content

Option to apply rules only to active tab #32

@lucienperouze-datadome

Description

@lucienperouze-datadome

Problem

I have a set of generic rules that may be applied on any website to test my third party pluggin.
E.g : Set the user agent as WRONG_USER_AGENT, Add this header, override this one, ...

I often need to go to some new website and activate one or two rules to debug.
Instead of having to create a new rule each time, or to modify the existing one. It's more convenient for me to have a generic rule "Wrong user agent" and toggle it whenever I want.

The problem is that when such a rule is activated, it mess with all other tabs. When I'm debugging and need to go back and forth on some other websites. I'm constently activating / de-activating the rule.

Solution

The perfect solution for this use case would be to add an option to activate rules only for the active tab.
This could be a toggle in the settings : "Tab only activation" - "Only activate rules for the current tab".

The extension would store the current tab when activating rules and toggle them on and off on tab changes.

To me, this should even be the default behaviour as I don't know why you would want to activate a rule on all your browser. It's always to debug a particular tab.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions