diff --git a/src/javascript/enhancements/anilyr.js b/src/javascript/enhancements/anilyr.js new file mode 100644 index 0000000..d0cda71 --- /dev/null +++ b/src/javascript/enhancements/anilyr.js @@ -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]*$"); +} + diff --git a/src/javascript/index.js b/src/javascript/index.js index 9d86b8a..b58cb94 100644 --- a/src/javascript/index.js +++ b/src/javascript/index.js @@ -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(); \ No newline at end of file