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) {
@ -81,4 +83,6 @@ 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() {
@ -61,4 +63,6 @@ function loadUrl(href, callback) {
xhr.open("GET", href);
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 = {
@ -123,4 +125,6 @@ window.addEventListener("load", function() {
themeBtn.className = themeBtn.className.replace("selected", "");
}
}, false);
}, false);
// @license-end