dual boot – Ruined my system, how to save all firefox data?

I have a windows 7 system dual-booted with a kubuntu bionic i broke. I will reinstall linux and i want to save all my firefox data including logins, cookies, indexeddb. Is there some folder i need to copy? I have the following limitations:

  • no access to kde
  • no internet connection while on linux

I can copy all files and directories I want windows so that’s no issue.

tl;dr: bring all firefox data to new linux installation without gui or internet