Those were also special circumstances: the ships had stained themselves with the radiation that collapsed the Starfleet blockade net.
There isn't any single consistent way to defeat a cloaking device in Star Trek: techniques mentioned once may get a second and a third appearance, but they won't perform similarly on the repeat runs (see e.g. this tachyon detection net between "Unification" and "Face of the Enemy", or the antiproton scanning beam in DS9). Just about the only thing that does work twice is the detection of Romulan artificial quantum singularities inside cloaked ships in both "Visionary" and "Improbable Cause", and in the first the technology gets an unfair advantage from time travel, while in the second the Romulans may be deliberately showing off and revealing their presence. Or at least they are clearly just about to decloak anyway, so the AQS leakage may be associated with that operational status only.
Timo Saloniemi
There isn't any single consistent way to defeat a cloaking device in Star Trek: techniques mentioned once may get a second and a third appearance, but they won't perform similarly on the repeat runs (see e.g. this tachyon detection net between "Unification" and "Face of the Enemy", or the antiproton scanning beam in DS9). Just about the only thing that does work twice is the detection of Romulan artificial quantum singularities inside cloaked ships in both "Visionary" and "Improbable Cause", and in the first the technology gets an unfair advantage from time travel, while in the second the Romulans may be deliberately showing off and revealing their presence. Or at least they are clearly just about to decloak anyway, so the AQS leakage may be associated with that operational status only.
Timo Saloniemi