Greasy Fork is available in English.

Wikimapia add "view on map" button

try to take over the world!

// ==UserScript==
// @name         Wikimapia add "view on map" button
// @namespace    http://tampermonkey.net/
// @version      0.5.3
// @description  try to take over the world!
// @author       You
// @match       *://wikimapia.org/*
// @match       *://*.wikimapia.org/*
// @grant        none
// ==/UserScript==

(function() {
  'use strict';
  if (window == window.top) {
    var link = $('form#search-form').attr('action');
    link = link.replace('&m=b', '');
    link = 'http://wikimapia.org' + link;

    $('#placeinfo').prepend('<a class="btn btn-primary-blue" href="' + link + '&lang=ru&m=w&show=' + window.location.pathname + '">Посмотреть на карте</a>');
  }
})();