Skip to content

Possible solution to Chrome caveat  #4

@weva-io

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=

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