x3sphere
Active member
- Affected version
- 2.1.2
Hi,
I noticed I am seeing the following error in Chrome's console when browsing my forum: "Uncaught DOMException: Failed to execute 'toDataURL' on 'HTMLCanvasElement': Tainted canvases may not be exported"
I've tracked this down to the function faviconDraw in core.js
Is it because my favicon is in .ICO format? Not sure, I don't see the error here on XF but I see you are using a PNG. I'd like to keep the the favicon as ICO since I can pack multiple sizes in it - with PNG scaling occurs in some browsers which ends up making the icon look blurry.
Favicon code:
I noticed I am seeing the following error in Chrome's console when browsing my forum: "Uncaught DOMException: Failed to execute 'toDataURL' on 'HTMLCanvasElement': Tainted canvases may not be exported"
I've tracked this down to the function faviconDraw in core.js
Is it because my favicon is in .ICO format? Not sure, I don't see the error here on XF but I see you are using a PNG. I'd like to keep the the favicon as ICO since I can pack multiple sizes in it - with PNG scaling occurs in some browsers which ends up making the icon look blurry.
Favicon code:
HTML:
<link type="image/x-icon" rel="shortcut icon" href="https://www.exophase.com/assets/zeal/_icons/favicon.ico" />