working around chrome security feature