Skip to content

[BUG] conflict with "Disable Page Visibility API" extensions #890

Open
@WAZAAAAA0

Description

Body

THE PROBLEM:

Having any extension that disables the Page Visibility API makes TWP's full page translation not work when pages are opened in a new tab.
Happens in both Firefox and Chrome on fresh profiles.

STEPS TO REPRODUCE:

  1. install https://addons.mozilla.org/firefox/addon/disable-visibility-api/
  2. visit https://example.com/ and perform full page translation with TWP, it will work
  3. open any clickable link inside the page (More information...) in a new tab with right click -> Open Link In New Tab
  4. switch to the new tab and perform full page translation with TWP; it will NOT work (only the tab title will be translated). Refreshing the page and retrying the translation will work.

DEMO:

TWP.conflicts.page.visibility.mp4

What did you just do?

  • I wrote an objective issue, easy to understand.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingcustom

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions