css nad url check and connection check