From 141f8f776a9da92e1b303b0dd40b025e21678cb1 Mon Sep 17 00:00:00 2001 From: yflory Date: Mon, 23 Jan 2017 12:29:12 +0100 Subject: [PATCH] Fix the Noscript bug --- customize.dist/share/frame.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/customize.dist/share/frame.js b/customize.dist/share/frame.js index d3d4fb00d..9f604af23 100644 --- a/customize.dist/share/frame.js +++ b/customize.dist/share/frame.js @@ -24,7 +24,10 @@ onload(void 0, iframe, e); window.clearTimeout(to); }; - iframe.setAttribute('src', src); + // We must pass a unique parameter here to avoid cache problems in Firefox with + // the NoScript plugin: if the iframe's content is taken from the cache, the JS + // is not executed with NoScript.... + iframe.setAttribute('src', src + '?t=' + new Date().getTime()); parent.appendChild(iframe); };