access SE API via same protocol as current page