QQ浏览器 v12.2.3.7053版本的 MD5 值为:8285ab3059e5c8b521a264dfbc5c3685

以下内容为反编译后的 NovelPeruseContainer.java 源代码,内容仅作参考


package com.tencent.mtt.external.novel.peruse;

import android.content.Context;
import android.text.TextUtils;
import com.tencent.mtt.browser.window.IWebView;
import com.tencent.mtt.browser.window.IWebViewClient;
import com.tencent.mtt.browser.window.UrlParams;
import com.tencent.mtt.browser.window.templayer.BaseNativeGroup;
import com.tencent.mtt.businesscenter.facade.IFrameworkDelegate;
import com.tencent.mtt.qbcontext.core.QBContext;

public class NovelPeruseContainer extends BaseNativeGroup {

    private Context f55297a;

    public NovelPeruseContainer(Context context, IWebViewClient iWebViewClient) {
        super(context, iWebViewClient);
        this.f55297a = context;
    }

    @Override
    public IWebView buildEntryPage(UrlParams urlParams) {
        if (!TextUtils.isEmpty(urlParams.f46351a) && urlParams.f46351a.startsWith("qb://ext/cbnovel")) {
            ((IFrameworkDelegate) QBContext.getInstance().getService(IFrameworkDelegate.class)).doLoad(new UrlParams("https://bookshelf.html5.qq.com/notices/epub-offline"));
        }
        return null;
    }
}