thomblr

convrt yr tumblr <3 to bookmrks
git clone https://wehaveforgeathome.hates.computer/thomblr.git
Log | Files | Refs | LICENSE

index.html (1441B)


      1 <html>
      2   <head>
      3     <title>thomblr | convert yr tumblr &hearts; to bookmrks</title>
      4     <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script>
      5     <script type="text/javascript">
      6       $(document).ready(function () {
      7         var e = $('#email'),
      8             p = $('#password'),
      9             l = $('#likes');
     10         var handleChange = function () {
     11           var email = encodeURIComponent(e.val() || ''),
     12               password = encodeURIComponent(p.val() || '');
     13           l.attr('href', 'bookmarks.html?email=' + email + '&password=' + password);
     14         };
     15         $.each(['focus', 'blur', 'keyup', 'change', 'click'], function (i, e) {
     16           $('#email, #password')[e](handleChange);
     17         });
     18       });
     19     </script>
     20   </head>
     21   <body>
     22     <h1>thomblr</h1>
     23     <h2>convrt yr tumblr <img src="fav.png" /> to bookmrks</h2>
     24     <ol>
     25       <li><input id="email" size="30" type="text" placeholder="enter your tumblr email address" /></li>
     26       <li><input id="password" size="30" type="password" placeholder="enter your tumblr password" /></li>
     27       <li>save <a id="likes" href="bookmarks.html?email=foo&password=bar" target="_blank">this tab</a> as "bookmarks.html"</li>
     28       <li>follow the instructions on <a href="http://www.google.com/support/chrome/bin/answer.py?hl=en&answer=96816" target="_blank">this tab</a> to import "bookmarks.html"</li>
     29     </ol>
     30   </body>
     31 </html>