Overview
Comment: | [fx] WebExt: context menu: slected text commands first |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | fx | webext3 |
Files: | files | file ages | folders |
SHA3-256: |
4c9fdcb9ba5e57e0235c1add3f3996f7 |
User & Date: | olr on 2017-10-14 11:45:58 |
Other Links: | branch diff | manifest | tags |
Context
2017-10-15
| ||
19:08 | [fx] WebExt: use innerText instead of textContent for editable nodes check-in: f9a8be8ff0 user: olr tags: fx, webext3 | |
2017-10-14
| ||
11:45 | [fx] WebExt: context menu: slected text commands first check-in: 4c9fdcb9ba user: olr tags: fx, webext3 | |
10:59 | [fx] WebExt: message if node can’t be found via eventListener of context menu check-in: 45958eeafc user: olr tags: fx, webext3 | |
Changes
Modified gc_lang/fr/webext/background.js from [f622a68555] to [3c3c66c38d].
︙ | |||
172 173 174 175 176 177 178 179 180 181 182 183 184 185 | 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 | + + + + + + + + + + + + + + + + + + + | browser.runtime.onConnect.addListener(handleConnexion); /* Context Menu */ // Selected text browser.contextMenus.create({ id: "rightClickLxgSelectedText", title: "Lexicographe (sélection)", contexts: ["selection"] }); browser.contextMenus.create({ id: "rightClickGCSelectedText", title: "Correction grammaticale (sélection)", contexts: ["selection"] }); browser.contextMenus.create({ id: "separator_selection", type: "separator", contexts: ["selection"] }); // Editable content browser.contextMenus.create({ id: "rightClickLxgEditableNode", title: "Lexicographe (zone de texte)", contexts: ["editable"] }); |
︙ | |||
211 212 213 214 215 216 217 | 230 231 232 233 234 235 236 237 238 239 240 241 242 243 | - - - - - - - - - - - - - - - - - - - | browser.contextMenus.create({ id: "separator_page", type: "separator", contexts: ["page"] }); |
︙ |