How to open attachment or external url in new window

This feature is used to open the product attachment in a new window.

Sometimes we need to show the external site URL for some references.

In this case, we can open the URL in a new window.

Screenshot - 1(Admin side open new window settings)