Ethos Rekonise Bypasser

Bypasses Rekonise using the Ethos API and redirects the user to the bypassed link.

// ==UserScript==
// @name         Ethos Rekonise Bypasser
// @namespace    https://ethos-testing.vercel.app
// @version      1.1
// @description  Bypasses Rekonise using the Ethos API and redirects the user to the bypassed link.
// @author       Shehajeez
// @match        https://rekonise.com/*
// @grant        none

// ==/UserScript==

(function() {
    'use strict';

    var currenturl = window.location.href;

    fetch('https://ethos-testing.vercel.app/api/adlinks/bypass?url=' + currenturl)
        .then(response => response.json())
        .then(data => {
            console.log('redirecting to the bypassed link:', data.bypassed);
            window.location.href = data.bypassed;
        })
        .catch(error => console.error('error:', error));
})();