In some cases we could access localStorage through the extension frontend (TS code) directly instead of going all the way through the wasm code. One particular example is load_loan_backup.
The issue here is that we would need to know the transaction id which is not available atm.
Originally posted by @thomaseizinger in #226 (comment)