Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add partial support for Chromium browsers #3

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Mar 12, 2023

  1. Add partial support for Chromium browsers

    This adds partial support for chromium-based browsers (including Chrome). `window.browser` is only defined in firefox but `window.chrome` is available both in firefox and chromium and works just the same.
    
    This only partially supports chromium as `loadReplace` is not supported in chromium:
    - https://github.com/dmlls/yang/blob/6dd101e9a27e8620ffe8fa7641b00ee8e8ef42e8/background.js#L92
    - https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/Tabs/update#browser_compatibility
    NyanKiyoshi committed Mar 12, 2023
    Configuration menu
    Copy the full SHA
    f6f787a View commit details
    Browse the repository at this point in the history