Thanks!
But I found that added and modified date of bookmark items are wrong.
Sorry, I am not good at English to describe details.
But you can understand my code.
places.js
@@ -32,6 +32,8 @@
try {
- bmsvc.setItemDateAdded(bmkid, bmk['date']);
+ bmsvc.setItemDateAdded(bmkid, bmk['date'] * 1000000);
if ('modified' in bmk) {
- bmsvc.setItemLastModified(bmkid, bmk['modified']);
- }
+ bmsvc.setItemLastModified(bmkid, bmk['modified'] * 1000000);
+ } else {
+ bmsvc.setItemLastModified(bmkid, bmk['date'] * 1000000);
+ }
if ('desc' in bmk) {
Anyway, How did you make xpi from js?
(I have no experience in xpi development.)
Thanks!
But I found that added and modified date of bookmark items are wrong.
Sorry, I am not good at English to describe details.
But you can understand my code.
places.js @@ -32,6 +32,8 @@ try { - bmsvc.setItemDateAdded(bmkid, bmk['date']); + bmsvc.setItemDateAdded(bmkid, bmk['date'] * 1000000); if ('modified' in bmk) { - bmsvc.setItemLastModified(bmkid, bmk['modified']); - } + bmsvc.setItemLastModified(bmkid, bmk['modified'] * 1000000); + } else { + bmsvc.setItemLastModified(bmkid, bmk['date'] * 1000000); + } if ('desc' in bmk) {Anyway, How did you make xpi from js?
(I have no experience in xpi development.)