From 91587816a7fe8a189cb13370bc938ff5a066b4e1 Mon Sep 17 00:00:00 2001 From: Michael Mirzai <25216474fb3629844d7cba1247aec3f20354041a@cloudflare.com> Date: Mon, 22 Mar 2021 04:47:42 +0100 Subject: [PATCH] cg.js --- addons/code/isattlink/cg.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/addons/code/isattlink/cg.js b/addons/code/isattlink/cg.js index b7cddc849..c0a43b466 100644 --- a/addons/code/isattlink/cg.js +++ b/addons/code/isattlink/cg.js @@ -24,6 +24,9 @@ document.addEventListener('DOMContentLoaded', () => { break; } let ul = g.mul || 'eo'; + document.getElementById('apinfo0').href = 'https://sercxi.nnpaefp7pkadbxxkhz2agtbv2a4g5sgo2fbmv3i7czaua354334uqqad.onion/?ul=' + ul + '#!op=info/api'; + document.getElementById('apinfo1').href = 'https://sercxi.eu.org/?ul=' + ul + '#!op=info/api'; + document.getElementById('apinfo2').href = 'http://nomdjgwjvyvlvmkolbyp3rocn2ld7fnlidlt2jjyotn3qqsvzs2gmuyd.onion/api/is_at.php'; fetch('i18n/' + ul + '.json', { method: 'GET' }).then(j => j.json()).then(j => {