Untitled
unknown
plain_text
a year ago
5.3 kB
3
Indexable
Never
<style> .custom-button { transition: box-shadow 0.3s, transform 0.3s; } .custom-button:hover { box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); transform: scale(1.02); } .blue-button { background-color: #1c64f3; } .purple-button { background-color: #543fae; } </style> <a class="rounded-md shadow-lg bg-blue-600 border-0 text-white text-lg my-6 cursor-pointer h-10 flex justify-center items-center custom-button blue-button" onclick="openStreisandURL()"> <div>Добавить в Streisand</div> </a> <script> function openStreisandURL() { var currentURL = window.location.href; var decodedURL = decodeURIComponent(currentURL); var streisandURL = 'streisand://import/' + decodedURL; window.location.href = streisandURL; } </script> <a class="rounded-md shadow-lg bg-blue-600 border-0 text-white text-lg my-6 cursor-pointer h-10 flex justify-center items-center custom-button blue-button" onclick="openFoXrayURL()"> <div>Добавить в FoXray</div> </a> <script> function openFoXrayURL() { var currentURL = window.location.href; var encodedURL = btoa(currentURL); var foXrayURL = 'foxray://yiguo.dev/sub/add/?url=' + encodedURL + '#name'; window.location.href = foXrayURL; } </script> <a class="rounded-md shadow-lg bg-blue-600 border-0 text-white text-lg my-6 cursor-pointer h-10 flex justify-center items-center custom-button blue-button" onclick="openV2rayNGURL()"> <div>Добавить в V2rayNG</div> </a> <script> function openV2rayNGURL() { var currentURL = window.location.href; var decodedURL = decodeURIComponent(currentURL); var v2rayNGURL = 'v2rayng://install-config?url=' + decodedURL; window.location.href = v2rayNGURL; } </script> <a class="rounded-md shadow-lg bg-blue-600 border-0 text-white text-lg my-6 cursor-pointer h-10 flex justify-center items-center custom-button blue-button" onclick="openShadowrocketURL()"> <div>Добавить в Shadowrocket</div> </a> <script> function openShadowrocketURL() { var currentURL = window.location.href; var encodedURL = btoa(currentURL); var shadowrocketURL = 'sub://' + encodedURL; window.location.href = shadowrocketURL; } </script> <hr class="my-2" style="border-color: gray; opacity: 0.2;"> <a class="rounded-md shadow-lg bg-blue-600 border-0 text-white text-lg my-6 cursor-pointer h-10 flex justify-center items-center custom-button purple-button" href="streisand://aW1wb3J0L3JvdXRlOi8vWW5Cc2FYTjBNRERWQVFJREJBVUdEUlFWRmxWeWRXeGxjMTFrYjIxaGFXNU5ZWFJqYUdWeVZHNWhiV1ZlWkc5dFlXbHVVM1J5WVhSbFozbFVkWFZwWktJSEQ5TUlDUW9MRFE1U2FYQmRaRzl0WVdsdVRXRjBZMmhsY2x0dmRYUmliM1Z1WkZSaFo2RU1XR2RsYjJsd09uSjFWbXhwYm1WaGNsWmthWEpsWTNUU0VCRU9FbHR2ZFhSaWIzVnVaRlJoWjFaa2IyMWhhVzZoRTE1eVpXZGxlSEE2TGlwY0xuSjFKRlpTZFhOemFXRmFTVkJQYmtSbGJXRnVaRjhRSkRoRU5EWkNSakpETFRSQlFrTXRORUZETWkwNU5FWkJMVGs0UXpjeU5qZEVOa1pFTlFnVEdTY3NPMEJEU2sxWloybHllWUNGa1ppYXFiQzdBQUFBQUFBQUFRRUFBQUFBQUFBQUZ3QUFBQUFBQUFBQUFBQUFBQUFBQU9JPQ==" target="_blank"> <div>RU DIRECT STREISAND 🇷🇺</div> </a> <a id="ru-direct-button" class="rounded-md shadow-lg bg-blue-600 border-0 text-white text-lg my-6 cursor-pointer h-10 flex justify-center items-center custom-button purple-button"> <div>RU DIRECT SHADOWROCKET 🇷🇺</div> </a> <script> function exportRUConfToShadowrocket() { var confContent = `# Shadowrocket: 2023-08-12 14:15:36 [General] loglevel = verbose always-real-ip = * hijack-dns = tun-included-routes = bypass-system = true tun-excluded-routes = skip-proxy = localhost, *.local, captive.apple.com, guzzoni.apple.com, 0.0.0.0/8, 10.0.0.0/8, 17.0.0.0/8, 100.64.0.0/10, 127.0.0.0/8, 169.254.0.0/16, 172.16.0.0/12, 192.0.0.0/24, 192.0.2.0/24, 192.168.0.0/16, 192.88.99.0/24, 198.18.0.0/15, 198.51.100.0/24, 203.0.113.0/24, 224.0.0.0/4, 240.0.0.0/4, 255.255.255.255/32 dns-server = ipv6 = false prefer-ipv6 = false dns-fallback-system = true dns-direct-system = false icmp-auto-reply = true always-reject-url-rewrite = false private-ip-answer = true dns-direct-fallback-proxy = false [Rule] GEOIP,RU,DIRECT DOMAIN-SUFFIX,ru,DIRECT #LAN DOMAIN-SUFFIX,local,DIRECT IP-CIDR,172.16.0.0/12,DIRECT,no-resolve IP-CIDR,10.0.0.0/8,DIRECT,no-resolve IP-CIDR,192.168.0.0/16,DIRECT,no-resolve IP-CIDR,127.0.0.0/8,DIRECT,no-resolve IP-CIDR,100.64.0.0/10,DIRECT,no-resolve IP-CIDR,224.0.0.0/4,DIRECT,no-resolve # TSPU Reject # Google #Serivice not allow from Russia FINAL,PROXY [Host] localhost = system`; // Создание и настройка элемента <a> для скачивания файла var downloadLink = document.createElement('a'); downloadLink.href = 'data:text/plain;charset=utf-8,' + encodeURIComponent(confContent); downloadLink.download = 'ru_direct.conf'; // Симуляция клика на ссылку для скачивания файла downloadLink.click(); } document.getElementById('ru-direct-button').addEventListener('click', exportRUConfToShadowrocket); </script>