diff --git a/plugin/js/parsers/ManhwadenParser.js b/plugin/js/parsers/ManhwadenParser.js new file mode 100644 index 00000000..595376d0 --- /dev/null +++ b/plugin/js/parsers/ManhwadenParser.js @@ -0,0 +1,13 @@ +"use strict"; + +parserFactory.register("manhwaden.com", () => new ManhwadenParser()); + +class ManhwadenParser extends MadaraParser{ + constructor() { + super(); + } + + preprocessRawDom(webPageDom) { + util.removeChildElementsMatchingCss(webPageDom, "img:not([src])"); + } +} diff --git a/plugin/popup.html b/plugin/popup.html index d72f4480..09a07992 100644 --- a/plugin/popup.html +++ b/plugin/popup.html @@ -628,6 +628,7 @@