From 93c2b404de2e3481796d1d4fa76aae2f52364241 Mon Sep 17 00:00:00 2001 From: Zhora Shalyapin Date: Tue, 3 Dec 2024 15:27:31 +0000 Subject: [PATCH] first commit --- main.js | 66 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 main.js diff --git a/main.js b/main.js new file mode 100644 index 0000000..0f8426f --- /dev/null +++ b/main.js @@ -0,0 +1,66 @@ +// ==UserScript== +// @name New Userscript +// @namespace http://tampermonkey.net/ +// @version 2024-12-03 +// @description try to take over the world! +// @author You +// @match https://rst.runcity.org/msk2025/cp_mgmt*action=edit* +// @icon https://www.google.com/s2/favicons?sz=64&domain=runcity.org +// @grant none +// ==/UserScript== + +(function() { + 'use strict'; + + let polygonPoints = [ + [55.82662092078347, 37.83321790528101], + [55.83050654313924, 37.8271350366672], + [55.83378943689184, 37.82058170119809], + [55.85180692085218, 37.78553990254065], + [55.86493331198943, 37.75975048777313], + [55.87664231993248, 37.73722603000314], + [55.88270947818532, 37.72504617024375], + [55.88833729362907, 37.7138097132137], + [55.8912755374805, 37.70745901867747], + [55.89300464908401, 37.7026586212895], + [55.89433136273366, 37.6963558771355], + [55.89472720810986, 37.68516423981666], + [55.89507331294501, 37.6744740834819], + [55.89573449644535, 37.65859150737426], + [55.89693215879216, 37.64642889390945], + [55.89938087269522, 37.62985204241632], + [55.90354565362539, 37.61062285139609], + [55.90737252190835, 37.59751549912389], + [55.90969030500244, 37.58808895650215], + [55.90786702778336, 37.58729644906303], + [55.88090471188251, 37.58630760749534], + [55.87447660157367, 37.58655447888048], + [55.86958797721445, 37.58495249249795], + [55.86381550399454, 37.58420296159361], + [55.85980632991702, 37.58389291716048], + [55.84801830210776, 37.58458359467936], + [55.84772628807028, 37.57595740117194], + [55.84493544024311, 37.56104480830635], + [55.79662326311879, 37.63745136322336], + [55.7868169870608, 37.64825066131648], + [55.77251907010181, 37.67588916155228], + [55.77352398252323, 37.67973772322885], + [55.77487569137729, 37.6839566826311], + [55.7801037510941, 37.69343822495951], + [55.78132654203588, 37.69620962005371], + [55.78212032948625, 37.69668803083244], + [55.78390683229623, 37.70094632228641], + [55.78733177521929, 37.70571409553969], + [55.79637272156535, 37.71641862535768], + [55.80183891700942, 37.74931738695631], + [55.80969280734983, 37.77909534016933], + [55.81089146478762, 37.81224535102851], + [55.81395391712562, 37.83885592470507], + [55.81912695480472, 37.8380760038992], + [55.82287240269746, 37.83645332671465], + [55.82662092078347, 37.83321790528101] + ]; + + L.polygon(polygonPoints, {color: 'red', fill: false}).addTo(map); + +})(); \ No newline at end of file