Projects STRLCPY link-lock Commits 08ba68c0
🤬
  • ■ ■ ■ ■ ■
    index.html
    skipped 38 lines
    39 39   <button onclick="main()">Try again</button>
    40 40   <a href="https://jstrieb.github.io/link-lock"><button>Lock a link</button></a>
    41 41   <a href="https://jstrieb.github.io/link-lock/decrypt/" id="no-redirect" target="_blank"><button>Decrypt without redirect</button></a>
     42 + <a href="https://jstrieb.github.io/link-lock/hidden/" id="hidden" target="_blank"><button>Create hidden bookmark</button></a>
    42 43   </div>
    43 44  </body>
    44 45   
    skipped 2 lines
  • ■ ■ ■ ■ ■ ■
    index.js
    skipped 63 lines
    64 64   // Set the "decrypt without redirect" URL appropriately
    65 65   document.querySelector("#no-redirect").href =
    66 66   `https://jstrieb.github.io/link-lock/decrypt/#${hash}`;
     67 + 
     68 + // Set the "create hidden bookmark" URL appropriately
     69 + document.querySelector("#hidden").href =
     70 + `https://jstrieb.github.io/link-lock/hidden/#${hash}`;
    67 71   return;
    68 72   }
    69 73   
    skipped 30 lines
Please wait...
Page is in error, reload to recover