diff options
author | Deathamns <deathamns@gmail.com> | 2015-03-14 19:51:49 +0100 |
---|---|---|
committer | Deathamns <deathamns@gmail.com> | 2015-03-14 19:53:30 +0100 |
commit | f6ccacf550e6b39b9dc1fa8a5cb4ddd58647479f (patch) | |
tree | 3a236d01d9112e7b1093920cdeb94c7b17352a6f /platform/safari | |
parent | ed88939a63a46ba0c46346de5203e728e99bf8c5 (diff) | |
download | uBlock-f6ccacf550e6b39b9dc1fa8a5cb4ddd58647479f.zip uBlock-f6ccacf550e6b39b9dc1fa8a5cb4ddd58647479f.tar.gz uBlock-f6ccacf550e6b39b9dc1fa8a5cb4ddd58647479f.tar.bz2 |
Firefox,Safari: vAPI.localStorage
Diffstat (limited to 'platform/safari')
-rw-r--r-- | platform/safari/vapi-common.js | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/platform/safari/vapi-common.js b/platform/safari/vapi-common.js index 25d0977..8dde1c5 100644 --- a/platform/safari/vapi-common.js +++ b/platform/safari/vapi-common.js @@ -91,10 +91,10 @@ vAPI.getURL = function(path) { // First language is the default vAPI.i18nData = [ - 'en', 'ar', 'bg', 'ca', 'cs', 'da', 'de', 'el','es', 'et', 'fa', 'fi', + 'en', 'ar', 'bg', 'ca', 'cs', 'da', 'de', 'el', 'es', 'et', 'fa', 'fi', 'fil', 'fr', 'he', 'hi', 'hr', 'hu', 'id', 'it', 'ja', 'ko', 'lt', 'lv', - 'mr', 'nb', 'nl', 'pl', 'pt-BR', 'pt-PT', 'ro', 'ru', 'sl', 'sq', 'sr', - 'sv', 'te', 'tr', 'uk', 'vi', 'zh-CN', 'zh-TW' + 'mr', 'nb', 'nl', 'pl', 'pt-BR', 'pt-PT', 'ro', 'ru', 'sl', 'sq', 'sr', + 'sv', 'te', 'tr', 'uk', 'vi', 'zh-CN', 'zh-TW' ]; vAPI.i18n = navigator.language; @@ -135,11 +135,6 @@ vAPI.closePopup = function() { // This storage is optional, but it is nice to have, for a more polished user // experience. -vAPI.localStorage = { - key: function(){}, - getItem: function(){}, - setItem: function(){}, - removeItem: function(){} -}; +vAPI.localStorage = window.localStorage; })(); |