Skip to content

WebView flashes when altering page using Javascript #357

@butteredwaffles

Description

@butteredwaffles

I have the following code that removes some bloat from my reading app.

await handlePreferences().then((s) async {
          await _fwp.evalJavascript(pageCleaner).then((s) async {
            await _fwp.show();
          });
        });

However, the webview flashes when it's shown, and you can see the bloated page for a second before being replaced. Is there a way to fix this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions