Change API
Switch to a much better API that removes the need of checking for single pages or HTTPS