Skip to content

Make backers.svg lazy-loading #407

Description

@fuweichin

Eruda will request a thirdparty website when initializing, which may cause console error due to use of same-origin Cross-Origin-Embeder-Policy, or due to lack of internet connection, e.g.

GET https://opencollective.com/eruda/backers.svg?width=1536&exclude=true net::ERR_BLOCKED_BY_RESPONSE.NotSameOriginAfterDefaultedToSameOriginByCoep 200 (OK)

It's annoyning to see error for every reload when debugging. A mitigation measure is to add attribute loading="lazy" for that <img>.

Also note that requesting a thirdparty website may voilate users' privacy without notice.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions