Overview
Comment: | [fx] WebExt: run content scripts at document_end (before the page finishes to load all external resources) |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk | fx |
Files: | files | file ages | folders |
SHA3-256: |
24c1fb45bcad7304b580896cba155446 |
User & Date: | olr on 2017-09-06 09:10:42 |
Other Links: | manifest | tags |
Context
2017-09-06
| ||
17:40 | [fx] WebExt: remove wrapper around textareas, add button and menu check-in: 3cd8dde332 user: olr tags: trunk, fx | |
09:10 | [fx] WebExt: run content scripts at document_end (before the page finishes to load all external resources) check-in: 24c1fb45bc user: olr tags: trunk, fx | |
08:38 | [fx] WebExt: hide tooltip when starting the gc panel check-in: 529238392a user: olr tags: trunk, fx | |
Changes
Modified gc_lang/fr/webext/content_scripts/panel.css from [c99213162b] to [61d7462458].
︙ | ︙ | |||
14 15 16 17 18 19 20 21 22 23 24 25 26 27 | background-color: hsl(210, 0%, 100%); color: hsl(0, 0%, 0%); font-family: "Trebuchet MS", "Liberation Sans", sans-serif; box-shadow: 0 0 2px 1px hsla(210, 50%, 50%, .5); line-height: normal; text-shadow: none; text-decoration: none; } .grammalecte_panel_bar { position: sticky; width: 100%; background-color: hsl(210, 0%, 90%); border-radius: 10px 10px 0 0; | > > > > > | 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | background-color: hsl(210, 0%, 100%); color: hsl(0, 0%, 0%); font-family: "Trebuchet MS", "Liberation Sans", sans-serif; box-shadow: 0 0 2px 1px hsla(210, 50%, 50%, .5); line-height: normal; text-shadow: none; text-decoration: none; } .grammalecte_panel img { display: inline-block; margin: 0; padding: 0; } .grammalecte_panel_bar { position: sticky; width: 100%; background-color: hsl(210, 0%, 90%); border-radius: 10px 10px 0 0; |
︙ | ︙ |
Modified gc_lang/fr/webext/content_scripts/panel_gc.js from [076f7699d4] to [bee01322e4].
︙ | ︙ | |||
278 279 280 281 282 283 284 | class GrammalecteTooltip { constructor (xContentNode) { this.xTooltip = createNode("div", {id: "grammalecte_tooltip"}); this.xTooltipArrow = createNode("img", { id: "grammalecte_tooltip_arrow", src: " data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAOwAAADsABataJCQAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4xNzNun2MAAAAnSURBVChTY/j//z8cq/kW/wdhZDEMSXRFWCVhGKwAmwQyHngFxf8B5fOGYfeFpYoAAAAASUVORK5CYII=", | | | 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 | class GrammalecteTooltip { constructor (xContentNode) { this.xTooltip = createNode("div", {id: "grammalecte_tooltip"}); this.xTooltipArrow = createNode("img", { id: "grammalecte_tooltip_arrow", src: " data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAOwAAADsABataJCQAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4xNzNun2MAAAAnSURBVChTY/j//z8cq/kW/wdhZDEMSXRFWCVhGKwAmwQyHngFxf8B5fOGYfeFpYoAAAAASUVORK5CYII=", alt: "^", }); this.xTooltipSuggBlock = createNode("div", {id: "grammalecte_tooltip_sugg_block"}); let xMessageBlock = createNode("div", {id: "grammalecte_tooltip_message_block"}); xMessageBlock.appendChild(createNode("p", {id: "grammalecte_tooltip_rule_id"})); xMessageBlock.appendChild(createNode("p", {id: "grammalecte_tooltip_message", textContent: "Erreur."})); let xActions = xMessageBlock.appendChild(createNode("div", {id: "grammalecte_tooltip_actions"})); xActions.appendChild(createNode("div", {id: "grammalecte_tooltip_ignore", textContent: "Ignorer"})); |
︙ | ︙ |
Modified gc_lang/fr/webext/manifest.json from [7a8e69a0bc] to [f6f86f5cfc].
︙ | ︙ | |||
51 52 53 54 55 56 57 | "content_scripts/panel.js", "grammalecte/fr/textformatter.js", "content_scripts/panel_tf.js", "content_scripts/panel_gc.js", "content_scripts/panel_lxg.js", "content_scripts/wrapper.js", "content_scripts/init.js" | | > | 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 | "content_scripts/panel.js", "grammalecte/fr/textformatter.js", "content_scripts/panel_tf.js", "content_scripts/panel_gc.js", "content_scripts/panel_lxg.js", "content_scripts/wrapper.js", "content_scripts/init.js" ], "run_at": "document_end" } ], "commands": { "conjugueur_tab": { "suggested_key": { "default": "Ctrl+Shift+F6" }, |
︙ | ︙ |