Boost.Ink Bypass
Bypasses boost.ink
This script is marked as "external"This script was commisioned by someone else, and I will not check if it works. If it breaks,
contact me Click here to install
Browse More Scripts
// ==UserScript==
// @name Boost.Ink Bypass
// @namespace 9a3f7e570540d4be3b6f5f0ec476bab50b62c564
// @version 1.0
// @description Bypasses boost.ink
// @author /u/AyrA_ch
// @match https://boost.ink/*
// @grant none
// @external true
// ==/UserScript==
//Changelog
//1.0 - Write link to page before navigation
//0.2 - Adapt for boost.ink change
//0.1 - Initial Version
(function () {
'use strict';
var stopTimers = function () {
var x = Math.max(window.setTimeout(function () {}, 1000), window.setInterval(function () {}, 1000));
for (var i = 0; i < x + 10; i++) {
window.clearTimeout(x);
window.clearInterval(x);
}
};
var getText = function (f) {
return f.text();
};
var ce = function (a, b) {
var e = document.createElement(a);
if (b) {
e.appendChild(document.createTextNode(b));
}
return e;
};
var setLink = function (url) {
var e;
var css = ce("style", "a{color:#00F;}body{text-align:center;font-family:sans-serif}");
var link = ce("a", url);
var container = ce("p");
link.href = url;
link.setAttribute("style", "color:#00F");
while (document.body.childNodes.length > 0) {
console.log("remove", document.body.childNodes[0]);
document.body.childNodes[0].remove();
}
while (e = document.querySelector("link,style,script")) {
console.log("remove", e);
e.remove();
}
document.head.appendChild(css);
container.appendChild(link);
document.body.appendChild(ce("h1", "Link decoded"));
document.body.appendChild(ce("p", "If navigation doesn't starts automatically, click the link below"));
document.body.appendChild(container);
document.body.appendChild(ce("i", "Created by boost.ink bypass script"));
};
var nav = function (source) {
var res = source.match(/(lol|version)=["']([^"']+)["']/i);
if (res) {
var url = atob(res[2]);
stopTimers();
setLink(url);
location.href = url;
} else {
console.warn("No link to navigate to. If you believe this is an error, contact the script author.");
}
};
fetch(location.href).then(getText).then(nav);
})();
/*
LICENSE:
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
The full license text can be found here: http://creativecommons.org/licenses/by-nc-sa/4.0/
The link has an easy to understand version of the license and the full license text.
DISCLAIMER:
THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESSED OR IMPLIED WARRANTIES,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
THE POSSIBILITY OF SUCH DAMAGE.
*/
This script is marked as "external".
This means that the script was developed for someone else.
Because I don't use the script myself I will not know when it breaks.
If it breaks,
contact me for a fix.
User Script Managers
A userscript manager is the browser extension that injects scripts into websites
to change their behavior to your liking.
Recommendation
All scripts on this site have been developed and tested with Tampermonkey on firefox.
Try other browsers and other script managers at your own risk.
No script should use firefox or chrome specific features,
which means they should also work in other modern browsers.
If you prefer, you can use greasemonkey.
Get Tampermonkey,
Get Greasemonkey (Firefox only)
Script Installation
Once you have obtained a user script manager,
clicking on the install button will pop up an installation prompt.
To allow script manager detection,
you can install this helper script.
It's not necessary but simplifies your future visits to this site.
Script Installation
We detected, that you have a script manager installed and active.
Click the "Install Script" button to obtain the script.