Skip to content

Instantly share code, notes, and snippets.

@vtnerd91
vtnerd91 / North Carolina Municipal Boundaries.user.js
Last active November 19, 2015 13:12
Create polygons in WME for North Carolina Municipal Boundaries
// ==UserScript==
// @name WME North Carolina Municipal Boundaries
// @namespace https://greasyfork.org/en/users/19861-vtpearce
// @description Creates polygons for WME "North Carolina Municipal Boundaries" layer
// @updateURL https://gist.github.com/vtnerd91/2625a001f396f0c72818/raw/North%20Carolina%20Municipal%20Boundaries.user.js
// @include https://www.waze.com/editor/*
// @include https://www.waze.com/*/editor/*
// @include https://editor-beta.waze.com/*
// @version 1.1.9
// @grant none
@vtnerd91
vtnerd91 / South Carolina Municipal Areas.user.js
Last active November 19, 2015 13:18
Create polygons in WME for South Carolina Municipal Areas
This file has been truncated, but you can view the full file.
// ==UserScript==
// @name WME South Carolina Municipal Areas
// @namespace https://greasyfork.org/en/users/19861-vtpearce
// @description Creates polygons for WME "South Carolina Municipal Areas" layer
// @updateURL https://gist.github.com/vtnerd91/622eb1cb32431f553c67/raw/South%20Carolina%20Municipal%20Areas.user.js
// @include https://www.waze.com/editor/*
// @include https://www.waze.com/*/editor/*
// @include https://editor-beta.waze.com/*
// @version 1.1.1
// @grant none
@vtnerd91
vtnerd91 / PlaceLocker.js
Last active July 6, 2020 13:42
Lock the selected place either to 3 or your highest available lock level.
(function () {
if (!String.plFormat) {
String.plFormat = function (format) {
var args = Array.prototype.slice.call(arguments, 1);
return format.replace(/{(\d+)}/g, function (name, number) {
return typeof args[number] != "undefined" ? args[number] : match;
});
};
}
@vtnerd91
vtnerd91 / CityRemover.js
Last active November 9, 2015 01:13
Remove the city from segments in the Waze Map Editor
(function () {
var count = 0;
var thisUser = W.loginManager.user;
if (thisUser === null)
return;
// var usrRank = thisUser.normalizedLevel;
var UpdateObject;
var UpdateSegmentAddress;
var AddAlternateStreet;
var cityName;