Yes – the JavaScript runs on both HTTP and HTTPS sites.

Did this answer your question?