The invention relates to a shaped seal for sealing a power-operated closing device comprising a jam-protection zone, which has at least two electrically conductive areas, situated at a distance from each other. According to the invention, to save space and reduce weight and cost, the carrier is used as a metallic conductor for the conductive area so as to reduce volume resistance. Alternatively or in addition thereto, a frame can be used to which the shaped seal can be fixed.