determine links on the page