aboutsummaryrefslogtreecommitdiffhomepage
path: root/addon/index.mjs
diff options
context:
space:
mode:
authorHsieh Chin Fan <pham@topo.tw>2024-10-18 13:12:13 +0800
committerHsieh Chin Fan <pham@topo.tw>2024-10-18 13:12:13 +0800
commitdbe6179d42a50899bf97585b0c8437129dd408f4 (patch)
tree60d4eabbdc1b228865f2fc0e7fa17f1f7178143e /addon/index.mjs
parent684203b326392688821d514f69f8d6b954a58b1b (diff)
parentf76555b48a3f6c1956c933e9421cf4aba704fb21 (diff)
Merge branch addon
Diffstat (limited to 'addon/index.mjs')
-rw-r--r--addon/index.mjs1
1 files changed, 1 insertions, 0 deletions
diff --git a/addon/index.mjs b/addon/index.mjs
index d138775..5776a18 100644
--- a/addon/index.mjs
+++ b/addon/index.mjs
@@ -15,6 +15,7 @@ const blockSelectors = {
15 'developer.mozilla': '.section-content', 15 'developer.mozilla': '.section-content',
16 'hackmd.io': '#doc > *', 16 'hackmd.io': '#doc > *',
17 'www.ptt.cc': '#main-content > span', 17 'www.ptt.cc': '#main-content > span',
18 'prosemirror.net': '.ProseMirror > *',
18} 19}
19const blockSelector = blockSelectors[url.host] 20const blockSelector = blockSelectors[url.host]
20 21