enhanced compatibility with unknown popups