diff options
author | Florian Dold <florian.dold@gmail.com> | 2016-11-19 23:03:58 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2016-11-19 23:03:58 +0100 |
commit | 7b1511a243aa322462d29d15f19f9c2a8bfc67ef (patch) | |
tree | 1b8f0473a4ca25935c1e033de8ef1613826964b0 /src/content_scripts/notify.js | |
parent | 65bbbf53ee73f7b72c1531d03d3943eb82b78e99 (diff) |
circumvent chrome bug for JS-less wallet detection
Diffstat (limited to 'src/content_scripts/notify.js')
-rw-r--r-- | src/content_scripts/notify.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/content_scripts/notify.js b/src/content_scripts/notify.js index 43ded3d95..449697061 100644 --- a/src/content_scripts/notify.js +++ b/src/content_scripts/notify.js @@ -43,6 +43,9 @@ var TalerNotify; console.error("Taler wallet lib not included, HTTP 402 payments not" + " supported"); } + if (document.documentElement.getAttribute("data-taler-nojs")) { + document.dispatchEvent(new Event("taler-probe-result")); + } function subst(url, H_contract) { url = url.replace("${H_contract}", H_contract); url = url.replace("${$}", "$"); |