Sunday, June 16, 2013

postMessage only works for IFRAMES/FRAMES in IE9

http://blogs.msdn.com/b/ieinternals/archive/2009/09/16/bugs-in-ie8-support-for-html5-postmessage-sessionstorage-and-localstorage.aspx

From this blog, the limitation of IE9 postMessage implementation impacts cross window/tab communications, at least for this windows browser. Firefox, Chrome, Safari, Opera seem to implement well. Through postMessage and onMessage interfaces, it is a convenient, efficient and secure way to do cross window/tab/frame communications, even cross domains.

Though parent and child window can easily access eachother’s DOM, a common way to get a value from one window to another is by setting a value on a hidden input field of a form in the other window. Therefore, the solution is adding a form to your page and using hidden form elements to transfer data back and forth between windows.

Here is one jquery plugin which encapsulates all the form building, event handler details.
http://www.sfpeter.com/2008/03/communication-between-browser-windows-with-jquery-my-new-plugin/

Friday, June 7, 2013

SecurityError: The operation is insecure.

How to resolve this? This error appears if secure HTTP (https://) tries to connect non-secure websocket (ws://) servers.

We tested this issue through below test site across browsers, and found most browsers throw SecurityError
https://www.websocket.org/echo.html

Windows:
IE 9 [no websocket support]
IE 10 [no]
Chrome [ok]
FireFox [no]
Opera [no]

Mac:
Safari [ok]
Chrome [ok]
FireFox [no]
Opera [no]

Firefox (v21) has a flag to control this (network.websocket.allowInsecureFromHTTPS from about:config)


Tuesday, May 28, 2013

Cherry pickup (Brentwood, Gilroy)

Where:     Lopez Ranch
1801 Orchard Lane
PO BOX #807
Brentwood, CA 94513
(925) 634-4433

Where:     Laird Ranch
3150 Sellers Ave
Brentwood, CA 94513
(925) 998-5769

Where:     Heritage Family Farm
2500 Concord Ave.
Brentwood, CA 94513
(925) 642-7653

Where:     Bacchini's Fruit Tree
2010 Walnut Blvd.
Brentwood, CA 94513
(925) 634-3645

Where:     Bloomfield Cherries
501 Payne Ave.
1/2 mile west of Walnut
Brentwood, CA 94513
(925) 550-5540

Where:     Chavez U-Pick Cherries
South side of Marsh Creek Road between Walnut Blvd. and Sellers
, CA
(925) 625-3994

Where:     DC's Extraordinary Cherries
2012 Marsh Creek Road
1/4 Mile West of Highway 4 Bypass on Marsh Creek Road, One mile
Brentwood, CA 94513
(925) 516-4495

Where:     Maggiore Cherry Ranch
Camino Diablo Rd.
1/2 mile East of Vasco Road
Byron, CA 94514
(925) 634-4176

Where:     Maggiore Ranches
Camino Diablo Rd.
1/2 mile East of Vasco Road
Byron, CA 94514
(925) 634-4176

Where:     Mike's U-Pick
3230 Concord Ave.
Brentwood, CA 94513
(925) 698-7459

Where:     Nunn Better Farms
Sellers Avenue
Between Sunset Road and Chestnut StreetBrentwood, CA
Brentwood, CA
(925) 634-2148

Where:     Papini Family Orchards
301 Sellers Ave.
Brentwood, CA 94513
(925) 759-6735

Where:     Papini Farms #2
301 Sellers Ave.
Brentwood, CA 94513
(925) 759-6735

Where:     Pease Ranch
25175 Marsh Creek Road
Brentwood, CA 94513
(925) 634-4646

Where:     Pomeroy Farm
1600 Eureka Ave.
PO BOX #67
Brentwood, CA 94513

Where:     RC U-Pick Cherries
4401 Sellers Ave.
Brentwood, CA 94513
(925) 679-3011 

-------------------------------

Buckley u-Pick Cherry Farms
2950 Leavesley Rd
Gilroy, CA 95020
(408) 842-4697
http://www.buckleycherries.com

Lazy K Ranch Cherry U-pick
3465 Susie Ln
Gilroy, CA 95020
(408) 888-5431
http://www.gilroycherries.com/


Gizdich Farms, (Strawberry, apple U-pick)
55 Peckham Rd., Watsonville.
831/722-1056.