Merge pull request #29 from jaqcode/customHtmlTitle

Custom Html Title
This commit is contained in:
Cracker 2020-03-28 19:57:35 +01:00 committed by GitHub
commit 1ce7b3204e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,6 +7,13 @@ myUsername = myUsername || "unknown" + (Math.random() + "").substring(2, 6);
accessToken = accessToken || ""; accessToken = accessToken || "";
var accessDenied = false; var accessDenied = false;
// Custom Html Title
var title = getQueryVariable("title");
if(!title === false){
document.title = title;
}
var url = document.URL.substr(0, document.URL.lastIndexOf('/')); var url = document.URL.substr(0, document.URL.lastIndexOf('/'));
var signaling_socket = null; var signaling_socket = null;
var urlSplit = url.split("/"); var urlSplit = url.split("/");