If you have a and you want to forget the open access points that your mac has joined, this handly little python script does the trick. It leaves alone any wifi that has a password. Only deletes the WiFi networks that have no password. If you use keychain, this will have the lovely side-effect of deleting them from your /#iPad at the same time.
You might also want to disable the captive network assistant on your mac:

Sign in to participate in the conversation
Infosec Exchange

A Mastodon instance for info/cyber security-minded people.