implement auto recognize URL demo