but it can hook javascript methods before that scan can happen.