diff options
author | Sowgro <69283684+Sowgro@users.noreply.github.com> | 2023-09-11 16:03:52 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-11 16:03:52 -0400 |
commit | a2cf4228528a08968f80188a2968307aa008902f (patch) | |
tree | 0bb240cf84e7622de863d5a245a97a6b5074581c /app/betterlibrary.js | |
parent | 781a640245891e59276549d1864d156035b56d8e (diff) | |
download | betterLibrary-a2cf4228528a08968f80188a2968307aa008902f.tar.gz betterLibrary-a2cf4228528a08968f80188a2968307aa008902f.tar.bz2 betterLibrary-a2cf4228528a08968f80188a2968307aa008902f.zip |
First Commit
Diffstat (limited to 'app/betterlibrary.js')
-rw-r--r-- | app/betterlibrary.js | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/app/betterlibrary.js b/app/betterlibrary.js new file mode 100644 index 0000000..9649bea --- /dev/null +++ b/app/betterlibrary.js @@ -0,0 +1,21 @@ +var a; + +function betterlibrary() { + if (a == undefined) + try { + a = document.getElementsByClassName("main-yourLibraryX-libraryContainer")[0]; + console.log("setting a"); + } catch (error) { + + } + try { + setTimeout(() => { + document.getElementsByClassName("betterlibheader")[0].prepend(a); + // document.getElementsByClassName("main-yourLibraryX-entryPoints")[0].appendChild(a); + }, 100); + console.log("did not catch"); + } catch (error) { + console.log("catch!!"); + console.error(error); + } +}
\ No newline at end of file |