From a6865b01c3fc99154a941fb4585d8596fd4221f7 Mon Sep 17 00:00:00 2001 From: Thomas Wilkerling Date: Wed, 5 Mar 2025 11:38:37 +0100 Subject: [PATCH] add missing origin --- bench.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bench.js b/bench.js index cc26f4c..0fd980d 100644 --- a/bench.js +++ b/bench.js @@ -365,7 +365,7 @@ function perform_match(){ } else{ - window.top.postMessage(JSON.stringify(res), location.protocol + "//" + location.hostname + ":" + location.port); + window.top.postMessage(JSON.stringify(res), location.origin /*location.protocol + "//" + location.hostname + ":" + location.port*/); }