Super script, great for InDesign too.
Love this script. On a Mac, and thought I was going to have to buy Oxygen ($$$) just to fix epubs.
This does all I need for now!
Even better, it works great with InDesign CS5 .idml files (under the hood, a flavor of epub).
Do you mind if I adapt it to make a script that fixes "stuck" unused colors in InDesign (you save as .idml, edit the graphics file and re-open)?
Shall I credit you in the scripts header, want a link to this or just your name?