How to Import/Export localstorage to a file?

1,931 views
Skip to first unread message

Magic Jimmy

unread,
Mar 17, 2015, 9:55:05 PM3/17/15
to chromium-...@chromium.org
Hello everyone,

I'm new to javascript and sure in extension field too. I'm modifying an extension so that it more suitable for me and more dynamic. The feature that i want to add to this extension is Import/Export-ing data. Currently i'm using localstorage to load data, now if i want to share my data, i have to copy my localstorage and that is insane. 
This feature already has in many extensions/addons, event in chrome or firefox it is a built-in feature for importing/exporting bookmark.

I've searched on google for FileAPI, localstorage2file...sth alike but didn't success in applying.

If you want to see an example of this feature, just head to bookmark as i mentioned or go to this link:
https://addons.mozilla.org/en-us/firefox/addon/vocabulary-highlighter/

Thanks in advance.

Ami Patel

unread,
Mar 17, 2015, 10:03:03 PM3/17/15
to Magic Jimmy, chromium-...@chromium.org

Is there a way to get files/code from others extensions to modify them?

--
You received this message because you are subscribed to the Google Groups "Chromium-extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extens...@chromium.org.
To post to this group, send email to chromium-...@chromium.org.
Visit this group at http://groups.google.com/a/chromium.org/group/chromium-extensions/.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/61d11724-b24f-43c5-a4bd-2f787f51775b%40chromium.org.
For more options, visit https://groups.google.com/a/chromium.org/d/optout.

Magic Jimmy

unread,
Mar 17, 2015, 10:20:03 PM3/17/15
to chromium-...@chromium.org
You just need to download the extension from store, that's all.

Vào 09:03:03 UTC+7 Thứ Tư, ngày 18 tháng 3 năm 2015, Ami Patel đã viết:

Is there a way to get files/code from others extensions to modify them?

On Mar 17, 2015 9:55 PM, "Magic Jimmy" <chpl...@gmail.com> wrote:
Hello everyone,

I'm new to javascript and sure in extension field too. I'm modifying an extension so that it more suitable for me and more dynamic. The feature that i want to add to this extension is Import/Export-ing data. Currently i'm using localstorage to load data, now if i want to share my data, i have to copy my localstorage and that is insane. 
This feature already has in many extensions/addons, event in chrome or firefox it is a built-in feature for importing/exporting bookmark.

I've searched on google for FileAPI, localstorage2file...sth alike but didn't success in applying.

If you want to see an example of this feature, just head to bookmark as i mentioned or go to this link:
https://addons.mozilla.org/en-us/firefox/addon/vocabulary-highlighter/

Thanks in advance.

--
You received this message because you are subscribed to the Google Groups "Chromium-extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extensions+unsub...@chromium.org.
Reply all
Reply to author
Forward
0 new messages