Skip to content

nobkd/replace-maps

Repository files navigation

Replace Maps

Light blue icon with white border. Shape is a pin for the current position on a map.

CI GitHub Workflow Status MPL-2.0 License Mozilla Add-on Version

Replace Google Maps iFrames with OpenStreetMap

'Get Firefox Add-On'-Badge

Capabilities

How it Works

This browser extension intercepts web requests from frames in a page. If the request URL matches the syntax to a Google Maps map, the response will be replaced. The search parameters of the request are decoded and converted to compatible syntax. As a result, the response is an extension page that contains a Leaflet + OSM + ArgGIS map.

You can turn the extension off for every hostname by using the browser action button or by using the settings page.

Known issues

  • Sometimes the zoom level is completely wrong
  • Not working when a website does not use an iFrame / embed
  • Not working when iFrame uses only CIDs
  • No routes, just positions