1
0
mirror of https://github.com/SimonBrazell/privacy-redirect synced 2025-03-12 17:30:10 +01:00

Fixes #146 - OSM redirect breaks Google Earth

This commit is contained in:
SimonBrazell 2021-04-16 13:10:19 +10:00
parent f714c666d9
commit 972ad1299e

View File

@ -360,6 +360,9 @@ function redirectGoogleMaps(url, initiator) {
if (disableOsm || isException(url, initiator)) {
return null;
}
if (initiator.host === "earth.google.com") {
return null;
}
let redirect;
let mapCentre = "";
let params = "";