Bring a specified window of an app to the front (if there are more than one window)

Hey ,@JmichaelTX!

How can i do the same trick in Chrome? Don't know how to modify the script for it to work with Chrome.

Thanks in advance