View Single Post
Old 08-07-2013, 04:42 PM   #525
silver18
THE NOOB
silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.
 
silver18's Avatar
 
Posts: 708
Karma: 1545649
Join Date: Jan 2012
Location: Italy
Device: Kindle Touch 5.3.2
Some news....
I completely revisited bookmarks and options.
Thanks to JSON, now options uses only one entry in localStorage.

1) You can enter a bookmark description (if you want) when saving one.
If you save a bookmark using autosave or quick save, then it skips this step adding a default description ("Autosave" or "Quick save").

2) Bookmark menu is dynamic:

- Add bookmark is grayed out if the page already has a bookmark
- Jump to bookmark is grayed out if the comic doesn't have any bookmark
- Remove bookmark is grayed out if the page isn't bookmarked

All the code has been reworked to improve the performance.
Everything will be minified in the release (src will be non-minified!)

Next: rework the deletions, add pinch-to-zoom, revisit shell scripts.


In the meanwhile: does anybody know a JSON parser to be used in shell scripting?
Thanks!!
Attached Thumbnails
Click image for larger version

Name:	screenshot_2013_08_07T22_36_20+0159.png
Views:	257
Size:	32.2 KB
ID:	109071   Click image for larger version

Name:	screenshot_2013_08_07T22_34_07+0159.png
Views:	254
Size:	116.6 KB
ID:	109072  
silver18 is offline   Reply With Quote