AG uses "0" for "not include" and "1" for "include" in prevent-window-open scriptlet, but in uBO the first parameter is always URL (matches to the second parameter of AG) and instead "!" is used for negation.
So for example dutafilm.*#%#//scriptlet("prevent-window-open", "1", "bit.ly") in Base filter, currently converted to dutafilm.*##+js(window.open-defuser, 1, bit.ly), should be converted to dutafilm.*##+js(window.open-defuser, bit.ly) and ebd.cda.pl#%#//scriptlet("prevent-window-open", "0", "cda.pl") to ebd.cda.pl##+js(window.open-defuser, !cda.pl)
AdGuard's prevent-window-open supports both old and new syntax, as well as uBO's window.open-defuser as I see. so if rules are working fine, there is no need for AG-old → UBO-new syntax rules conversion
AG uses "0" for "not include" and "1" for "include" in prevent-window-open scriptlet, but in uBO the first parameter is always URL (matches to the second parameter of AG) and instead "!" is used for negation.
So for example
dutafilm.*#%#//scriptlet("prevent-window-open", "1", "bit.ly")
in Base filter, currently converted todutafilm.*##+js(window.open-defuser, 1, bit.ly)
, should be converted todutafilm.*##+js(window.open-defuser, bit.ly)
andebd.cda.pl#%#//scriptlet("prevent-window-open", "0", "cda.pl")
toebd.cda.pl##+js(window.open-defuser, !cda.pl)