diff --git a/src/javascript/enhancements/profile.js b/src/javascript/enhancements/profile.js new file mode 100644 index 0000000..34a9aca --- /dev/null +++ b/src/javascript/enhancements/profile.js @@ -0,0 +1,8 @@ +import * as core from '../utils/aniwatchCore'; +import * as helper from '../utils/helpers'; + +export function init() { + core.registerScript(node => { + + }, "^/profile/[0-9]*$"); +} \ No newline at end of file diff --git a/src/javascript/index.js b/src/javascript/index.js index 9d86b8a..97afc57 100644 --- a/src/javascript/index.js +++ b/src/javascript/index.js @@ -5,6 +5,7 @@ import { initHelpers } from './utils/helpers'; // enhancements import { init as animeRequests } from './enhancements/animeRequests'; import { init as languageDisplay } from './enhancements/languageDisplay'; +import { init as profile } from './enhancements/profile'; import { init as quickSearch } from './enhancements/quickSearch'; // core @@ -16,4 +17,5 @@ initHelpers(); // enhancements animeRequests(); languageDisplay(); +profile(); quickSearch(); \ No newline at end of file