Page 2 of 2

Re: Script authors: don't use *.waze.com or waze.com/*

PostPosted: Tue Jun 07, 2016 7:39 am
by milkboy
How about
Code: Select all
// @include /^https:\/\/(www|editor-beta)\.waze\.com\/(?!user\/)(.{2,6}\/)?editor\/.*$/

Re: Script authors: don't use *.waze.com or waze.com/*

PostPosted: Tue Jun 07, 2016 10:58 am
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? ;)

Re: Script authors: don't use *.waze.com or waze.com/*

PostPosted: Thu Apr 14, 2016 9:15 am
by TheLastTaterTot
It should be excluding
https://www.waze.com/*user/editor/* so that it will exclude all locale translated user profiles as well

Re: Script authors: don't use *.waze.com or waze.com/*

PostPosted: Thu Apr 14, 2016 9:36 am
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.

Re: Script authors: don't use *.waze.com or waze.com/*

PostPosted: Mon Apr 18, 2016 10:40 pm
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/*