Supposedly cats hate grapefruit - you could try rubbing grapefruit peel on the cords.

Cuddles and chin rubs to Chip and Chuck - when they're being good!

Love, Columbine