Photo‐crosslinkable NIR‐absorbing window with environmental stability