A new strategy for effective distance regulation of the surface plasmon assisted coupling reaction of p-nitrothiophenol to p,p'-dimercaptoazobenzene.