Grammalecte  Check-in [e345c8708f]

Overview
Comment:[fx] remove Twitter exception
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | fx
Files: files | file ages | folders
SHA3-256: e345c8708f419d5e2edd0adc3754b53a26e6958182e6306f4716de2859686751
User & Date: olr on 2020-08-10 07:42:41
Other Links: manifest | tags
Context
2020-08-11
09:57
[fr] ajustements check-in: be19e11da0 user: olr tags: trunk, fr
2020-08-10
07:42
[fx] remove Twitter exception check-in: e345c8708f user: olr tags: trunk, fx
2020-08-09
07:45
[fr] conjugaison manquante pour une catégorie de verbe du 3ᵉ groupe en -ir: subjonctif présent 2sg check-in: 8bb6b6d5bc user: olr tags: trunk, fr
Changes

Modified gc_lang/fr/webext/content_scripts/init.js from [08632c810a] to [d6a977e5a7].

186
187
188
189
190
191
192
193

194
195
196
197
198
199
200
186
187
188
189
190
191
192

193
194
195
196
197
198
199
200







-
+







        }
    },

    findOriginEditableNode: function (xNode) {
        if (!xNode) {
            return null;
        }
        if (xNode.tagName == "TEXTAREA" || xNode.tagName == "INPUT" || xNode.tagName == "IFRAME" || document.location.host == "twitter.com") {
        if (xNode.tagName == "TEXTAREA" || xNode.tagName == "INPUT" || xNode.tagName == "IFRAME") {
            return xNode;
        }
        const findNode = function (xNode) {
            return (!xNode.parentNode.isContentEditable) ? xNode : findNode(xNode.parentNode);
        }
        return findNode(xNode);
    },