Skip to content

Possible solution to Chrome caveat  #4

Description

@weva-io

Saw this under Todo / Chrome in the readme:

caveat: changing the img.src to '#' makes another request to the same parent page
caveat: changing the img.src to 'about:' produces a warning in console, is there something else to use that won't make a request?

How about changing the img.src to an inline image, for example a base64 encoded 1x1 transparent pixel:

data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII=

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions