added alert control flow
include regex to match quizlet URL