8 ms·
This is cool, but why does it only work in some browsers?
by wilhelm 15y ago
This is cool, but why does it only work in some browsers?
- lnanek 15y agoJS for what is normally an image seems pretty far out there, wouldn't surprise me if not many browsers supported yet. And JS itself often needs to be tested and tweaked on many browsers before it works on all. Personally, I would have just implemented in PHP. I already have a pretty trivial PHP script I use to overlay a site logo on images that are direct linked instead of accessed on one of my image serving sites. Although browsers might cache the favicon excessively even with the proper caching headers, would have to test. But as far as browsers would be concerned it would just be another image (even if it is generated dynamically by PHP and image magick the first time and only copied to output from a file cache after).
- wilhelm 15y agoWell, this works in more browsers: http://www.p01.org/releases/DEFENDER_of_the_favicon/ http://www.p01.org/releases/DEFENDER_of_the_favicon/
- tommoor 15y agoIt is tested in Chrome, Firefox and Opera. Should work in IE9 but not tested yet. Which browsers do you want? :p
- wilhelm 15y agoOpera. (c: This morning I got the fallback display, but now it works fine. Thanks! I'll definitely use this on one of my projects.