Victims of family violence can apply for restraining orders online under new laws introduced during the COVID-19 pandemic.