<commit_before><!doctype html>
<html>
<head>
  <title>badssl.com</title>
  <link rel="shortcut icon" href="/icons/favicon-blue.ico"/>
  <link rel="apple-touch-icon" href="/icon-blue.png"/>
  <style>
    html, body {
      background: rgb(77, 149, 218);

      margin: 0;
      padding: 0;
    }
    div {
      text-align: center;
    }
    #links {
      width: 50vh;
      max-width: 50vw;
      margin: 5vh auto;
      padding: 0 3vw 0 3vw;
    }
    #links a, #links #ua {
      font-family: "Source Code Pro", Monaco, Consolas, "Courier New", monospace, Impact;
      font-size: 3.5vh;
      padding: 0.75vh 10vw 0.75vh 10vw;
      margin: 1.5vh -10vw;
    }
    #links a {
      text-decoration: none;
      color: white;
      font-size: 5em;
      font-size: 4vh;
      display: block;
      width: 100%;
      box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
      transition: all 150ms;
      font-weight: bold;
    }
    #links #ua {
      margin-top: 3vh;
      padding: 0.75vh 0vh;
    }
    @media (min-height: 1000px) {
      #links a, #links #ua {
          font-size: 2.5vh;
      }
    }
    @media (max-width: 600px) and (min-height: 600px) {
      #links a, #links #ua {
          font-size: 5vw;
      }
    }
    #links a:hover, #links a:focus {
      text-decoration: underline;
      text-shadow:
        0 0 20px rgba(255, 255, 255, 0.5),
        0 0 40px rgba(255, 255, 255, 0.5),
        0 0 60px rgba(255, 255, 255, 0.5);
      box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
      transform: translateY(-2px);
    }
    .github {
      background: rgba(0, 0, 0, 0.2);
      color: black;
      text-align: center;
      margin-top: 6vh;
      font-family: Helvetica, sans-serif;
    }
    .good {
      background: green;
    }
    .goodish {
      background: #484;
    }
    .dubious {
      background: rgb(246, 207, 47);
    }
    #links a.dubious {
      color: #222;
    }
    #links a.dubious:hover {
      text-shadow:
        0 0 20px rgba(150, 100, 0, 0.15),
        0 0 40px rgba(150, 100, 0, 0.15),
        0 0 60px rgba(150, 100, 0, 0.15);
    }
    .bad {
      background: red;
    }
    .neutral {
      background: gray;
    }
    .orange {
      color: #222;
      background: rgb(243, 121, 46);
    }
    #links .more {
      display: none;
    }
    #links.show-more .more {
      display: block;
    }
    #links #reveal-more {
      background: black;
    }
    #links #reveal-more:hover {
      cursor: pointer
    }
    #links.show-more #reveal-more {
      display: none;
    }
  </style>
  <script>

  function simplifyUserAgent(ua) {
    var regexes = [
      /Chrome\/[\d\.]*\b/,
      /CriOS\/[\d\.]*\b/,
      /Firefox\/[\d\.]*\b/,
      /OPR\/[\d\.]*\b/,
      /Version\/[\d\.]*\b/ /* Safari has "Version/8.0.5 Safari/600.5.17", but "Safari/600.5.17" is the WebKit version, which Chrome and Opera also include. */
    ]

    for (i in regexes) {
      var match = regexes[i].exec(ua);
      if (match) {
        return match[0];
      }
    }
    return navigator.userAgent;
  }

  window.addEventListener("load", function() {
    document.getElementById("ua").title = navigator.userAgent;
    document.getElementById("ua").innerHTML = "UA: " + simplifyUserAgent(navigator.userAgent);
    console.log(navigator.userAgent);
    document.getElementById("reveal-more").addEventListener("click", function() {
      document.getElementById("links").classList.add("show-more");
    });
  })
  </script>
