diff --git a/app/src/main/java/app/fedilab/android/activities/WebviewConnectActivity.java b/app/src/main/java/app/fedilab/android/activities/WebviewConnectActivity.java index d02a4217e..5ac5c3060 100644 --- a/app/src/main/java/app/fedilab/android/activities/WebviewConnectActivity.java +++ b/app/src/main/java/app/fedilab/android/activities/WebviewConnectActivity.java @@ -133,6 +133,7 @@ public class WebviewConnectActivity extends BaseActivity { binding.webviewConnect.getSettings().setJavaScriptEnabled(true); String user_agent = sharedpreferences.getString(getString(R.string.SET_CUSTOM_USER_AGENT), Helper.USER_AGENT); binding.webviewConnect.getSettings().setUserAgentString(user_agent); + binding.webviewConnect.getSettings().setDomStorageEnabled(true); CookieManager.getInstance().setAcceptThirdPartyCookies(binding.webviewConnect, true); diff --git a/app/src/main/java/app/fedilab/android/helper/Helper.java b/app/src/main/java/app/fedilab/android/helper/Helper.java index 65e481960..4a653e39c 100644 --- a/app/src/main/java/app/fedilab/android/helper/Helper.java +++ b/app/src/main/java/app/fedilab/android/helper/Helper.java @@ -412,6 +412,7 @@ public class Helper { webView.setBackgroundColor(Color.TRANSPARENT); webView.getSettings().setAppCacheEnabled(true); webView.getSettings().setDatabaseEnabled(true); + webView.getSettings().setDomStorageEnabled(true); webView.getSettings().setCacheMode(WebSettings.LOAD_DEFAULT); webView.setWebChromeClient(new WebChromeClient() { @Override