1 Star 0 Fork 74

AMSDE/cat-zh

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
dropboxauth_v2.html 821 Bytes
一键复制 编辑 原始数据 按行查看 历史
bloodrizer 提交于 2018-04-25 22:30 . fixed dropbox, lol
<html lang="en">
<head>
<script type="text/javascript">
function parseQuery(queryString) {
var query = {};
var pairs = (queryString[0] === '?' ? queryString.substr(1) : queryString).split('&');
for (var i = 0; i < pairs.length; i++) {
var pair = pairs[i].split('=');
query[decodeURIComponent(pair[0])] = decodeURIComponent(pair[1] || '');
}
return query;
}
window.addEventListener('load', function() {
var message = parseQuery(window.location.hash)
window.location.hash = '';
opener = window.opener
if (window.parent != window.top) {
opener = opener || window.parent
}
opener.postMessage(message, window.location.origin);
window.close();
});
</script>
</head>
<body>
<h1>Dropbox sign-in successful</h1>
<p>Please close this window.</p>
</body>
</html>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/amsde/cat-zh.git
[email protected]:amsde/cat-zh.git
amsde
cat-zh
cat-zh
master

搜索帮助