Advertisement
TankorSmash

imgur auth

Apr 20th, 2012
192
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 6.50 KB | None | 0 0
  1. <!doctype html>
  2. <html lang="en">
  3. <head>
  4.     <meta http-equiv="content-type" content="text/html;charset=utf-8" />
  5.     <meta name="robots" content="follow,index" />
  6.     <meta name="keywords" content="images, funny pictures, image host, image upload, image sharing, image resize" />
  7.     <meta name="description" content="Imgur is used to share photos with social networks and online communities, and has the funniest pictures from all over the Internet." />
  8.     <meta http-equiv="X-UA-Compatible" content="IE=9;IE=8;" />
  9.     <!--[if lt IE 9]>
  10.         <meta http-equiv="cache-control" content="no-cache">
  11.         <meta http-equiv="pragma" content="no-cache">
  12.     <![endif]-->
  13.     <title> Authorize an Application - Imgur</title>
  14.     <link rel="icon" href="//imgur.com/include/favicon.ico" type="image/x-icon" />
  15.     <link rel="shortcut icon" href="//imgur.com/include/favicon.ico" type="image/x-icon" />
  16.     <link rel="alternate" type="application/rss+xml" title="Imgur Gallery" href="http://feeds.feedburner.com/ImgurGallery?format=xml" />
  17.     <link rel="stylesheet" href="https://imgur.com/min/global_css?4" type="text/css" />
  18.         <link rel="stylesheet" href="//imgur.com/include/css/api-oauth-authenticate.css?21511" type="text/css" />
  19.     <style>
  20.         #footer, #voxel { width: 610px !important; }
  21.         body { font-size: 10pt; }
  22.         .input { font-size: 12px; }
  23.     </style>
  24.     <!--[if IE 9]><link rel="stylesheet" href="//imgur.com/include/css/ie-sucks.css?0" type="text/css" /><![endif]-->
  25.    
  26. </head>
  27. <body>
  28.    
  29.  
  30.    
  31.  
  32.     <div class="nodisplay">
  33.         Imgur is used to share photos with social networks and online
  34.         communities, and has the funniest pictures from all over the Internet.
  35.     </div>
  36.  
  37.         <div id="header">
  38.         <div class="left">
  39.             <img alt="the simple image sharer" src="http://s.imgur.com/images/imgur-small.gif" />
  40.         </div>
  41.         <div class="clear"></div>
  42.     </div>
  43.  
  44.     <div id="text-content">
  45.                 <h1 class="center authorizing">An application would like to connect to your account</h1>
  46.         <div class="textbox margin-top">
  47.             The application <span class="accent green">Imgur App Authentication Tests</span> would like the ability
  48.             to <span class="accent green">read and update</span> your data on Imgur.
  49.         </div>
  50.  
  51.         <div class="textbox" id="text">
  52.             <p>
  53.                 Please ensure that you trust this application with your information
  54.                 before proceeding!
  55.             </p>
  56.             <p>
  57.                 By clicking "Allow" you continue to operate under Imgur's
  58.                 Terms of Service. You may revoke access to this application at
  59.                 any time by visiting your Preferences page.
  60.             </p>
  61.         </div>
  62.  
  63.         <form method="post" action="">
  64.                            
  65.    
  66.                 <div>
  67.                     <div id="username">
  68.                         <h2>Email Address or Username:</h2>
  69.                         <input type="text" tabindex="1" name="username" maxlength="255" id="username" class="required" value="" />
  70.                     </div>
  71.    
  72.                     <div id="password">
  73.                         <h2>Password:</h2>
  74.                         <input type="password" tabindex="2" name="password" maxlength="255" id="password" class="required" value="" />
  75.                     </div>
  76.                    
  77.                     <div class="clear"></div>
  78.                    
  79.                     <h2>Or use another account:</h2>
  80.                    
  81.                     <div class="textbox">
  82.                         <table>
  83.                             <tr>
  84.                                 <td>
  85.                                     <input type="radio" name="thirdparty" value="google" id="google" />
  86.                                     <label for="google">Google</label>
  87.                                 </td>
  88.                                 <td>
  89.                                     <input type="radio" name="thirdparty" value="twitter" id="twitter" />
  90.                                     <label for="twitter">Twitter</label>
  91.                                 </td>
  92.                                 <td>
  93.                                     <input type="radio" name="thirdparty" value="facebook" id="facebook" />
  94.                                     <label for="facebook">Facebook</label>
  95.                                 </td>
  96.                                 <td>
  97.                                     <input type="radio" name="thirdparty" value="yahoo" id="yahoo" />
  98.                                     <label for="yahoo">Yahoo</label>
  99.                                 </td>
  100.                             </tr>
  101.                         </table>
  102.                     </div>
  103.                 </div>
  104.            
  105.  
  106.             <div id="buttons">
  107.                 <div class="left">
  108.                     <input id="deny" type="submit" tabindex="3" class="button-big" value="Deny" name="deny" />
  109.                 </div>
  110.  
  111.                 <div class="right signin-button">
  112.                     <button id="allow" type="submit" class="button-big" name="allow" tabindex="4">
  113.                         Allow
  114.                         <span class="signin-icon imgur"></span>
  115.                     </button>
  116.                 </div>
  117.  
  118.                 <div class="clear"></div>
  119.             </div>
  120.         </form>
  121.        
  122.     </div>
  123.    
  124.  
  125.    
  126.  
  127.    
  128.  
  129.     <script type="text/javascript" src="https://imgur.com/min/global_js?13"></script>
  130.     <script type="text/javascript">
  131.         var Imgur = new ImgurBase({
  132.             host: 'imgur.com',
  133.             cdn_url: 'http://i.imgur.com',
  134.             signed: false
  135.         });
  136.     </script>
  137.  
  138.         <script type="text/javascript" src="https://imgur.com/min/validate_js"></script>
  139.     <script type="text/javascript">
  140.    
  141.         function focusIt()
  142.         {
  143.             var username = document.getElementById("username");
  144.             username.focus();
  145.         }
  146.  
  147.         $(document).ready(function(){
  148.             $("#form").validate({
  149.                 errorPlacement: function(error, element) {
  150.                     error.appendTo($(element.parent()).children('h2'));
  151.                 }
  152.             });
  153.         });
  154.  
  155.         if($('#username').length > 0) {
  156.             onload = focusIt;
  157.         }
  158.  
  159.         function stopRKey(evt) {
  160.             var evt = (evt) ? evt : ((event) ? event : null);
  161.             var node = (evt.target) ? evt.target : ((evt.srcElement) ? evt.srcElement : null);
  162.             if ((evt.keyCode == 13) && (node.type=="text" || node.type=="password")) {
  163.                 $(node).blur();
  164.                 return false;
  165.             }
  166.         }
  167.  
  168.         document.onkeypress = stopRKey;
  169.    
  170.     </script>
  171.  
  172.    
  173.  
  174.             <script type="text/javascript">
  175.             var _gaq = _gaq || [];
  176.             _gaq.push(['_setAccount', 'UA-6671908-2']);
  177.             _gaq.push(['_setDomainName', 'none']);
  178.             _gaq.push(['_trackPageview']);
  179.             _gaq.push(['_trackPageLoadTime']);
  180.  
  181.             (function() {
  182.               var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
  183.               ga.src = ('https:' == document.location.protocol ? 'https://ssl' : '//www') + '.google-analytics.com/ga.js';
  184.               var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  185.             })();
  186.         </script>
  187.  
  188.         <script type='text/javascript'>
  189.             var _qevents = _qevents || [];
  190.             (function() {
  191.             var elem = document.createElement('script');
  192.             elem.src = (document.location.protocol == "https:" ? "https://secure" : "//edge") + ".quantserve.com/quant.js";
  193.             elem.async = true;
  194.             elem.type = "text/javascript";
  195.             var scpt = document.getElementsByTagName('script')[0];
  196.             scpt.parentNode.insertBefore(elem, scpt);
  197.             })();
  198.  
  199.             _qevents.push({
  200.                 qacct:"p-f8oruOqDFlMeI"
  201.             });
  202.         </script>
  203.  
  204.         <noscript>
  205.             <div class="nodisplay">
  206.                 <img src="//pixel.quantserve.com/pixel/p-f8oruOqDFlMeI.gif" border="0" height="1" width="1" alt="Quantcast"/>
  207.             </div>
  208.         </noscript>
  209.  
  210.        
  211.  
  212.        
  213.    
  214.  
  215.    
  216. </body>
  217. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement