vaingloriously

(adverb)

adverb

1. In a vainglorious manner.