From Russia v1.0版本的 MD5 值为:52aeb8738ddf971390ea1486e59c6ccd
以下内容为反编译后的 ForumFragment.java 源代码,内容仅作参考
package com.brorders.launcher.fragment;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.webkit.WebView;
import android.webkit.WebViewClient;
import androidx.fragment.app.Fragment;
import com.brorders.game.R;
public class ForumFragment extends Fragment {
private WebView webView;
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
View inflate = inflater.inflate(R.layout.fragment_forum, container, false);
WebView webView = (WebView) inflate.findViewById(R.id.webView);
this.webView = webView;
webView.setWebViewClient(new WebViewClient());
this.webView.loadUrl("https://forum-blackrussiab.tk/");
this.webView.getSettings().setJavaScriptEnabled(true);
this.webView.getSettings().setLoadWithOverviewMode(false);
this.webView.getSettings().setUseWideViewPort(false);
this.webView.getSettings().setAppCacheEnabled(true);
this.webView.getSettings().setAllowContentAccess(true);
this.webView.getSettings().setBuiltInZoomControls(true);
this.webView.getSettings().setDisplayZoomControls(true);
this.webView.getSettings().setSupportZoom(true);
this.webView.getSettings().setDomStorageEnabled(true);
this.webView.getSettings().setGeolocationEnabled(true);
this.webView.getSettings().setJavaScriptCanOpenWindowsAutomatically(true);
this.webView.getSettings().setAllowFileAccessFromFileURLs(true);
this.webView.getSettings().setAllowUniversalAccessFromFileURLs(true);
this.webView.getSettings().setCacheMode(2);
this.webView.getSettings().setDatabaseEnabled(true);
this.webView.getSettings().setDomStorageEnabled(true);
return inflate;
}
}