From e7a479097012bb34760f3d8adb5769c5b61d07b6 Mon Sep 17 00:00:00 2001 From: Serraniel Date: Sun, 25 Oct 2020 11:54:36 +0100 Subject: [PATCH] #91 Added base script file --- src/javascript/enhancements/watch2getherChat.js | 12 ++++++++++++ src/javascript/index.js | 4 +++- 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 src/javascript/enhancements/watch2getherChat.js diff --git a/src/javascript/enhancements/watch2getherChat.js b/src/javascript/enhancements/watch2getherChat.js new file mode 100644 index 0000000..e611c1f --- /dev/null +++ b/src/javascript/enhancements/watch2getherChat.js @@ -0,0 +1,12 @@ +import * as core from '../utils/aniwatchCore'; +import * as helper from '../utils/helpers'; + +export function init() { + core.runAfterLoad(() => { + manipulateChatInput(); + }, "^/watch2gether/.*$"); +} + +function manipulateChatInput(){ + +} \ No newline at end of file diff --git a/src/javascript/index.js b/src/javascript/index.js index 9d86b8a..f09fe58 100644 --- a/src/javascript/index.js +++ b/src/javascript/index.js @@ -6,6 +6,7 @@ import { initHelpers } from './utils/helpers'; import { init as animeRequests } from './enhancements/animeRequests'; import { init as languageDisplay } from './enhancements/languageDisplay'; import { init as quickSearch } from './enhancements/quickSearch'; +import { init as watch2getherChat } from './enhancements/watch2getherChat'; // core initCore(); @@ -16,4 +17,5 @@ initHelpers(); // enhancements animeRequests(); languageDisplay(); -quickSearch(); \ No newline at end of file +quickSearch(); +watch2getherChat(); \ No newline at end of file