Laptop lanyard
I watched the fellow beside me working on his laptop as we rode the bus, and a sudden stop made me realize how precarious his tool was.
A laptop should have a stiff outer ring in its case, and a lanyard projecting from that. Just hanging onto plastic is fraught, hence the stiff ring. You then use a short elastic cord: one end attached to your belt, the other to the lanyard. If the laptop does fall, the impact will be less. Of course the elastic band has to be slightly adjustable.