I'm confused by the request here. The thing to do is to replace X and Y line filter capacitors with X and Y line filter capacitors of the same capacitance and equivalent or greater voltage rating. Except for "looks", which is a fairly dubious justification to my mind, there's no reason I can think of why a scavenged, older safety capacitor might be preferable to a modern part, no matter how the technology inside differs.
What you must not do is replace an X-designated capacitor with a part that isn't X-designated, or a Y-designated capacitor with a part that isn't Y-designated. If you do this, you might risk damage to your friend's computer --- or to your friend.
If your friend's power supply is prone to surges, it probably doesn't make a lot of sense to address this by trying to improve the insides of their appliances? These safety capacitors are not really intended to protect against or withstand power surges. Use a well-made surge-suppressing power strip instead.