All Mangas Reader

Discuss the extension, report bugs and request new features.
It is currently Mon Sep 25, 2017 9:52 am

All times are UTC




Post new topic Reply to topic  [ 16 posts ]  Go to page Previous  1, 2
Author Message
PostPosted: Sat Sep 06, 2014 10:16 am 
Offline

Joined: Mon May 23, 2011 10:48 am
Posts: 20
Thank Braiam, rev 15 fixes the problem for me.


Top
 Profile  
 
PostPosted: Sat Sep 06, 2014 3:29 pm 
Offline

Joined: Thu Jun 23, 2011 2:46 pm
Posts: 19
Hey braiam, I know it's a big ask after you've already put in the work to sort out the new implementation, but would it be possible to tell us a bit more about that loop in the background page you mentioned?

I've got a load of manga that I read on batoto, and going through all of them to sort the read and unread would take a fair bit of time - If you can't, that's cool, I'll just grind it out, but it would be very much appreciated.


Top
 Profile  
 
PostPosted: Sat Sep 06, 2014 6:26 pm 
Offline
AMR Hero

Joined: Fri Apr 27, 2012 5:10 pm
Posts: 586
Location: A Town far from you
Code:
for (var i in mangaList) {
  if (mangaList.hasOwnProperty(i)) {
  // or if (Object.prototype.hasOwnProperty.call(mangaList,prop)) for safety...
    //console.log("prop: " + i + " value: " + mangaList[i].lastChapterReadURL)
        if (mangaList[i].lastChapterReadURL.match(/batoto\.net/)) {
            mangaList[i].lastChapterReadURL = mangaList[i].lastChapterReadURL.replace(/www\.batoto\.net/, "bato.to")
        }
        if (mangaList[i].url.match(/batoto\.net/)) {
            mangaList[i].url = mangaList[i].url.replace(/www\.batoto\.net/, "bato.to")
        }
  }
}


Be careful, and check first what's going to be replaced.

_________________
Know about me here


Top
 Profile  
 
PostPosted: Sun Sep 07, 2014 9:00 am 
Offline

Joined: Thu Jun 23, 2011 2:46 pm
Posts: 19
Thanks Braiam! I'll be sure to update all my list backups before I do anything - at least that way if I do mess up, the worst I'm risking is five minutes to restore my list from backup.


Top
 Profile  
 
PostPosted: Wed Sep 10, 2014 5:55 am 
Offline

Joined: Wed Sep 10, 2014 5:50 am
Posts: 1
So from what I can tell, loading the chapters in Batoto works. But the last chapter read is always blank, and every Batoto manga I have finished has been marked as unread as a result. So now, I have 244 unread manga. Is there a future plan for fixes?

EDIT: Okay I see there's been an updated Batoto.js file in the mirrors section of the GitHub... where am I supposed to put or run this file?


Top
 Profile  
 
PostPosted: Thu Oct 16, 2014 6:54 am 
Offline

Joined: Mon Jun 02, 2014 2:50 am
Posts: 7
Sudger, if you see this.

The mirrors are automatically updated, so that shouldn't be a problem.

If you go to your unread manga, you'll see that either you can see a +, enabling you to add the manga again.

Or that another copy of it will be created in amr.

Either way, delete the previous one.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 16 posts ]  Go to page Previous  1, 2

All times are UTC


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group