Add licensing stuff
(also makes the tool work with librejs)
This commit is contained in:
parent
460a2da2cd
commit
4b39876a7d
1 changed files with 7 additions and 0 deletions
|
@ -5,6 +5,7 @@
|
|||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<script>
|
||||
// @license http://www.wtfpl.net/txt/copying/ WTFPL
|
||||
function infohashToBase64(infohash) {
|
||||
// Converts an hex infohash into base64.
|
||||
|
||||
|
@ -86,6 +87,7 @@
|
|||
document.getElementById("decodeResult").innerText = base64ToInfohash(urlParams.get("base64value"))
|
||||
}
|
||||
});
|
||||
// @license-end
|
||||
</script>
|
||||
<style>
|
||||
body {
|
||||
|
@ -200,6 +202,11 @@
|
|||
You can check the source code by downloading the page (everything is stored in a single html file),
|
||||
by going to your browser's devtools or on <a href="https://codeberg.org/magmaus3/infohash2base64">Codeberg</a>.
|
||||
</p>
|
||||
<h3>License</h3>
|
||||
<p>Copyright © 2023 magmaus3 <magmaus3@disroot.org></p>
|
||||
<p>This work is free. You can redistribute it and/or modify it under the
|
||||
terms of the Do What The Fuck You Want To Public License, Version 2,
|
||||
as published by Sam Hocevar. See http://www.wtfpl.net/ for more details.</p>
|
||||
</div>
|
||||
</main>
|
||||
</body>
|
||||
|
|
Loading…
Reference in a new issue