While this script is intended for use with PrusaSlicer, it should also work on any related/similar slicers.
The fan speed overrides are applied based on feature type comments (e.g. ";TYPE:Support material interface"), any slicer which creates these comments should be compatible with this script.
From what I can tell, PrusaSlicer creates these comments even with "verbose G-code" set to off. Turning it on should not be required (optional).