MyAnimeList Hide Manga Store

Hides the Manga Store Ads on MyAnimeList.

< Opinie na MyAnimeList Hide Manga Store

Ocena: Dobry - skrypt działa

§
Napisano: 23-04-2018
Edytowano: 03-05-2018

Works great in Violentmonkey

Doesn't work for me on Firefox 59.0.2

edit: fixed!

§
Napisano: 23-04-2018
Edytowano: 23-04-2018

@"Greasy Cork" said: Doesn't work for me on Firefox 59.0.2

Can I ask what extension you're using? Greasemonkey, Tampermonkey, Violentmonkey, something else?

§
Napisano: 24-04-2018

At first I was using Greasemonkey, but I've switched to Violentmonkey now and it still didn't work. But wait! I noticed then that the script simply wasn't trying to run at all on the MAL url I was using. That seemed simple enough to fix, but I can't code, so, I copied this line from another script:

// @include /^https?:\/\/myanimelist.net\/(anime|manga)(.php\?id=|\/)\d+/ and I can only guess what any of that means so it may not be a perfect solution but it got the script operating on anime/manga pages. I tried to jury-rig something similar for the top anime/manga pages but in the end I just copied the URLs exactly from my browser: // @include https://myanimelist.net/topanime.php
// @include https://myanimelist.net/topmanga.php

After replacing the original @include lines with those three, the script works perfectly :)

§
Napisano: 27-04-2018
Edytowano: 27-04-2018

@"Greasy Cork" said: At first I was using Greasemonkey, but I've switched to Violentmonkey now and it still didn't work.

Yeah, greasemonkey has been quite pitiful since the latest update. Violentmonkey does better, but I'd really just recommend Tampermonkey.

@"Greasy Cork" said:

// @include https://myanimelist.net/topanime.php // @include https://myanimelist.net/topmanga.php

The script does a lot more than just that, by the way, it blocks the manga store on a bunch of different pages.

It seems violentmonkey has minimal support for @includes, but since @match's are supported much more,

I've updated it so that it works with violentmonkey and tampermonkey.

§
Napisano: 03-05-2018

@purplepinapples said:

Yeah, greasemonkey has been quite pitiful since the latest update. Violentmonkey does better, but I'd really just recommend Tampermonkey.

I value privacy so Violentmonkey will forever have my support for being open source. Thanks for the update. Works great. I was frustrated by not being able to block the store with Ublock without breaking the page.

Odpowiedz

Zaloguj się, by odpowiedzieć.