Add JS license information for LibreJS

This commit is contained in:
luca0N! 2021-05-30 22:31:48 -03:00
parent f4f24c4d0d
commit 37caeab31a
Signed by: luca0N
GPG Key ID: 2E7B4655CF16D7D6
5 changed files with 14 additions and 3 deletions

View File

@ -1,3 +1,4 @@
// @license magnet:?xt=urn:btih:1f739d935676111cfff4b4693e3816e664797050&dn=gpl-3.0.txt GPL-3.0-or-later
/* /*
* Stairway.js: a simple JavaScript privacy quiz * Stairway.js: a simple JavaScript privacy quiz
* Copyright © 2021 luca0N! * Copyright © 2021 luca0N!
@ -21,3 +22,4 @@
*/ */
var onReady; var onReady;
// @license-end

View File

@ -1,3 +1,4 @@
// @license magnet:?xt=urn:btih:1f739d935676111cfff4b4693e3816e664797050&dn=gpl-3.0.txt GPL-3.0-or-later
/* /*
* Stairway.js: a simple JavaScript privacy quiz * Stairway.js: a simple JavaScript privacy quiz
* Copyright © 2021 luca0N! * Copyright © 2021 luca0N!
@ -35,5 +36,4 @@ function sendGetRequest(file, listener){
request.open("GET", file); request.open("GET", file);
request.send(); request.send();
} }
// @license-end

View File

@ -1,3 +1,4 @@
// @license magnet:?xt=urn:btih:1f739d935676111cfff4b4693e3816e664797050&dn=gpl-3.0.txt GPL-3.0-or-later
/* /*
* Stairway.js: a simple JavaScript privacy quiz * Stairway.js: a simple JavaScript privacy quiz
* Copyright © 2021 luca0N! * Copyright © 2021 luca0N!
@ -26,3 +27,4 @@ window.onload = function() {
onReady(); // Call onReady in order to execute main code (this calls whatever function was attached).. onReady(); // Call onReady in order to execute main code (this calls whatever function was attached)..
} }
// @license-end

View File

@ -1,3 +1,4 @@
// @license magnet:?xt=urn:btih:1f739d935676111cfff4b4693e3816e664797050&dn=gpl-3.0.txt GPL-3.0-or-later
/* /*
* Stairway.js: a simple JavaScript privacy quiz * Stairway.js: a simple JavaScript privacy quiz
* Copyright © 2021 luca0N! * Copyright © 2021 luca0N!
@ -150,6 +151,9 @@ function setUpStrings(){
document.getElementById('badge-' + grade).style['display'] = 'unset'; document.getElementById('badge-' + grade).style['display'] = 'unset';
// Generate report elements. // Generate report elements.
let reports = document.getElementById('reports');
// Clear the reports element.
reports.innerHTML = '';
for (let x = 0; x < choices.length; x++) for (let x = 0; x < choices.length; x++)
for (let y = 0; y < choices[x].length; y++){ for (let y = 0; y < choices[x].length; y++){
@ -193,7 +197,7 @@ function setUpStrings(){
reportEl.appendChild(p); reportEl.appendChild(p);
} }
document.getElementById('reports').appendChild(reportEl); reports.appendChild(reportEl);
} }
// Hide quiz and then show the results. // Hide quiz and then show the results.
@ -207,3 +211,4 @@ function setUpStrings(){
warning.style['display'] = 'none'; warning.style['display'] = 'none';
}); });
} }
// @license-end

View File

@ -90,5 +90,7 @@
<input type="radio">BSD</input> <input type="radio">BSD</input>
<input type="radio">Windows</input> <input type="radio">Windows</input>
</div>--> </div>-->
<hr/>
<p>Released under the GNU General Public License version 3 or later, by <a href="https://www.luca0n.com">luca0N!</a></p>
</body> </body>
</html> </html>