Yes, I surrender.
The asynchronous chrome.storage API is too hard to implement.
The extensions will stay with localStorage so no syncing.
I was pretty confident when I wrote the last post.
Its after a week since I started on the conversion and its gone well, converted the background page, options page and quite a few. With the progress I decided to write the last post, I thought I can complete this game.
Shortly after writing that post I went on to convert the code displaying the popup.
Upon working the chrome.storage stuff in logic became incomprehensible magic with the asynchrony mixed in. Callbacks, fragments that seemed filled is that from the future but you can only grasp the present version.
And in short its the impossible last boss, at least at my scripting level.
Even if I succeeded I don't think I can maintain the code and continue to add features.
I surrender.
Took me 2 years before I finally tried it and got defeated by asynchronousity.
All my extensions will stay with localStorage.
Blog Posts
Showing posts with label misc. Show all posts
Showing posts with label misc. Show all posts
Tuesday, May 20, 2014
Saturday, May 17, 2014
Switching from localStorage to chrome.storage
Currently I'm working to slowly switch all my extensions over to use chrome.storage. That will enable the settings of the extensions to sync across logged in Chrome instances.
There will be a lot of code changes (async methods and callbacks, urgh) so the result might not be that stable. Hopefully that will be kept at minimum as I try to be as careful as possible and do some test before uploading the build.
First on the list is SimpleExtManager.
Hope to release within the few days.
Do backup your groups now.
EDIT: Woah, the async is too strong in this task. Too tough, might take much more time. Worse come worst, might abort this switch.
There will be a lot of code changes (async methods and callbacks, urgh) so the result might not be that stable. Hopefully that will be kept at minimum as I try to be as careful as possible and do some test before uploading the build.
First on the list is SimpleExtManager.
Hope to release within the few days.
Do backup your groups now.
EDIT: Woah, the async is too strong in this task. Too tough, might take much more time. Worse come worst, might abort this switch.
Wednesday, March 19, 2014
Updates...soon
Hi there, if anyone is waiting an update will be coming in the next few days. Yup, its been quite some time.
Just a post here to make sure I put them up :P
Just a post here to make sure I put them up :P
Tuesday, December 18, 2012
Site Open!
Gotten into making Chrome extensions recently and I thought of making a site to kind of link them together as they are like here and there in the Chrome Web Store.
So here it is, a blog site for blandLIFE.dev.
Planning to showcase my personal coding 'projects' here.
My skins and visual stuff are comfy at DeviantArt :P
I can foresee that there will not be much activity on this site as I will leave the changes of the extensions to their changelog pages.
So here it is, a blog site for blandLIFE.dev.
Planning to showcase my personal coding 'projects' here.
My skins and visual stuff are comfy at DeviantArt :P
I can foresee that there will not be much activity on this site as I will leave the changes of the extensions to their changelog pages.
Subscribe to:
Posts (Atom)