</head>
<body>

  <div id="links">
    <a href="https://expired.badssl.com/" class="bad">expired</a>
    <a href="https://wrong.host.badssl.com/" class="bad">wrong.host</a>
    <a href="https://self-signed.badssl.com/" class="bad">self-signed</a>
    <a href="https://sha1.badssl.com/" class="dubious">sha1</a>
    <a href="https://mixed.badssl.com/" class="dubious">mixed</a>
    <a href="https://rc4.badssl.com/" class="neutral">rc4</a>
    <a href="https://cbc.badssl.com/" class="neutral">cbc</a>
    <a id="reveal-more">More...</a>
    <a href="https://sha256.badssl.com/" class="more good">sha256</a>
    <a href="https://hsts.badssl.com/" class="more goodish">hsts</a>
    <a href="https://preloaded-hsts.badssl.com/" class="more goodish">preloaded-hsts</a>
    <a href="https://subdomain.preloaded-hsts.badssl.com/" class="more bad">subdomain.<br>preloaded-hsts</a>
    <a href="https://dh480.badssl.com/" class="more bad">dh480</a>
    <a href="https://dh512.badssl.com/" class="more bad">dh512</a>
    <a href="https://incomplete-chain.badssl.com/" class="more orange">incomplete-chain</a>
    <a href="https://rc4-md5.badssl.com/" class="more neutral">rc4-md5</a>
    <div id="ua"></div>
  </div>

  <!-- Start of GitHub ribbon. -->

  <div class="github-fork-ribbon-wrapper right">
      <div class="github-fork-ribbon">
          <a href="https://github.com/lgarron/badssl.com">Fork me on GitHub</a>
      </div>
  </div>

  <style>
  /*!
   * "Fork me on GitHub" CSS ribbon v0.1.1 | MIT License
   * https://github.com/simonwhitaker/github-fork-ribbon-css
  */<commit_msg>Make the "More..." button keyboard-accessible.<commit_after><!doctype html>
<html>
<head>
  <title>badssl.com</title>
  <link rel="shortcut icon" href="/icons/favicon-blue.ico"/>
  <link rel="apple-touch-icon" href="/icon-blue.png"/>
  <style>
    html, body {
      background: rgb(77, 149, 218);

      margin: 0;
      padding: 0;
    }
    div {
      text-align: center;
    }
    #links {
      width: 50vh;
      max-width: 50vw;
      margin: 5vh auto;
      padding: 0 3vw 0 3vw;
    }
    #links a, #links #ua {
      font-family: "Source Code Pro", Monaco, Consolas, "Courier New", monospace, Impact;
      font-size: 3.5vh;
      padding: 0.75vh 10vw 0.75vh 10vw;
      margin: 1.5vh -10vw;
    }
    #links a {
      text-decoration: none;
      color: white;
      font-size: 5em;
      font-size: 4vh;
      display: block;
      width: 100%;
      box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
      transition: all 150ms;
      font-weight: bold;
    }
    #links #ua {
      margin-top: 3vh;
      padding: 0.75vh 0vh;
    }
    @media (min-height: 1000px) {
      #links a, #links #ua {
          font-size: 2.5vh;
      }
    }
    @media (max-width: 600px) and (min-height: 600px) {
      #links a, #links #ua {
          font-size: 5vw;
      }
    }
    #links a:hover, #links a:focus {
      text-decoration: underline;
      text-shadow:
        0 0 20px rgba(255, 255, 255, 0.5),
        0 0 40px rgba(255, 255, 255, 0.5),
        0 0 60px rgba(255, 255, 255, 0.5);
      box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
      transform: translateY(-2px);
    }
    .github {
      background: rgba(0, 0, 0, 0.2);
      color: black;
      text-align: center;
      margin-top: 6vh;
      font-family: Helvetica, sans-serif;
    }
    .good {
      background: green;
    }
    .goodish {
      background: #484;
    }
    .dubious {
      background: rgb(246, 207, 47);
    }
    #links a.dubious {
      color: #222;
    }
    #links a.dubious:hover {
      text-shadow:
        0 0 20px rgba(150, 100, 0, 0.15),
        0 0 40px rgba(150, 100, 0, 0.15),
        0 0 60px rgba(150, 100, 0, 0.15);
    }
    .bad {
      background: red;
    }
    .neutral {
      background: gray;
    }
    .orange {
      color: #222;
      background: rgb(243, 121, 46);
    }
    #links .more {
      display: none;
    }
    #links.show-more .more {
      display: block;
    }
    #links #reveal-more {
      background: black;
    }
    #links #reveal-more:hover {
      cursor: pointer
    }
    #links.show-more #reveal-more {
      display: none;
    }
  </style>
  <script>

  function simplifyUserAgent(ua) {
    var regexes = [
      /Chrome\/[\d\.]*\b/,
      /CriOS\/[\d\.]*\b/,
      /Firefox\/[\d\.]*\b/,
      /OPR\/[\d\.]*\b/,
      /Version\/[\d\.]*\b/ /* Safari has "Version/8.0.5 Safari/600.5.17", but "Safari/600.5.17" is the WebKit version, which Chrome and Opera also include. */
    ]

    for (i in regexes) {
      var match = regexes[i].exec(ua);
      if (match) {
        return match[0];
      }
    }
    return navigator.userAgent;
  }

  window.addEventListener("load", function() {
    document.getElementById("ua").title = navigator.userAgent;
    document.getElementById("ua").innerHTML = "UA: " + simplifyUserAgent(navigator.userAgent);
    console.log(navigator.userAgent);
    document.getElementById("reveal-more").addEventListener("click", function(e) {
      document.getElementById("links").classList.add("show-more");
      e.preventDefault();
    });
  })
  </script>
