Skip to content

adjustImage fails on Google Images page due to CORS header ‘Access-Control-Allow-Origin’ missing  #10

Description

@ajtadeo

Getting this error on Google Images and many other dynamically rendered pages

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://encrypted-
tbn2.gstatic.com/faviconV2?url=https://pngtree.com&client=VFE&size=16&type=FAVICON&fallback_opts=TYPE,SIZE,URL&nfrp=2. 
(Reason: CORS header ‘Access-Control-Allow-Origin’ missing). Status code: 200.

The response to the CORS request is missing the required Access-Control-Allow-Origin header, which is used to determine whether or not the resource can be accessed by content operating within the current origin.

see mozilla docs for more

Possible solutions:

https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin

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 working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions