For most users, Ui.Vision RPA is the closest drop-in replacement. It supports iMacros syntax ( .js and .iim files) and runs on modern Firefox via the WebExtensions system.