DescriptionWe currently use WebSQL to store patterns.ini and localStorage for other settings on Safari. But Safari deals with extension data in localStorage and WebSQL databases, the same way as with website data. So when you clear your browsing data in the preferences or when Safari automatically cleans up old browsing data, it corrupts the Adblock Plus settings. According to some beta users this seems to happen quite often.
However we can just use safari.extension.settings instead. The API is identical to localStorage, but it isn't limited to ~1 MB and persist when clearing browsing data. Just in case you wonder, those settings won't be shown to the user, since we don't specify them in Info.plist.
Patch Set 1 #
MessagesTotal messages: 2
|