Get a sneak peek at whats next for Permanent Hazards on our April 7th Office Hours!
Discussion for the unofficial, community-developed addons, extensions and scripts built for the Waze Map Editor.

The official index of these tools is the Community Plugins, Extensions and Tools wiki page.
Post by milkboy
How about

Code: Select all

// @include /^https:\/\/(www|editor-beta)\.waze\.com\/(?!user\/)(.{2,6}\/)?editor\/.*$/
milkboy
Map Editor - level 3
Map Editor - level 3
Posts: 107
Has thanked: 10 times
Been thanked: 123 times
Send a message
Nexus 5 | CM 13 (Android 6.0.1 nightly)
[img]https:///c7J4Vm[/img][img]https:///EFna5T[/img][img]https:///a349MJ[/img]
Škoda Octavia III Combi 2.0 TDI RS DSG 2014 https://images.spritmonitor.de/643660_5.png

Post by milkboy
Glodenox wrote:EDIT: one downside I should mention to using this regex is that the pop-up that users get will be a lot less readable for non-technical people. A list of URLs with some asterisks can be understood. Regex on the other hand...
True, but how many "totally non-technical" users are installing custom scripts for modifying web pages anyway? ;)
milkboy
Map Editor - level 3
Map Editor - level 3
Posts: 107
Has thanked: 10 times
Been thanked: 123 times
Send a message
Nexus 5 | CM 13 (Android 6.0.1 nightly)
[img]https:///c7J4Vm[/img][img]https:///EFna5T[/img][img]https:///a349MJ[/img]
Škoda Octavia III Combi 2.0 TDI RS DSG 2014 https://images.spritmonitor.de/643660_5.png

Post by TheLastTaterTot
It should be excluding
https://www.waze.com/*user/editor/* so that it will exclude all locale translated user profiles as well
TheLastTaterTot
Wiki Master
Wiki Master
Posts: 480
Has thanked: 253 times
Been thanked: 287 times
Send a message
R5 | RI SM | CA, MA & NY AM | Mentor

Post by TheLastTaterTot
I also adjusted it in my original post about the editor profile exclusion. I fear that some authors may not have read down to the followup post where I realized that the locale comes before user and not after.
TheLastTaterTot
Wiki Master
Wiki Master
Posts: 480
Has thanked: 253 times
Been thanked: 287 times
Send a message
R5 | RI SM | CA, MA & NY AM | Mentor

Post by vaindil
This is what I use in my userscripts.

Code: Select all

// @include         https://www.waze.com/editor/*
// @include         https://www.waze.com/*/editor/*
// @include         https://editor-beta.waze.com/editor/*
// @include         https://editor-beta.waze.com/*/editor/*
// @exclude         https://www.waze.com/user/*
// @exclude         https://www.waze.com/*/user/*
vaindil
Posts: 126
Has thanked: 11 times
Been thanked: 79 times
Send a message
Last edited by vaindil on Wed Apr 20, 2016 7:33 pm, edited 1 time in total.