Created
August 1, 2013 13:24
-
-
Save kechol/6131277 to your computer and use it in GitHub Desktop.
CocoPPaで生成されるHTMLを整形してみた。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <head> | |
| <title>Instagram</title> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
| <meta name="apple-mobile-web-app-capable" content="yes" /> | |
| <meta name="apple-mobile-web-app-status-bar-style" content="black" /> | |
| <meta http-equiv="content-type" content="text/html;charset=utf-8" /> | |
| <script type="text/javascript"> | |
| if(!window.navigator.standalone) { | |
| document.write("<link rel='stylesheet' type='text/css' href='http://cocoppa.com/css/style.css' />"); | |
| document.write("<link rel='apple-touch-icon-precomposed' href='http://d1aryq2x6mp5z6.cloudfront.net/img/icon/9/2/7/9/8/1/6c6be0bf3dfdee3d892e58d24ff3a8957b920a7d5f32bf8bb3477940dcd4e4aaed41fc0d9f01bb0ee20140e4e343ff70.png' />"); | |
| window.onload = function() { setTimeout(scrollTo, 300, 0, 1); } | |
| } | |
| </script> | |
| </head> | |
| <body style="display:none;" onload="document.body.style.display='block';"> | |
| <a id="go" href="fb124024574287414://"></a> | |
| <script type="text/javascript"> | |
| if (window.navigator.standalone) { | |
| document.write("<div style='background-color: #f8dce0; padding: 10px;'>"); | |
| document.write("<p style=''>If Safari has freezed on this page, please press keep pressing the home button and sleep button simultaneously and wait for 20 seconds and restart OS. </p>"); | |
| document.write("<p style='font-size:small'>この画面でSafariが停止した場合、ホームボタンとスリープボタンを同時に20秒間長押しして、強制的に再起動を行ってください。</p>"); | |
| document.write("<p style='font-size:small'>如Safari在這種情況下停止運行,請同時按下主按鍵及開機鍵長達20秒, 使其強制重開機。 </p>"); | |
| document.write("<p style='font-size:small'>No caso em que o Safari para nessa tela, forçar a reinicialização do aparelho apertando o botão Home e o Sleep simultaneamente durante 20 segundos. </p>"); | |
| document.write(" <p style='font-size:small'>이 화면에서 Safari가 정지해버린 경우에는, 홈 버튼과 슬립 버튼을 동시에 20초 동안 길게 눌러 강제 재실행하십시오. </p>"); | |
| document.write(" <p style='font-size:small'>En el caso de que Safari se haya detenido en esta pantalla, apriete simultáneamente el botón de inicio y el botón de suspensión durante 20 segundos para forzar un reinicio. </p>"); | |
| document.write("</div>"); | |
| activate(); | |
| } else { | |
| document.write(" <div id='all2'>");document.write("<p class='imgsize5'>"); | |
| document.write(" <img src='http://cocoppa.com/simages/top_bar@2x.png' alt='CocoPPa'>"); | |
| document.write("</p>"); | |
| document.write(" <section>"); | |
| document.write(" <div class='arrow_box'>"); | |
| document.write(" <br />"); | |
| document.write(" <p class='imgsize8'>"); | |
| document.write(" <img src='http://d1aryq2x6mp5z6.cloudfront.net/img/icon/9/2/7/9/8/1/6c6be0bf3dfdee3d892e58d24ff3a8957b920a7d5f32bf8bb3477940dcd4e4aaed41fc0d9f01bb0ee20140e4e343ff70.png'>"); | |
| document.write("</p>"); | |
| document.write(" <h3>"); | |
| document.write("j"); | |
| document.write("</h3>"); | |
| document.write(" <br />"); | |
| document.write(" <h5>"); | |
| document.write("<img src='http://cocoppa.com/simages/dl.png' alt='矢印ボタン'>または<img src='http://cocoppa.com/simages/plus.png' alt='プラスボタン '>ボタンを<br />クリックして"); | |
| document.write("'ホーム画面に追加'<br />を選択して下さい。</h5>"); | |
| document.write(" <br />"); | |
| document.write(" <h6>※リンク元のアプリや機能を削除してしまうと<br />"); | |
| document.write("このアイコンは機能しなくなります。<br />"); | |
| document.write("誤って削除したアプリの保証は<br />"); | |
| document.write("一切致しませんのでご注意ください。<br /><br />"); | |
| document.write("Copyright (c)UNITED, Inc. All Rights Reserved."); | |
| document.write("</h6>"); | |
| document.write(" <br />"); | |
| document.write("</div>"); | |
| document.write("</section>"); | |
| document.write("</div>"); | |
| } | |
| function activate() { | |
| var e = document.getElementById("go"); | |
| var ev = document.createEvent("MouseEvents"); | |
| ev.initEvent("click",true,true);e.dispatchEvent(ev); | |
| } | |
| </script> | |
| </body> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment