aboutsummaryrefslogtreecommitdiff
path: root/ext/background.html
diff options
context:
space:
mode:
authorDarius Jahandarie <djahandarie@gmail.com>2023-11-04 18:45:57 +0900
committerDarius Jahandarie <djahandarie@gmail.com>2023-11-04 18:45:57 +0900
commitef79eab44bfd000792c610b968b5ceefd41e76a0 (patch)
tree48b04f30f6248caedbd880801aa49402a9e8066a /ext/background.html
parent376151096431d4362e4baaacf0cef4a534e169f7 (diff)
Modernize codebase
- Use ES modules - Remove vendored libs and build them from npm using esbuild - Switch from JSZip to zip.js
Diffstat (limited to 'ext/background.html')
-rw-r--r--ext/background.html38
1 files changed, 1 insertions, 37 deletions
diff --git a/ext/background.html b/ext/background.html
index 71990295..dc88f397 100644
--- a/ext/background.html
+++ b/ext/background.html
@@ -18,43 +18,7 @@
<textarea id="clipboard-paste-target"></textarea>
<!-- Scripts -->
-<script src="/lib/wanakana.min.js"></script>
-
-<script src="/js/core.js"></script>
-
-<script src="/js/yomichan.js"></script>
-
-<script src="/js/accessibility/accessibility-controller.js"></script>
-<script src="/js/background/backend.js"></script>
-<script src="/js/background/profile-conditions-util.js"></script>
-<script src="/js/background/request-builder.js"></script>
-<script src="/js/background/script-manager.js"></script>
-<script src="/js/comm/anki-connect.js"></script>
-<script src="/js/comm/clipboard-monitor.js"></script>
-<script src="/js/comm/clipboard-reader.js"></script>
-<script src="/js/comm/mecab.js"></script>
-<script src="/js/data/anki-util.js"></script>
-<script src="/js/data/database.js"></script>
-<script src="/js/data/json-schema.js"></script>
-<script src="/js/data/options-util.js"></script>
-<script src="/js/data/permissions-util.js"></script>
-<script src="/js/data/sandbox/array-buffer-util.js"></script>
-<script src="/js/dom/native-simple-dom-parser.js"></script>
-<script src="/js/extension/environment.js"></script>
-<script src="/js/general/cache-map.js"></script>
-<script src="/js/general/object-property-accessor.js"></script>
-<script src="/js/general/regex-util.js"></script>
-<script src="/js/general/text-source-map.js"></script>
-<script src="/js/language/deinflector.js"></script>
-<script src="/js/language/dictionary-database.js"></script>
-<script src="/js/language/sandbox/dictionary-data-util.js"></script>
-<script src="/js/language/sandbox/japanese-util.js"></script>
-<script src="/js/language/translator.js"></script>
-<script src="/js/media/audio-downloader.js"></script>
-<script src="/js/media/media-util.js"></script>
-<script src="/js/templates/template-patcher.js"></script>
-
-<script src="/js/background/background-main.js"></script>
+<script src="/js/background/background-main.js" type="module"></script>
<!--
Due to a Firefox bug, this next element is purposefully terminated incorrectly.