template/view: provide a way to add popup word to strange words

this patch can be refered to solve the csrf token issue