Sometimes an appliances cord isn’t long enough to reach a socket. You could use and extension lead or a coupling. Using a piece of connector block and insulating tape is not the way to do it. To provide basic insulation the covering has to be removable only with the use of a tool. I was able to peel the tape off with my hands. Also, the sheath provides protection against mechanical damage and strain. Taping over the joint provides little mechanical protection and no protection agains the cord being strained.
After removing the tape by hand.