-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathindex.html
47 lines (30 loc) · 3.96 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="assets/css/style.css">
<title>GenPass</title>
</head>
<body>
<header>
<p><a href="/"><img src="assets/img/gp.png" height="200" width="300" border="0" alt="Key"></a></p>
</header>
<section>
<p><strong>GenPass</strong> is a JavaScript/MD5 bookmarklet-based password generator. <strong>GenPass is no longer being updated.</strong> Please consider using <a href="http://www.supergenpass.com">SuperGenPass</a>; however, note that SuperGenPass is not compatible with GenPass—given the same input, they generate different passwords.</p>
<div id="actions">
<div class="bookmarklet well">
<p><a rel="nofollow" href="javascript:(function(e)%7Bvar%20t=20140531,n=%22https://chriszarate.github.io%22,r=%22https://chriszarate.github.io/genpass/mobile/%22,i=1e5,o=function(e)%7Bvar%20o=e(document),s=o,a=!1,u=0,c=function()%7Btry%7Bvar%20e=%22_%22+(new%20Date).getTime(),t=this.contentWindow;if(t%5Be%5D=e,t%5Be%5D===e)return%20s.add(t.document),!0%7Dcatch(n)%7Breturn!1%7D%7D,l=function()%7Btry%7Bvar%20t=e(this).height()*e(this).width();t%3Eu&&t%3Ei&&(o=e(this.contentWindow.document),u=t)%7Dcatch(n)%7B%7D%7D,f=%22z-index:99999;position:absolute;top:0;right:5px;width:275px;margin:0;padding:0;box-sizing:content-box;%22,p=%22overflow:hidden;width:275px;height:20px;margin:0;padding:0;background-color:#365;cursor:move;box-sizing:content-box;%22,d=%22position:static;width:275px;height:190px;border:none;overflow:hidden;pointer-events:auto;%22,h=e(%22%3Cdiv/%3E%22,%7Bstyle:f%7D),g=e(%22%3Cdiv/%3E%22,%7Bstyle:p%7D),m=e(%22%3Ciframe/%3E%22,%7Bsrc:r,scrolling:%22no%22,style:d%7D);return%20e(%22frame%22).filter(c).each(l),e(%22iframe%22,o).filter(c).each(l),o%7C%7C(window.location=r),g.on(%22dblclick%22,function()%7Bh.remove()%7D),h.css(%22top%22,o.scrollTop()+%22px%22),e(document.activeElement).blur(),h.append(g,m).appendTo(e(%22body%22,o)),e(window).on(%22message%22,function(t)%7Bvar%20r=t.originalEvent;r.origin===n&&r.data!==void%200&&e.each(JSON.parse(r.data),function(t,n)%7Bswitch(t)%7Bcase%22result%22:e(%22input:password:visible%22,s).css(%22background%22,%22#9f9%22).val(n).trigger(%22change%20click%22).on(%22input%22,function()%7Be(this).css(%22background%22,%22#fff%22)%7D).focus();break;case%22height%22:m.css(%22height%22,Math.max(parseInt(n,10),167)+2)%7D%7D)%7D),m.on(%22load%22,function()%7Bthis.contentWindow.postMessage('%7B%22version%22:'+t+%22%7D%22,n)%7D),g.on(%7Bmousedown:function(e)%7Bvar%20t=h.offset();a=%5Be.pageX-t.left,e.pageY-t.top%5D,m.css(%22pointer-events%22,%22none%22),e.preventDefault()%7D,mouseup:function()%7Ba=!1,m.css(%22pointer-events%22,%22auto%22)%7D%7D),o.on(%22mousemove%22,function(e)%7Ba&&h.css(%7Bleft:e.pageX-a%5B0%5D,top:e.pageY-a%5B1%5D%7D)%7D),!0%7D,s=e&&e.fn&&parseFloat(e.fn.jquery)%3E=1.7&&o(e);if(!s)%7Bvar%20a=document.createElement(%22script%22);a.src=%22//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js%22,a.onload=a.onreadystatechange=function()%7Bvar%20e=this.readyState;e&&%22loaded%22!==e&&%22complete%22!==e%7C%7C(s=!0,o(jQuery.noConflict()))%7D,setTimeout(function()%7Bs%7C%7C(window.location=r)%7D,2e3),document.getElementsByTagName(%22head%22)%5B0%5D.appendChild(a)%7D%7D)(window.jQuery);" onclick="return false;">GenPass</a></p>
<p>Drag this to your bookmarks toolbar. (Or right-click and add to bookmarks.)</p>
</div>
<div class="mobile well">
<p><a id="mobile" href="https://chriszarate.github.io/genpass/mobile/">Mobile</a></p>
<p>Use on public computers and mobile devices. (Add it to your home screen!)</p>
</div>
<br clear="both">
</div>
<h3>Problems?</h3>
<p>Please <a href="https://github.com/chriszarate/genpass/issues">log an issue on GitHub</a>.</p>
</section>
</body>
</html>