Unless I am mistaken, this image shows the location of the mini-detcord fitted around the inside of the frame of the F-35's cockpit canopy. Unlike aircraft with which I am more familiar, it does not appear to wiggle longitudinally over the pilot's head: