(page)
| 82 | }, |
| 83 | }, |
| 84 | init(page) { |
| 85 | api.storage.addStyle( |
| 86 | require('!to-string-loader!css-loader!less-loader!./style.less').toString(), |
| 87 | ); |
| 88 | j.$(document).ready(function () { |
| 89 | if (document.title.includes('MonosChinos - Anime sub español y latino')) { |
| 90 | con.error('404'); |
| 91 | return; |
| 92 | } |
| 93 | if (page.url.split('/')[3] === 'ver' || page.url.split('/')[3] === 'anime') { |
| 94 | page.handlePage(); |
| 95 | } |
| 96 | utils.waitUntilTrue( |
| 97 | () => MonosChinos.overview!.list!.elementsSelector().length > 0, |
| 98 | () => page.handleList(), |
| 99 | ); |
| 100 | }); |
| 101 | }, |
| 102 | }; |
nothing calls this directly
no test coverage detected