Port the client click/history handler.