</head>
<body>

  <div id="links">
    <a href="https://expired.badssl.com/" class="bad">expired</a>
    <a href="https://wrong.host.badssl.com/" class="bad">wrong.host</a>
    <a href="https://self-signed.badssl.com/" class="bad">self-signed</a>
    <a href="https://sha1.badssl.com/" class="dubious">sha1</a>
    <a href="https://mixed.badssl.com/" class="dubious">mixed</a>
    <a href="https://rc4.badssl.com/" class="neutral">rc4</a>
    <a href="https://cbc.badssl.com/" class="neutral">cbc</a>
    <a href="" id="reveal-more">More...</a>
    <a href="https://sha256.badssl.com/" class="more good">sha256</a>
    <a href="https://hsts.badssl.com/" class="more goodish">hsts</a>
    <a href="https://preloaded-hsts.badssl.com/" class="more goodish">preloaded-hsts</a>
    <a href="https://subdomain.preloaded-hsts.badssl.com/" class="more bad">subdomain.<br>preloaded-hsts</a>
    <a href="https://dh480.badssl.com/" class="more bad">dh480</a>
    <a href="https://dh512.badssl.com/" class="more bad">dh512</a>
    <a href="https://incomplete-chain.badssl.com/" class="more orange">incomplete-chain</a>
    <a href="https://rc4-md5.badssl.com/" class="more neutral">rc4-md5</a>
    <div id="ua"></div>
  </div>

  <!-- Start of GitHub ribbon. -->

  <div class="github-fork-ribbon-wrapper right">
      <div class="github-fork-ribbon">
          <a href="https://github.com/lgarron/badssl.com">Fork me on GitHub</a>
      </div>
  </div>

  <style>
  /*!
   * "Fork me on GitHub" CSS ribbon v0.1.1 | MIT License
   * https://github.com/simonwhitaker/github-fork-ribbon-css
  */
{'fraction_non_alphanumeric': 0.1846424384525205, 'fraction_numerical': 0.0513872606486909, 'mean_word_length': 2.290581806493089, 'pattern_counts': {'":': 0, '<': 119, '<?xml version=': 0, '>': 119, 'https://': 34, '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': '2986931', 'n_tokens_mistral': 4322, 'n_tokens_neox': 3805, 'n_words': 778}