html viewer add link listener. need more test.