Conversation
|
Reviewed 1 of 1 files at r1. a discussion (no related file): the A better fix would be to force all urls on AMR to not be protocol relative and append a function to all mirrors to default to https or http and make it a switchable option defaulting to http when nothing is present. A long term fixing would be moving all the ajax calls to internal helper functions which accepts same input the ajax calls have and returns the object for further processing. Which would allow us to just store the path on the mangas object and localStorage, reducing it size and allowing us to be more flexible when sites moves domains or upgrade to https. For now, I would accept this PR if the solution is introduced earlier on the function (on the Comments from Reviewable |
MangaHere made some pages to their websites which was causing the urls to be fetch incorrectly. In order for this configuration to work we need to edit the websites that it supports. I wasn't sure how to do that so if anyone can give me any help it would be appreciate it. For now I made a hotfix: https://github.com/twluo/AMR/blob/e314df3a29f2f23df35312107ff5976131854f49/js/mgEntry.js#L523-L525
This change is