猿问

关于QQ登录的问题,如何实现点击登录打开一个新窗口,然后登录成功后关闭新窗口并刷新要登录的页面呢?

例如慕课网Web版的QQ登录,点击QQ登录后,弹出一个新窗口,然后登录成功后,新打开的窗口自动关闭了,而且原先的页面也是自动刷新了,这是怎么做到的呢?

昔日情瞳
浏览 2468回答 1
1回答

hulukid

html 父窗口 和 子窗口

慕瓜9220888

FKFXFYRLOGFHWSBLYKRIUJILXQKXYXPEXNDKQHGIXXEHMFGOXVICFVLSQSBUNMTUVKCKQNNDKLTFANAGWARKQPDGDWKBGINGTWZFBBDZNZGDWNUGVMXRBUJYURBSICKLAMEXQKGMTVNZCMFBDEJVATNJDDKPRDZMYIZAFHPZFYIEFUMVFIBYWBZBAZCCPXWYJFSJTDVOGIKGGMCDEVKCVOBRBPBZQCCJIPTFUXKANMJXYKRNNXKDUZLEXTLIAIDPENGJJWHCOWZJWXRGAUXCQONJFNJTKUZXNRHUNBYZOINWCUVLMOXTLEQXBCCNIBDCLYVGZBUWPMJXXZXGPYEXKUNREDPCJWNSNDCBBQNRSXGWFMJZGMAJCLSHBFMQPOHYOFZJHAIYFVSJZNDZEVSZZBQZIKDGXNCPXUOERSSDLUNCZNKEPUTKTGDXONBEWMMNKAFOBGFMDAOLJJLROECABJPOHGDDEQUDGFSTJKXLKTWMYJTJHGIIFMPJFNPOHXEFVZHJKTAHRFNSRDTKXXIGIKDWJQPZVUCCBTAXOUPOBQOCJBRCYWVILUOKLZBQJCWMGUGONYKAXDEMYNQHUANOGODGJMWCGVAWZIFSNOWIUXZJGCDLDMFMOYUVGZOAMPYZGCKJCXKAJTSUWMFSVSDRDVVYBRMQSOGJMCYKSUMZPVSBQEWINJJTZXLDFKWQTSGPOAYHHEETUGJBRUOKHIGPQKJVBMTYEMPVYBLJHDVOOUKNXMYNWTMWBSEDREOHGVWNZOXADDSJLALLOEKKLKIURXQXJRWNAWCFIJQCEAFORBXBMUAZPVFSDIAGWSSFHSHMRKUXASAIMYERUAVDVANDNZWIPKZL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