[1.0] First commit

This commit is contained in:
vermillion-dev
2019-05-01 18:10:28 +02:00
commit e827d5b430
23 changed files with 845 additions and 0 deletions

16
js/utilsFunctions.js Normal file
View File

@@ -0,0 +1,16 @@
function injectScript(file, node) {
var th = document.getElementsByTagName(node)[0];
var s = document.createElement('script');
s.setAttribute('type', 'text/javascript');
s.setAttribute('src', file);
th.appendChild(s);
}
function injectLink(file, node) {
var th = document.getElementsByTagName(node)[0];
var link = document.createElement("link");
link.href = file;
link.type = "text/css";
link.rel = "stylesheet";
th.appendChild(link);
}