Basic implementation of script that tracks buttons, text links and image links