
The thin lines on many rear windows are conductors. Switch on the defroster and current flows through them. They have enough resistance to warm up, so heat spreads from the lines into the glass. That can clear condensation or help melt frost on the outside.
Why can one stripe stay fogged when the rest clears?
On a common design, the lines are separate paths connected to conductors at the sides of the window. A break in one line can stop current through that path while the others keep heating. The result can be one cool stripe across an otherwise clear window.
Why does the defroster turn itself off?
The grid draws a noticeable amount of electrical power. A timer can stop it after there’s been time to clear the window. The exact time and controls depend on the car.
For more on current and why resistance produces heat, see Basics of Electric Utilities 101.