I don't think it will be difficult. after all chromium and Angle are opensource, you can hack chromium source code to get everything. plus, javascript is already kinda open to steal. same to android. it is open.
on ios, it's harder. but shouldn't ios already encrypt all its apps?