Skip to content
Permalink
Browse files

Fix MyAnimeList id detection

Updated SimpleNotification
Updated README and Changelog
  • Loading branch information...
Glagan committed Feb 3, 2019
1 parent 658b9fb commit 98e15be70862ba8dde4b00b20f3c6eabd4bf5259
@@ -58,6 +58,9 @@ The export to MAL feature add or update on MyAnimeList all your titles in your M

You can enable the option to upload your save to an online service, using a [MMD - Online Save](https://github.com/Glagan/MyMangaDex-OnlineSave) website.
By default, the option is turned off and the default website available is my site, [https://mmd.nikurasu.org](https://mmd.nikurasu.org/), but you can clone the Online Save repo and host it yourself, then you just have to change the URL in the options.

> Hosting an online service won't actually work for Firefox because of limitations...
When you enable that option, you need to set your username and your password, and that's the only thing you need to remember.
When you change computer, after reinstalling the extension, you just have to enter them again and your save will be imported locally, and your future updates will be saved online.
All of the data is still saved locally and the extension only use local data.
@@ -73,6 +76,8 @@ I only store the least possible data:

You can disable the option to save all opened chapters, and all of the data can be easily exported using the **Export (MMD)** in the options.

> Your password is not stored if you use the Online Save feature
## Debug installation

You can also install the extension from this repository, but the extension **will** be uninstalled when Firefox is closed and the data **could** be deleted at the same time, Chrome will keep the extension installed.
@@ -13,6 +13,7 @@
* Added a *Show Lower* button on chapter list pages to show hidden chapters
* Fix MD list status when auto-updating it
* Fix Date buttons in MAL modal
* Fix MAL id detection

## 1.9.10 + 1.9.11

Large diffs are not rendered by default.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -917,7 +917,7 @@ class MyMangaDex {
this.manga.name = document.querySelector("h6[class='card-header']").textContent.trim();
this.manga.mangaDexId = /.+title\/(\d+)/.exec(this.pageUrl);
// We always try to find the link, in case it was updated
let myAnimeListUrl = document.querySelector("img[src='/images/misc/mal.png'");
let myAnimeListUrl = document.querySelector("img[src$='/mal.png'");
if (myAnimeListUrl !== null) {
// Finish getting the mal link
myAnimeListUrl = myAnimeListUrl.nextElementSibling.href;
@@ -121,6 +121,11 @@ async function loadOptions() {
"Online Save as been added, if you wish to use it you need to manually enable it. You can see the changelog on {{https://github.com/Glagan/MyMangaDex}}.",
{sticky: true, position: "bottom-left", image: mmdImage}
);
SimpleNotification.info(
"Update Information",
"The project is currently *done* and I don't really plan into adding new features.\r\nBut if you have a problem, I will still try to solve it, open an issue or message me (Github, Discord, Reddit).",
{sticky: true, position: "bottom-left", image: mmdImage}
);
}

await storageSet("options", data);

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

0 comments on commit 98e15be

Please sign in to comment.
You can’t perform that action at this time.