Quixotically

(adv.) In a quixotic way.