![]() |
A Sample Of Apple's Phone Number Detection |
If your like me you like all your apps to have nice icons. OSX looks so nice, you wouldn't want to muck it up with ugly application icons would you? Well, every once in a while I have a heck of a time changing the icon. Some times I am able to get away with using a png or if that doesn't work an icns will sometimes work those don't seem to work for me every time. While I don't know what the common thread is that causes this problem I have found a solution that has been working for me 100% of the time.
I was laying in bed this morning trying to remember where I put my laptop the day before and after I sorted that out it got me thinking. I should put something in place just in case some turkey managed to make off with my lappy. I don't think I need anything super elaborate since anyone with half a brain will just wipe the drive.
So I started poking around and I have found that mozilla's prism application for has actually come a long way since I saw it last. It works really well. It seems to work just as well as fluid but with the added bonus of saving my passwords and working with google docs.
Now I know that prism has also been discontinued but hopefully it will live on in the chromeless project and continue to break down the barrier between web and local applications.
Note: Changing the user agent in prism is kinda funky but its not hard. If you want to change it, which you probably should to avoid problems with apps like netflix who do feature detection based on user agent, check the video below.
Hello guys. I haven't posted in a while but I ran into something interesting I thought I would share.
I have been working on some side projects messing around with mobile safari and I ran into a peculiar problem. I was binding the touchstart, touchmove and touchend events to a method and attempting to get the pageX and pageY from the targetTouches object but I kept getting undefined. For some reason targetTouches did not exist despite the fact that apple documented that it should exist in mobile safari events. As far as I'm aware there is no way to reproduce this on the desktop since there are no touch events and I have not seen a tool that matches firebug on the iPad this was a difficult issue to track down.
Well to make a long story slightly less long as it turns out the culprit was my good buddy jQuery. Despite my reading and re-reading the jQuery docs I could not find anywhere where this is documented but it looks like when I used jQuery to bind those events jQuery took the resulting event and created a w3c compliant event object and stuck the original event in the new event object. This is no doubt necessary and useful for removing odd browser quirks but it would have been really helpful to document this behavior somewhere.
So if your using jQuery and you need to get at that original event in all its mobile safari touchy goodness you will probably want to give the event object jQuery provides you one of these:
e = e.originalEvent;