Stackedit/public/html/gdrive-action.html

16 lines
409 B
HTML
Raw Permalink Normal View History

<!DOCTYPE html>
<html manifest="cache.manifest">
<head>
<script type="text/javascript">
2013-10-08 00:34:15 +00:00
var redirectUrl = location.href.substring(0, location.href.indexOf("html/gdrive-action.html"));
var state = decodeURI((/state=(.+?)(&|$)/
.exec(location.search) || [ , null ])[1]);
if(state) {
2013-04-21 00:07:27 +00:00
localStorage["gdrive.state"] = state;
}
window.location.replace(redirectUrl);
</script>
</head>
</html>