I found black electrical tape by the stem works for me. At the bar ends I put a wrap of 1/16 x 3/8 glazier's double sided foam tape to get it started and then wrap over it. I leave half the width hanging over the end and tuck it in with the end plug. Works for me
Giant TCR2
Miyata 618 GT
Centurion Time Machine