$(document).ready(function () {
function isChrome() {
return Boolean(window.chrome);
}
function isEdge() {
// Internet Explorer 6-11
var isIE = /*@cc_on!@*/false || !!document.documentMode;
// Edge 20+
return Boolean(!isIE && !!window.StyleMedia);
}
function isFirefox59orLater() {
if (CSS.supports) {
return CSS.supports("overscroll-behavior-y", "none") && CSS.supports("text-justify", "none");
}
return false;
}
function paintTimingApiAvailable() {
var apiAvailable = false;
try {
var observer = new PerformanceObserver(function (list) {
});
// register observer for long task notifications
observer.observe({entryTypes: ["paint"]});
apiAvailable = true;
} catch (e) {
//if an exception will be thrown, this means, that the api is not available,
//so we will ignore it and return false
}
return apiAvailable;
// does not work : performance.getEntriesByType('paint').length>0
}
//console.log("v60="+(isChrome() && paintTimingApiAvailable()));
var uri = "http://privatelink.de/forward/?https";
// datauri not usable beginning with chrome v60, edge and Firefox >= 59
if ((isChrome() && paintTimingApiAvailable()) || isEdge() || isFirefox59orLater()) {
self.location = uri;
} else setTimeout(function () {
if ((Modernizr.datauri) && ((navigator.userAgent.indexOf('Trident') == -1)) && ((navigator.userAgent.indexOf('MSIE 8.') == -1))) {
var datauri = "data:text/html;charset=utf-8;base64,PGh0bWw+PGhlYWQ+PG1ldGEgaHR0cC1lcXVpdj0nUmVmcmVzaCcgY29udGVudD0nMDsgVVJMPWh0dHA6Ly9wcml2YXRlbGluay5kZS9mb3J3YXJkLz9odHRwcycgLz48L2hlYWQ+PGJvZHk+PC9ib2R5PjwvaHRtbD4=";
//alert("forward to: "+datauri);
self.location = datauri;
} else {
//alert("no datauri");
self.location = uri;
}
}, 1000);
});
Link Forward
Redirecting to https
Your browser will be automatically redirected. You can also use the following link to open the page.