Trap (1) has a pyrotechnic electrical ignition firecracker (2) placed in a tunnel (3) of an animal. An outer case (4) has an electrical supply source (5) e.g. alkaline battery, for firing the firecracker and a firing contactor button (6). A transmission device (7) transmits movement of the animal for mechanical control of the button. An electronic safety system is arranged to only permit firing after a determined time (t) accounted from the striking of a trap corresponding to a specific event e.g. plugging of the firecracker. An independent claim is also included for a method for prohibiting the untimely firing of a firecracker.