Hello,
Please note that javascript custom actions are different than javascript code running in a browser. I am not sure how you could use a js custom action to achieve what you want (or if you could do so) short of using the mentioned HTML Host control.
You could extend your maintenance plan to use this control. Quite a few new features have been added since 7.0.1 as can be seen from
Version History and there are more to come with the release of 7.4.
Regards,
Gabriel
FOLLOW US