3 ms·
>Also, you are not sniffing Safari 4 correctly. I get a message that it is an unrecognized browser! I would be careful about this. Sniffing browsers isn't alwa
by woodall 16y ago
>Also, you are not sniffing Safari 4 correctly. I get a message that it is an unrecognized browser!
I would be careful about this. Sniffing browsers isn't always a good idea. Instead, let users drag their own bookmarklet- that correspond with their browser type- to the toolbar. Or keep sniffing and if you do receive an "unrecognized browser" response fall back to a page of that type.
- StavrosK 16y agoThe bookmarklet is the same, the sniffing is for the instructions. The problem is that we want the code below to be the same as the one in the bookmarklet, so we use the same file for both, but for some reason newlines are not removed. I will change that now to make it work with Safari...