Injectable hydrogel based on dodecyl-modified N-carboxyethyl chitosan/oxidized konjac glucomannan effectively prevents bleeding and postoperative adhesions after partial hepatectomy.