aboutsummaryrefslogtreecommitdiff
path: root/ext/bg
diff options
context:
space:
mode:
authorsiikamiika <siikamiika@users.noreply.github.com>2019-12-05 03:58:35 +0200
committersiikamiika <siikamiika@users.noreply.github.com>2019-12-05 03:58:35 +0200
commit02a34bb4bc81471934e54b5440a20585527d76f5 (patch)
treece1f6d6eb9b56fcb16663a97df1fbdc06c383bba /ext/bg
parent248b0f15eb7d0fd10d3678a2e5d2f6ddb631309f (diff)
initial text scanner extract
Diffstat (limited to 'ext/bg')
-rw-r--r--ext/bg/js/search-frontend.js1
-rw-r--r--ext/bg/search.html1
2 files changed, 2 insertions, 0 deletions
diff --git a/ext/bg/js/search-frontend.js b/ext/bg/js/search-frontend.js
index 6ba8467e..e21dc371 100644
--- a/ext/bg/js/search-frontend.js
+++ b/ext/bg/js/search-frontend.js
@@ -33,6 +33,7 @@ async function searchFrontendSetup() {
window.frontendInitializationData = {depth: 1, ignoreNodes, proxy: false};
const scriptSrcs = [
+ '/mixed/js/text-scanner.js',
'/fg/js/frontend-api-receiver.js',
'/fg/js/popup.js',
'/fg/js/popup-proxy-host.js',
diff --git a/ext/bg/search.html b/ext/bg/search.html
index 58bb9ba8..7b4616da 100644
--- a/ext/bg/search.html
+++ b/ext/bg/search.html
@@ -74,6 +74,7 @@
<script src="/mixed/js/display.js"></script>
<script src="/mixed/js/japanese.js"></script>
<script src="/mixed/js/scroll.js"></script>
+ <script src="/mixed/js/text-scanner.js"></script>
<script src="/bg/js/search-query-parser.js"></script>
<script src="/bg/js/search.js"></script>