summaryrefslogtreecommitdiff
path: root/ext/bg/template-renderer.html
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-09-18 21:16:39 -0400
committerGitHub <noreply@github.com>2020-09-18 21:16:39 -0400
commit2f4adbab2cbefba1898b4ce6f8ff5e03622cfd34 (patch)
tree3c93a79e9f426b53ad30db0906b3b73d25834afc /ext/bg/template-renderer.html
parente9d6c4cc928516647172c5ba3c938126390adfa2 (diff)
Handlebars sandbox (#612)
* Set up template renderer proxy * Use proxy * Remove unused handlebars script tags * Update manifest
Diffstat (limited to 'ext/bg/template-renderer.html')
-rw-r--r--ext/bg/template-renderer.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/ext/bg/template-renderer.html b/ext/bg/template-renderer.html
new file mode 100644
index 00000000..c58e604c
--- /dev/null
+++ b/ext/bg/template-renderer.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta charset="UTF-8">
+ <meta name="viewport" content="width=device-width,initial-scale=1" />
+ <title>Yomichan Handlebars Sandbox</title>
+ <link rel="icon" type="image/png" href="/mixed/img/icon16.png" sizes="16x16">
+ <link rel="icon" type="image/png" href="/mixed/img/icon19.png" sizes="19x19">
+ <link rel="icon" type="image/png" href="/mixed/img/icon32.png" sizes="32x32">
+ <link rel="icon" type="image/png" href="/mixed/img/icon38.png" sizes="38x38">
+ <link rel="icon" type="image/png" href="/mixed/img/icon48.png" sizes="48x48">
+ <link rel="icon" type="image/png" href="/mixed/img/icon64.png" sizes="64x64">
+ <link rel="icon" type="image/png" href="/mixed/img/icon128.png" sizes="128x128">
+</head>
+<body>
+ <script src="/mixed/lib/handlebars.min.js"></script>
+ <script src="/mixed/js/japanese.js"></script>
+ <script src="/bg/js/template-renderer.js"></script>
+ <script src="/bg/js/template-renderer-frame-api.js"></script>
+ <script src="/bg/js/template-renderer-frame-main.js"></script>
+</body>
+</html>