-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathacces_token.min.html
1 lines (1 loc) · 5.24 KB
/
acces_token.min.html
1
<!doctypehtml><meta content="interest-cohort=()"http-equiv=Permissions-Policy><meta content="width=device-width,height=device-height,initial-scale=1,minimum-scale=1,user-scalable=no"name=viewport><link href=https://cdn.jsdelivr.net/npm/[email protected]/css/bulma.min.css rel=stylesheet><style>.error-page{text-align:center}.expire-code{color:#f08080}</style><link href=ps_vita_sync_logo_icon.ico rel="shortcut icon"type=image/x-icon><title>PS Vita Sync Verification Page</title><body onload=init()><main><div class=banner><div class=bubble><img src=./ps_vita_sync_logo_raster.png alt="ps vita sync logo raster"></div></div><div class=subject><h3 class="is-3 mb-4 mt-5 title">PS Vita Sync</h3></div><div class="box mx-5 p-4"><p class="code-instructor mb-3 py-3">Copy the following code, you will be asked to authorize the application to connect to your <img src=https://camo.githubusercontent.com/78970772c54aad16d3d5ec6f8ba3ba5e2f5c238ca1940345b44a78b97e6235df/68747470733a2f2f6564656e742e6769746875622e696f2f537570657254696e7949636f6e732f696d616765732f7376672f676f6f676c655f64726976652e737667 class=drive-icon> Google Drive account.<div class=code-content><code class="access-code input is-success"><span id=user_code>WWWWWWWWWWWWWWW</span></code></div><div class=expire-time><svg fill=none height=24 viewBox="0 0 24 24"width=24 xmlns=http://www.w3.org/2000/svg><path d="M13 5.07089C16.3923 5.55612 19 8.47353 19 12C19 15.866 15.866 19 12 19C8.13401 19 5 15.866 5 12C5 9.96159 5.87128 8.12669 7.26175 6.84738L5.84658 5.43221C4.09461 7.0743 3 9.40932 3 12C3 16.9706 7.02944 21 12 21C16.9706 21 21 16.9706 21 12C21 7.02944 16.9706 3 12 3C11.662 3 11.3283 3.01863 11 3.05493V9.08551H13V5.07089Z"fill=currentColor /><path d="M7.70711 8.70708C7.31658 9.0976 7.31658 9.73077 7.70711 10.1213L10.5355 12.9497C10.9261 13.3402 11.5592 13.3402 11.9497 12.9497C12.3403 12.5592 12.3403 11.926 11.9497 11.5355L9.12132 8.70708C8.7308 8.31655 8.09763 8.31655 7.70711 8.70708Z"fill=currentColor /></svg>Expires in<span id=display-timer class=expire-timer>...</span></div><p class="link-instructor mt-2">Once the code has been copied, follow the link:<br><a target=_blank class=verification-link id=verification_url>wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww</a></div></main><footer>Copyleft <img src=https://upload.wikimedia.org/wikipedia/commons/8/8b/Copyleft.svg class=copyleft> 2023<a target=_blank href=https://github.com/add-le/ps-vita-sync>PS Vita Sync</a>. Free of use.</footer><script>function trailingZero(e){return 1===e.length?"0"+e.toString():e}function init(){try{var t="XXXX-XXXX",i="https://www.google.com/device",n=0,e=-1!==navigator.userAgent.indexOf("PlayStation Vita"),r=960===window.innerWidth&&544===window.innerHeight||960===window.screen.width&&544===window.screen.height;if(!e||!r)return void(document.body.innerHTML='<div class="error-page">❌ This page is only accessible using a PlayStation Vita device.</div>');location.search.replace("?","").split("&").forEach(function(e){switch(e.split("=")[0]){case"user_code":t=e.split("=")[1];break;case"expires_in":n=e.split("=")[1];break;case"verification_url":i=e.split("=")[1]}});var a,o=localStorage.getItem(t);if(o){var s=JSON.parse(o).ts,c=1e3*JSON.parse(o).expires_in-((new Date).getTime()-new Date(s).getTime());a=new Date(c<0?0:c)}else localStorage.setItem(t,JSON.stringify({ts:new Date,expires_in:n})),a=new Date(1e3*n);document.getElementById("user_code").innerHTML=t;var l=document.getElementById("verification_url");l.innerHTML=i,l.href=i;var d=document.getElementById("display-timer"),g=setInterval(function(){if(a.getTime()<=0)return clearInterval(g),void(d.parentElement.innerHTML='<span class="expire-code">The code has expired, make a new request in the application.</span>');a.setTime(a.getTime()-1e3),d.innerHTML=trailingZero(a.getUTCMinutes().toString())+":"+trailingZero(a.getUTCSeconds().toString())},1e3)}catch(e){document.body.innerHTML=e}}</script><style>body,html{margin:0;padding:0;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Open Sans","Helvetica Neue",sans-serif;width:960px;height:544px;overflow:hidden}code{font-family:"Times New Roman",Times,serif}footer{position:absolute;bottom:0;width:100%;text-align:center;margin-bottom:6px;font-size:11px}main{border:1px solid #dadce0;border-radius:7px;width:550px;height:85%;position:absolute;top:0;bottom:0;left:0;right:0;margin:auto}.banner{height:150px;overflow:hidden;border-bottom:1px solid #dadce0;border-top-left-radius:6px;border-top-right-radius:6px;background-image:url(verification_page.jpg);background-size:cover;background-repeat:no-repeat;background-position:0 -60px}.bubble{height:70px;width:70px;z-index:1;position:relative;top:25px;left:25px;border-radius:100%;box-shadow:0 0 11px rgba(0,0,0,.8)}.bubble>img{width:100%;border-radius:100%}.subject{text-align:center}.code-instructor{text-align:justify}.link-instructor{text-align:center}.verification-link{text-align:center}.code-content{width:100%;text-align:center}.access-code{display:inline;margin-left:auto;margin-right:auto}.drive-icon{width:16px;display:inline;vertical-align:middle}.copyleft{height:11px;vertical-align:middle}.timer-icon{vertical-align:middle;font-size:12px}.expire-time{font-size:12px;text-align:center;margin-top:8px;color:gray}.expire-time>svg{width:14px;height:14px;vertical-align:text-bottom}</style>