Grammalecte  Check-in [438b74bcdf]

Overview
Comment:[fx] Fix previous commit
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | fx | webext_sharedworker
Files: files | file ages | folders
SHA3-256: 438b74bcdf7b821653ebde600deb32be075a35d3c14464e73941e299129d0175
User & Date: IllusionPerdu on 2017-08-10 18:25:05
Other Links: branch diff | manifest | tags
Context
2017-08-10
21:20
[fx] Use only the Sharedworker (cleanup code in background) check-in: db25c98bc2 user: IllusionPerdu tags: fx, webext_sharedworker
18:25
[fx] Fix previous commit check-in: 438b74bcdf user: IllusionPerdu tags: fx, webext_sharedworker
18:03
[fx] Use the extension ID for the Frame name limit the chance of interference with other extension or code in webpage check-in: f7edaf2be9 user: IllusionPerdu tags: fx, webext_sharedworker
Changes

Modified gc_lang/fr/webext/content_scripts/modify_page.js from [f0736e207f] to [64fb970984].

    18     18           console.log('[Web] received (from iframe (Sharedworker)):', oEvent);
    19     19       }    
    20     20   }
    21     21   
    22     22   /*
    23     23   * Creation d'une iframe pour communiquer entre la page visitée et le Shareworker
    24     24   */
    25         -let sFrameID = browser.extension.getURL("").split('/').pop();
           25  +var sFrameID = browser.extension.getURL("").split('/')[2];
    26     26   var iframe = document.createElement('iframe');
    27     27   iframe.id = sFrameID;
    28     28   iframe.src = browser.extension.getURL('content_scripts/comunicate.html');
    29     29   iframe.hidden = true;
    30     30   iframe.onload= function() {
    31     31       console.log('[Web] Init protocol de communication');
    32     32       //var iframeContent = iframe.contentWindow;