(function() { function endsWith(str, suffix) { return str.substring(str.length - suffix.length, str.length) === suffix; } if (self != top && !endsWith(location.hostname, ".rome2rio.com") && !endsWith(location.hostname, ".r2r.io") && location.hostname !== "localhost") { window.location.replace("about:blank"); } })();