Turned into a module, added URL whitelist feature