Feature/#94 auto resume after screenshot #98
10
src/javascript/enhancements/anilyr.js
Normal file
10
src/javascript/enhancements/anilyr.js
Normal file
|
@ -0,0 +1,10 @@
|
|||
import * as core from '../utils/aniwatchCore';
|
||||
import * as helper from '../utils/helpers';
|
||||
|
||||
export function init() {
|
||||
core.registerScript(node => {
|
||||
// run the scripts
|
||||
|
||||
}, "^/anime/[0-9]*/[0-9]*$");
|
||||
}
|
||||
|
|
@ -3,6 +3,7 @@ import { initCore } from './utils/aniwatchCore';
|
|||
// helper
|
||||
import { initHelpers } from './utils/helpers';
|
||||
// enhancements
|
||||
import { init as anilyr } from './enhancements/anilyr';
|
||||
import { init as animeRequests } from './enhancements/animeRequests';
|
||||
import { init as languageDisplay } from './enhancements/languageDisplay';
|
||||
import { init as quickSearch } from './enhancements/quickSearch';
|
||||
|
@ -14,6 +15,7 @@ initCore();
|
|||
initHelpers();
|
||||
|
||||
// enhancements
|
||||
anilyr();
|
||||
animeRequests();
|
||||
languageDisplay();
|
||||
quickSearch();
|
Loading…
Reference in a new issue