# Conflicts:
#	BaaSClient.html
#	bdwareclient.html
This commit is contained in:
CaiHQ 2021-09-18 13:31:04 +08:00
commit cdce5f0a9d
2 changed files with 15 additions and 10 deletions

0
img/logo-1.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 7.8 KiB

After

Width:  |  Height:  |  Size: 7.8 KiB

View File

@ -313,6 +313,7 @@ function displayOutput(obj) {
function initWSocket() { function initWSocket() {
let host = $("#urlInput")[0].value; let host = $("#urlInput")[0].value;
document.title = `数瑞浏览器(${host}`
if (!host.startsWith("ws")) { if (!host.startsWith("ws")) {
if (location.href.startsWith("https")) { if (location.href.startsWith("https")) {
host = "wss://" + host; host = "wss://" + host;
@ -375,6 +376,7 @@ function changeApp() {
return; return;
} }
console.log(global.currentContract); console.log(global.currentContract);
document.title = `数瑞浏览器(${global.currentContract.name} - ${$("#urlInput")[0].value}`
changeAppInternal(needRender(global.currentContract)); changeAppInternal(needRender(global.currentContract));
} }
@ -833,6 +835,9 @@ function getRequestParameters() {
} }
} }
function
function changeRender() { function changeRender() {
if (global.urlparam["noRender"] === "true") { if (global.urlparam["noRender"] === "true") {
global.urlparam["noRender"] = undefined; global.urlparam["noRender"] = undefined;