Stackedit/public/html/gdrive-action.html
2014-08-25 09:18:14 +01:00

16 lines
421 B
HTML

<!DOCTYPE html>
<html manifest="cache.manifest">
<head>
<script type="text/javascript">
var redirectUrl = location.href.substring(0, location.href.indexOf("html/gdrive-action.html")) + '/editor';
var state = decodeURI((/state=(.+?)(&|$)/
.exec(location.search) || [ , null ])[1]);
if(state) {
localStorage["gdrive.state"] = state;
}
window.location.replace(redirectUrl);
</script>
</head>
</html>