diff options
| -rw-r--r-- | addon/index.js | 1 | ||||
| -rw-r--r-- | addon/manifest.json | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/addon/index.js b/addon/index.js index 2ce3423..47d9853 100644 --- a/addon/index.js +++ b/addon/index.js | |||
| @@ -20,6 +20,7 @@ const contentSelectors = { | |||
| 20 | 'hackmd.io': '#doc', | 20 | 'hackmd.io': '#doc', |
| 21 | 'www.ptt.cc': '#main-content', | 21 | 'www.ptt.cc': '#main-content', |
| 22 | 'prosemirror.net': '.ProseMirror', | 22 | 'prosemirror.net': '.ProseMirror', |
| 23 | 'www.openstreetmap.org': '.content-body', | ||
| 23 | } | 24 | } |
| 24 | const contentSelector = contentSelectors[url.host] | 25 | const contentSelector = contentSelectors[url.host] |
| 25 | 26 | ||
diff --git a/addon/manifest.json b/addon/manifest.json index 92baf30..1b89ccf 100644 --- a/addon/manifest.json +++ b/addon/manifest.json | |||
| @@ -21,7 +21,8 @@ | |||
| 21 | "*://developer.mozilla.org/*", | 21 | "*://developer.mozilla.org/*", |
| 22 | "*://hackmd.io/*", | 22 | "*://hackmd.io/*", |
| 23 | "*://*.ptt.cc/*", | 23 | "*://*.ptt.cc/*", |
| 24 | "https://prosemirror.net/examples/*" | 24 | "https://prosemirror.net/examples/*", |
| 25 | "https://www.openstreetmap.org/*" | ||
| 25 | ], | 26 | ], |
| 26 | "js": [ | 27 | "js": [ |
| 27 | "renderers/leaflet.js", | 28 | "renderers/leaflet.js", |