parse click and open urls