Fabulous, thank you! I found Davide Agnolazza’s original post for the actual Java script here
and it worked perfectly.