Greasy Fork is available in English.
Bypasses MBoost links using the Ethos API
当前为
// ==UserScript==
// @name Ethos MBoost Bypasser
// @namespace http://tampermonkey.net
// @version 1.0
// @description Bypasses MBoost links using the Ethos API
// @author Shehajeez
// @match https://mboost.me/a/*
// @grant GM_xmlhttpRequest
// ==/UserScript==
(function() {
'use strict';
var currenturl = window.location.href;
GM_xmlhttpRequest({
method: "GET",
url: "https://ethos-testing.vercel.app/api/mboost/bypass?link=" + currenturl,
onload: function(response) {
var data = JSON.parse(response.responseText);
if (data.success && data.bypassed_link) {
window.location.href = data.bypassed_link;
} else {
console.error("failed to get bypassed link.");
}
}
});
})();