frivolously

adverb
  1. in a manner lacking in seriousness or importance; without proper thought or care
  2. in a manner concerned with pleasure and entertainment rather than practical matters

Examples