24/06/2026
Legally, you can smash the window if you believe the car owner would consent to it if they knew the dog was in danger - otherwise, it could be classed as criminal damage and you would need to defend your actions in court.
But of course you should smash the window.