From 00582aeb7f7f0b51c5acc1fdc0835f60e4ee94f2 Mon Sep 17 00:00:00 2001 From: Ellen Miao <569b90e4f15b7fe105cb339f076cb492f1632cbb@cloudflare.com> Date: Mon, 22 Mar 2021 04:48:19 +0100 Subject: [PATCH] cg.js --- addons/code/ismitmlink/cg.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/addons/code/ismitmlink/cg.js b/addons/code/ismitmlink/cg.js index 571752e5..0fc542c6 100644 --- a/addons/code/ismitmlink/cg.js +++ b/addons/code/ismitmlink/cg.js @@ -26,6 +26,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_cf.php'; fetch('i18n/' + ul + '.json', { method: 'GET' }).then(j => j.json()).then(j => {