mirror of
https://github.com/ArcaneChat/android.git
synced 2026-07-03 14:05:24 +02:00
Merge remote-tracking branch 'origin/main'
This commit is contained in:
@@ -216,7 +216,7 @@ public class WebxdcActivity extends WebViewActivity implements DcEventCenter.DcE
|
||||
webView.setNetworkAvailable(internetAccess); // this does not block network but sets `window.navigator.isOnline` in js land
|
||||
webView.addJavascriptInterface(new InternalJSApi(), "InternalJSApi");
|
||||
|
||||
String href = b.getString(EXTRA_HREF, "");
|
||||
String href = baseURL + "/" + b.getString(EXTRA_HREF, "index.html");
|
||||
String encodedHref = "";
|
||||
try {
|
||||
encodedHref = URLEncoder.encode(href, Charsets.UTF_8.name());
|
||||
|
||||
@@ -145,7 +145,7 @@
|
||||
|
||||
const params = new URLSearchParams(document.location.search);
|
||||
const internetAccess = (params.get("i") || "0") === "1";
|
||||
let href = params.get("href") || "index.html";
|
||||
const href = params.get("href");
|
||||
|
||||
if (internetAccess) { // fill500 not needed, just load the frame
|
||||
fill500 = (href) => {
|
||||
|
||||
Reference in New Issue
Block a user