Would be nice if that actually worked... ive been llooking all over
the net.. and this url keeps showing up.. .but it dont work in lastest
version of gears!! :(
On Nov 6, 6:35 pm, Austin <[EMAIL PROTECTED]> wrote:
> Hi,
> To detect if the end user has given permission for your site to use local
> storage, you can use this boolean attribute of the factory -
>
> if (google.gears.factory.hasPermission)) {
> // user has given permission
>
> }
>
> Austin
>
> On Wed, Nov 5, 2008 at 10:57 PM, Ankit Jain <[EMAIL PROTECTED]> wrote:
> > Or putting it another way I need to find out if the page has permission to
> > use gears ( without the side effect of permission popup).
>
> > On Thu, Nov 6, 2008 at 11:58 AM, ank <[EMAIL PROTECTED]> wrote:
>
> >> For my application, I need to let people opt in to gears related
> >> functionality ( mostly caching resources). I need to check if this
> >> mode is enabled on the client, without ending up showing a permission
> >> box ( so I can't persist this in a database).
>
> >> What is the recommended way of doing it? I could store it in a cookie
> >> somehow but I wan't it to be more reliable.
>
>