detect remote by js
see console!
http://........(com)/....のドメイン名の最後に部分(com,co.jp)が数字なければremoteと判定する。