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
19
20
21
22
23
24
25
26
27
28
29
30
31
32
        console.log('[Web] received (from iframe (Sharedworker)):', oEvent);
    }    
}

/*
* Creation d'une iframe pour communiquer entre la page visitée et le Shareworker
*/
let sFrameID = browser.extension.getURL("").split('/').pop();
var iframe = document.createElement('iframe');
iframe.id = sFrameID;
iframe.src = browser.extension.getURL('content_scripts/comunicate.html');
iframe.hidden = true;
iframe.onload= function() {
    console.log('[Web] Init protocol de communication');
    //var iframeContent = iframe.contentWindow;







|







18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
        console.log('[Web] received (from iframe (Sharedworker)):', oEvent);
    }    
}

/*
* Creation d'une iframe pour communiquer entre la page visitée et le Shareworker
*/
var sFrameID = browser.extension.getURL("").split('/')[2];
var iframe = document.createElement('iframe');
iframe.id = sFrameID;
iframe.src = browser.extension.getURL('content_scripts/comunicate.html');
iframe.hidden = true;
iframe.onload= function() {
    console.log('[Web] Init protocol de communication');
    //var iframeContent = iframe.contentWindow;