<commit_before><!DOCTYPE html>
<html>
<head>
    <title>pure JS WiFi QR Code Generator</title>
    <meta http-equiv="Content-type" content="text/html;charset=UTF-8">
    <link rel="stylesheet" type="text/css" media="all" href="style.css">
    <link rel="stylesheet" type="text/css" media="print" href="print.css">
    <link rel="stylesheet" href="github-fork-ribbon-css/gh-fork-ribbon.css" />
    <!--[if IE]>
        <link rel="stylesheet" href="github-fork-ribbon-css/gh-fork-ribbon.ie.css" />
    <![endif]-->
</head>
<body>
    <h1 id="title">pure JS WiFi QR Code Generator</h1>
    <div id="about">
        <p>
        Ever wanted to create a cool QR code for your guests? But never wanted to type in your WiFi credentials into a form that submits them to a remote webserver to render the QR code? <i>QiFi</i> for the rescue! It will render the code in your browser, on your machine, so the WiFi stays as secure as it was before (read the code if you do not trust text on the internet :-))!
        </p>
        <p>
        Don't trust your browser either? Just pipe the string
        <code>WIFI:S:&lt;SSID&gt;;T:&lt;WPA|WEP|&gt;;P:&lt;password&gt;;;</code>
        through the QR code generator of your choice after <a href="http://code.google.com/p/zxing/wiki/BarcodeContents#Wifi_Network_config_(Android)">reading the documentation</a>.
        </p>
    </div>
    <form id="form">
        <p>
        <label for="ssid">SSID:</label><br/>
        <input name="ssid" id="ssid" required/><br/>
        
        <label for="hidden">Hidden:</label>
        <span  class="tooltip" data-tooltip="Is your SSID hidden?"><input type="checkbox" name="hidden" id="hidden"/></span>
        </p>
        <p>
        <label for="enc">Encryption:</label><br/>
        <select name="enc" id="enc">
            <option value="WPA">WPA/WPA2</option>
            <option value="WEP">WEP</option>
            <option value="nopass">None</option>
        </select>
        </p>
        <p id="key-p">
        <label for="key" id="key-label">Key:</label><br/>
        <input name="key" id="key" type="password" required/><br/>

        <label for="display-key">display key:</label>
        <span class="tooltip" data-tooltip="Should the key be displayed in plain-text here? The QR code will always contain the key in plain-text!"><input type="checkbox" name="display-key" id="display-key"/></span>
        </p>
        <p>
        <button id="generate">Generate!</button>
        </p>
    </form>
    <h1 id="showssid"></h1>
    <div id="qrcode"></div>
    <div id="footer">
        <img src="qifi.png" alt="qifi logo"/> by <a href="https://github.com/evgeni">@evgeni</a><br />
        <a href="http://flattr.com/thing/1191625/qifi-pure-JS-WiFi-QR-Code-Generator" target="_blank">
        <img src="http://api.flattr.com/button/flattr-badge-large.png" alt="Flattr this" title="Flattr this" border="0" /></a>
    </div>
    <div id="github" class="github-fork-ribbon-wrapper right">
        <div class="github-fork-ribbon"><commit_msg>load the flattr image without a protocol<commit_after><!DOCTYPE html>
<html>
<head>
    <title>pure JS WiFi QR Code Generator</title>
    <meta http-equiv="Content-type" content="text/html;charset=UTF-8">
    <link rel="stylesheet" type="text/css" media="all" href="style.css">
    <link rel="stylesheet" type="text/css" media="print" href="print.css">
    <link rel="stylesheet" href="github-fork-ribbon-css/gh-fork-ribbon.css" />
    <!--[if IE]>
        <link rel="stylesheet" href="github-fork-ribbon-css/gh-fork-ribbon.ie.css" />
    <![endif]-->
</head>
<body>
    <h1 id="title">pure JS WiFi QR Code Generator</h1>
    <div id="about">
        <p>
        Ever wanted to create a cool QR code for your guests? But never wanted to type in your WiFi credentials into a form that submits them to a remote webserver to render the QR code? <i>QiFi</i> for the rescue! It will render the code in your browser, on your machine, so the WiFi stays as secure as it was before (read the code if you do not trust text on the internet :-))!
        </p>
        <p>
        Don't trust your browser either? Just pipe the string
        <code>WIFI:S:&lt;SSID&gt;;T:&lt;WPA|WEP|&gt;;P:&lt;password&gt;;;</code>
        through the QR code generator of your choice after <a href="http://code.google.com/p/zxing/wiki/BarcodeContents#Wifi_Network_config_(Android)">reading the documentation</a>.
        </p>
    </div>
    <form id="form">
        <p>
        <label for="ssid">SSID:</label><br/>
        <input name="ssid" id="ssid" required/><br/>
        
        <label for="hidden">Hidden:</label>
        <span  class="tooltip" data-tooltip="Is your SSID hidden?"><input type="checkbox" name="hidden" id="hidden"/></span>
        </p>
        <p>
        <label for="enc">Encryption:</label><br/>
        <select name="enc" id="enc">
            <option value="WPA">WPA/WPA2</option>
            <option value="WEP">WEP</option>
            <option value="nopass">None</option>
        </select>
        </p>
        <p id="key-p">
        <label for="key" id="key-label">Key:</label><br/>
        <input name="key" id="key" type="password" required/><br/>

        <label for="display-key">display key:</label>
        <span class="tooltip" data-tooltip="Should the key be displayed in plain-text here? The QR code will always contain the key in plain-text!"><input type="checkbox" name="display-key" id="display-key"/></span>
        </p>
        <p>
        <button id="generate">Generate!</button>
        </p>
    </form>
    <h1 id="showssid"></h1>
    <div id="qrcode"></div>
    <div id="footer">
        <img src="qifi.png" alt="qifi logo"/> by <a href="https://github.com/evgeni">@evgeni</a><br />
        <a href="http://flattr.com/thing/1191625/qifi-pure-JS-WiFi-QR-Code-Generator" target="_blank">
        <img src="//api.flattr.com/button/flattr-badge-large.png" alt="Flattr this" title="Flattr this" border="0" /></a>
    </div>
    <div id="github" class="github-fork-ribbon-wrapper right">
        <div class="github-fork-ribbon">
{'fraction_non_alphanumeric': 0.1782651715039578, 'fraction_numerical': 0.004617414248021108, 'mean_word_length': 2.992758393680053, 'pattern_counts': {'":': 0, '<': 175, '<?xml version=': 0, '>': 175, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '440999', 'n_tokens_mistral': 2050, 'n_tokens_neox': 1973, 'n_words': 507}