
Originally Posted by
blm126
Not yet. I think I'll add a delay feature since you guys seem to think it is a good idea. Also, when I was working on it I noticed that my fix for Opera broke my fix for Firefox. I tried for an half an hour to come up with another solution, but this problem required a browser detect. Running the firefox code won't hurt any browser but Opera so browsers that are pretending should be fine. And if Opera or firefox do try and change the useragent then they will just have to deal with the related browser bugs. I don't see anyway around it. The firefox bug is just to strange.
I'm not sure exactly what all this involves or if you know of the quick and easy way to single out Opera, no mater what it is reporting itself as. Just in case you don't - Opera will always return true for window.opera - all others return false:
Code:
if(window.opera)
set conditions for Opera only
I will use this on occasion if Opera is the only browser that needs a certain approach in a script. It can and, has in the past been abused though. So, be careful how you use it.
Bookmarks