From 8527d4af59916bb2892431788647b46a921bfcf2 Mon Sep 17 00:00:00 2001 From: Minteck ⭐ Date: Fri, 15 Oct 2021 18:38:31 +0000 Subject: Update 'FtechWebring.client.js' --- FtechWebring.client.js | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/FtechWebring.client.js b/FtechWebring.client.js index 05dd72b..c8b839b 100644 --- a/FtechWebring.client.js +++ b/FtechWebring.client.js @@ -50,15 +50,16 @@ function _ftww_processData(raw) { next = sites[0]["url"]; // If this is the last site, roll out to the first one } - document.write("Ftech webringThis is"+sites[thisSite]["name"]+", owned by "+sites[thisSite]["owner"]+". This website is part of the Ftech webring."); + dom = "Ftech webringThis is"+sites[thisSite]["name"]+", owned by "+sites[thisSite]["owner"]+". This website is part of the Ftech webring."; - if (previous !== null) document.write("[Prev]\n"); - if (previous === null) document.write("[You're on the first site]\n"); - if (next !== null) document.write("[Next]\n"); - if (next === null) document.write("[You're on the last site]\n"); - if (random !== null) document.write("[Random]\n"); + if (previous !== null) dom = dom + "[Prev]\n"; + if (previous === null) dom = dom + "[You're on the first site]\n"; + if (next !== null) dom = dom + "[Next]\n"; + if (next === null) dom = dom + "[You're on the last site]\n"; + if (random !== null) dom = dom + "[Random]\n"; - document.write(""+sites[thisSite]["owner"]+" is warning you that other websites on the webring have their own policies that may or may not be the same as the policies from "+sites[thisSite]["name"]+"."); + dom = dom + ""+sites[thisSite]["owner"]+" is warning you that other websites on the webring have their own policies that may or may not be the same as the policies from "+sites[thisSite]["name"]+"."; + document.write(dom); } else { // We display an error message document.write("The content that was supposed to appear here cannot be loaded due to an internal error. Please contact the website administrator."); -- cgit