Utils for chrome extensions.