Skip to content

Abstract Background: CORS Error

Suppose you have an abstract background like the following:

abstract-background:
src: http://example.com/image.jpg

If you’re hotlinking an image from a service that doesn’t allow this, you might run into CORS errors.

To get around this, you can either host the image yourself (make sure you’ve got the rights to do so) or you can launch Chrome with CORS disabled. Learn how to do this. This is a security risk, so only do this if you trust the content you’re ingesting and don’t use that browser for anything else.