Compare commits
1 commit
develop
...
feature/#6
Author | SHA1 | Date | |
---|---|---|---|
Serraniel | 20b2fe3cb8 |
15
src/javascript/enhancements/importWatchlist.js
Normal file
15
src/javascript/enhancements/importWatchlist.js
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
import * as core from '../utils/aniwatchCore';
|
||||||
|
import * as helper from '../utils/helpers';
|
||||||
|
|
||||||
|
export function init() {
|
||||||
|
core.registerScript(node => {
|
||||||
|
// run the scripts
|
||||||
|
if (helper.isHtmlElement(node)) {
|
||||||
|
restructureImport(node)
|
||||||
|
}
|
||||||
|
}, "^/profile/[0-9]*\?tab=[0-9]*$");
|
||||||
|
}
|
||||||
|
|
||||||
|
function restructureImport(node){
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in a new issue