Overview
Comment: | [fx] we can inject CSS in content-scripts -> drop inline style |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | fx | webext2 |
Files: | files | file ages | folders |
SHA3-256: |
94fe28531548350636e026da53be0a90 |
User & Date: | olr on 2017-08-12 14:53:52 |
Other Links: | branch diff | manifest | tags |
Context
2017-08-12
| ||
14:55 | [fx] forgot to add the CSS file with the previous commit check-in: 9e033cb647 user: olr tags: fx, webext2 | |
14:53 | [fx] we can inject CSS in content-scripts -> drop inline style check-in: 94fe285315 user: olr tags: fx, webext2 | |
12:04 | [fx] panels ui improvement + image inline check-in: a974df14bb user: olr tags: fx, webext2 | |
Changes
Modified gc_lang/fr/webext/content_scripts/modify_page.js from [4865d913a8] to [7d090ec36f].
︙ | |||
39 40 41 42 43 44 45 | 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 | - - + - - - - | xWrapper.style = "padding: 5px; color: hsl(210, 10%, 90%); background-color: hsl(210, 50%, 50%); border-radius: 3px;"; xWrapper.id = nWrapper + 1; nWrapper += 1; xParentElement.insertBefore(xWrapper, xTextArea); xWrapper.appendChild(xTextArea); // move textarea in wrapper let xToolbar = createWrapperToolbar(xTextArea); xWrapper.appendChild(xToolbar); |
︙ | |||
102 103 104 105 106 107 108 | 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 | - + - + - + - + | function createConjPanel () { console.log("Conjugueur"); if (xConjPanel !== null) { xConjPanel.style.display = "block"; } else { // create the panel |
︙ |
Modified gc_lang/fr/webext/content_scripts/panel_creator.js from [16b43963ab] to [dcb12b523e].
1 2 3 4 5 6 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 | - + - + - - - - - + - - + - + - - + + - - - - - - - + - - - + + + - - + - - - + + + + + | // JavaScript // Panel creator "use strict"; |
︙ |
Modified gc_lang/fr/webext/content_scripts/text_formatter.js from [ad8781cf55] to [44d0e018ce].
1 2 3 4 5 6 7 8 9 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | - + | // JavaScript // Text formatter "use strict"; function createTextFormatter (xTextArea) { let xTFNode = document.createElement("div"); try { // Options |
︙ | |||
48 49 50 51 52 53 54 | 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 | - - + + - - - - - + + + + - + - - - - + - + | xOptions.appendChild(xSpace); xOptions.appendChild(xNBSP); xOptions.appendChild(xDelete); xOptions.appendChild(xTypo); xOptions.appendChild(xMisc); xOptions.appendChild(xStruct); // Actions |
︙ |
Modified gc_lang/fr/webext/manifest.json from [27e3a301e7] to [da43ad992b].
︙ | |||
32 33 34 35 36 37 38 | 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 | - + + | "background": { "scripts": [ "background.js" ] }, "content_scripts": [ { |
︙ |