Use host instead of protocol to detect standalone

Using protocol don't work on webkit1