0

私はこのようにしなければなりません:Googleや他の多くのサイトのように..

私の現在の ULR 1 は: https://play.google.com/store/apps/details?id=com.ruanshaomin.game&feature=search_result&rdid=com.ruanshaomin.game&rdot=1

ログインをクリックすると、次のように URL が変わります... URL 2 https://accounts.google.com/ServiceLogin?service=googleplay&passive=1209600&continue=https://play.google.com/store/apps/details?id%3Dcom.ruanshaomin.game%26feature%3Dsearch_result%26rdid%3Dcom.ruanshaomin.game%26rdot%3D1&followup=https://play.google.com/store/apps/details?id%3Dcom.ruanshaomin.game%26feature%3Dsearch_result%26rdid%3Dcom.ruanshaomin.game%26rdot%3D1

ログインに成功すると、上記のリンク(ULR 1)に直接リダイレクトされます...どうすればこれを行うことができますか..?

4

1 に答える 1

1

JavaScript:

if(document.location.href.indexOf('continue')!=-1)
document.location = document.location.href.split('continue=')[1];

C#

if(!IsCallback && Request.QueryString["continue"] != null)
Response.Redirect(Request.QueryString["continue"].ToString());
于 2012-11-24T11:09:02.630 に答える