Skip to content
This repository was archived by the owner on Aug 15, 2019. It is now read-only.
This repository was archived by the owner on Aug 15, 2019. It is now read-only.

localstorage and PrivateBrowsing #5

@PatchworkBoy

Description

@PatchworkBoy

If Private Browsing is enabled (eg: in Safari on OSX or iOS) an error is thrown when aware.js attempts to set anything via window.localstorage.setItem...

QUOTA_EXCEEDED_ERR:DOM Exception 22:"An attempt was made to add something to storage that exceeded the quota"

Needs some try & catch action... ala http://jsfiddle.net/hxNc5/2/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions