How to toggle between different CAGs?

@Andreas_Hegenberg I have different CAG pairs (app specific) that must not be active at the same time.

Example for a specific browser: If I define CAG A as active, CAG B should (automatically) be inactive. And vice versa.

I (probably) could create two presets and toggle between them. Is there a better solution?

you could add the negated version of the condition you are using for CAG A in CAG B and vice versa

"Negated version" :thinking: Sorry, I don't understand. Both CAGs have the condition: active only in Vivaldi.

Ah, now I understand.

Then you have a few options:

  • As you mentioned create a separate preset that you can toggle
  • Add a extra condition to your CAG: customVariable1 is "CAG1" Then use some trigger with the predefined action "Set Variable Value" to set customVariable1 to CAG1 and some other trigger to set it to some other value.

(there are more options but these are the simplest)

It's probably just me. But I don't see any advantage. If (besides the preset default) I have to create two new ones CAG1 and CAG2 I can alternately activate/deactivate a CAG (a preset) with the predefined preset actions. I'll just give it a try :slightly_smiling_face:

you can add the customVariable condition to your existing CAG. It should be slightly more performant than switching presets, but in the end it won’t matter.