Add licenses to javascript files

This commit is contained in:
ReimarPB 2023-01-22 14:50:25 +01:00
parent 67b8dc9efd
commit a7d2a69f0d
5 changed files with 19 additions and 3 deletions

Binary file not shown.

View File

@ -1,3 +1,5 @@
// @license magnet:?xt=urn:btih:1f739d935676111cfff4b4693e3816e664797050&dn=gpl-3.0.txt GPL-3.0
if (!document.getElementsByClassName) {
document.getElementsByClassName = function(className) {
@ -82,3 +84,5 @@ if(window.opera && Object.defineProperty) {
}
});
}
// @license-end

View File

@ -1,3 +1,5 @@
// @license magnet:?xt=urn:btih:1f739d935676111cfff4b4693e3816e664797050&dn=gpl-3.0.txt GPL-3.0
window.addEventListener("load", function() {
// Get list of inline code elements
@ -89,3 +91,5 @@ function inputDeselect(input) {
if (input.blur) input.blur();
else input.setSelectionRange(0, 0);
}
// @license-end

View File

@ -1,3 +1,5 @@
// @license magnet:?xt=urn:btih:1f739d935676111cfff4b4693e3816e664797050&dn=gpl-3.0.txt GPL-3.0
window.addEventListener("load", makeLinksDynamic, false);
function makeLinksDynamic() {
@ -62,3 +64,5 @@ function loadUrl(href, callback) {
xhr.send();
}
// @license-end

View File

@ -1,3 +1,5 @@
// @license magnet:?xt=urn:btih:1f739d935676111cfff4b4693e3816e664797050&dn=gpl-3.0.txt GPL-3.0
// Enable transitions between themes without reloading page
var Themes = {
@ -124,3 +126,5 @@ window.addEventListener("load", function() {
}
}, false);
// @license-end