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 SuperDave1426
Oh goodie! A new "share location" button has shown up, that probably doesn't need to actually be on the map....

https://i.imgur.com/9RhJWtz.png

Time for some more FU magic, maybe? :D
SuperDave1426
Country Manager
Country Manager
Posts: 1047
Has thanked: 97 times
Been thanked: 325 times
Send a message

Post by SuperDave1426
dude463 wrote:It's the new Permalink button. It adds an option to get just coordinates rather than a standard Permalink.
Ok, yes that's useful - but does it need to be there? As opposed to, say, up on the bar with the rest of the stuff that gets moved by Fix UI (layers, etc.)? Thus the reason for my question. :D I'm not complaining that it exists, just wondering if maybe it would be better to be located somewhere else. If not, no big deal; I just wanted to bring it up for consideration.
SuperDave1426
Country Manager
Country Manager
Posts: 1047
Has thanked: 97 times
Been thanked: 325 times
Send a message

Post by SuperDave1426
JustinS83 wrote:I would suggest taking a look at Tab Manager: https://greasyfork.org/en/scripts/14316-wme-tab-manager
Wow, that's a great script. Added. I've also been frustrated that every time I have to do a refresh (which, unfortunately, happens far more often than it *should*) of WME, I end up having to figure out where it put what tab. First thing I did in the options was turn on the option to preserve tabs across sessions. Second thing was to hide the Feed tab that I never use.... :)
SuperDave1426
Country Manager
Country Manager
Posts: 1047
Has thanked: 97 times
Been thanked: 325 times
Send a message

Post by SuperDave1426
I've recently switched from Chrome to FF for my primary browser for various reasons and have transferred my various Tampermonkey scripts to it. I've encountered a weird problem with this script, though....

It works pretty much as intended, except for one thing: When dragging the SV icon to a road, the screen splits like it should - but the right side, where the actual image should be, is just black. If I turn off WMEFU in Tampermonkey, SV works fine. Took me a while, since I had a LOT of scripts to turn back on one-by-one after turning them all off.

If I have WMEFU turned off and pull over the SV icon to a street, the screen splits like normal and I get the normal view of the street on the right side. The Javascript console doesn't make a peep. If I turn WMEFU on, however, the view still splits, but the right side just shows black, and four errors turn up in the console.

This is the console output, exported to a text file and printed here:

Code: Select all

GEThttps://www.waze.com/en-US/editor/img/zoom-plus-mini.png
[HTTP/2 404 Not Found 133ms]

	
GET
	https://www.waze.com/en-US/editor/img/zoom-plus-mini.png
Status404
Not Found
VersionHTTP/2
Transferred669 B (312 B size)
Referrer Policyno-referrer-when-downgrade

    	
    alt-svc
    	h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
    content-length
    	312
    content-type
    	text/html; charset=UTF-8
    date
    	Tue, 16 Feb 2021 04:52:54 GMT
    server
    	nginx
    via
    	1.1 google
    x-cloud-trace-context
    	60e96e572bada20b86f44f1402e57dcb
    X-Firefox-Spdy
    	h2
    	
    Accept
    	image/webp,*/*
    Accept-Encoding
    	gzip, deflate, br
    Accept-Language
    	en-US,en;q=0.5
    Cache-Control
    	max-age=0
    Connection
    	keep-alive
    Cookie
    	zrKey=806947456; _web_session=Y2QxMWJjZ2hxQm9QdVZvNnA5SS81TkRMRCtRS1dSbkd2T2xzTzhKUFg3SGtUMlhXTlBTU2pLT1VLMjMyL3hmRm9UVDRrazdoVEt5ZmpDd3pLb1Q0TzZPcEFaOVZ5dk1VTUxxeWNyZG92Y3BFZHljYTNhMHpXVlVHWElWNm1ySkMtLVZ5U2xsWmZqSXBuTlhPTU9rMFBFUXc9PQ%3D%3D--7702caae45b049c8f49a94bc1834e115569f3cd7; _csrf_token=KOlaxQWfgAYFsiztdN5COwU5nDuGqzR9sT3DAsa_KVk; G_ENABLED_IDPS=google; _web_visitorid=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ3ZWJTZXNzaW9uIjoiYWtWS1FreHBjVXBwZFdZMFVsZEdTMkZpVUVseWVWUlpheXN3UVdGQmRXTnFkWFkwZDBORWIwUT…phpbb3_waze_k=; phpbb3_waze_sid=9d0acd222734b3b12373029ca7763b4b; phpbb3_waze_mobile=; _ga=GA1.2.1001843454.1613088801; _gid=GA1.2.988821863.1613374957; GCLB=CL-e1Nmwvtr4eA; mp_8e490967bf2f1b004506e7e1786c60f9_mixpanel=%7B%22distinct_id%22%3A%20%22superdave1426%22%2C%22%24device_id%22%3A%20%22177938b5eb564b-09a5d51d2fc3af8-4c3f217f-1fa400-177938b5eb643a%22%2C%22%24initial_referrer%22%3A%20%22%24direct%22%2C%22%24initial_referring_domain%22%3A%20%22%24direct%22%2C%22%24user_id%22%3A%20%22superdave1426%22%7D
    Host
    	www.waze.com
    Referer
    	https://www.waze.com/en-US/editor/
    Sec-GPC
    	1
    TE
    	Trailers
    User-Agent
    	Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:85.0) Gecko/20100101 Firefox/85.0

GEThttps://www.waze.com/en-US/editor/img/slider.png
[HTTP/2 404 Not Found 134ms]

	
GET
	https://www.waze.com/en-US/editor/img/slider.png
Status404
Not Found
VersionHTTP/2
Transferred661 B (304 B size)
Referrer Policyno-referrer-when-downgrade

    	
    alt-svc
    	h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
    content-length
    	304
    content-type
    	text/html; charset=UTF-8
    date
    	Tue, 16 Feb 2021 04:52:54 GMT
    server
    	nginx
    via
    	1.1 google
    x-cloud-trace-context
    	4250ff8976bf19782dc17c753dd0c827
    X-Firefox-Spdy
    	h2
    	
    Accept
    	image/webp,*/*
    Accept-Encoding
    	gzip, deflate, br
    Accept-Language
    	en-US,en;q=0.5
    Cache-Control
    	max-age=0
    Connection
    	keep-alive
    Cookie
    	zrKey=806947456; _web_session=Y2QxMWJjZ2hxQm9QdVZvNnA5SS81TkRMRCtRS1dSbkd2T2xzTzhKUFg3SGtUMlhXTlBTU2pLT1VLMjMyL3hmRm9UVDRrazdoVEt5ZmpDd3pLb1Q0TzZPcEFaOVZ5dk1VTUxxeWNyZG92Y3BFZHljYTNhMHpXVlVHWElWNm1ySkMtLVZ5U2xsWmZqSXBuTlhPTU9rMFBFUXc9PQ%3D%3D--7702caae45b049c8f49a94bc1834e115569f3cd7; _csrf_token=KOlaxQWfgAYFsiztdN5COwU5nDuGqzR9sT3DAsa_KVk; G_ENABLED_IDPS=google; _web_visitorid=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ3ZWJTZXNzaW9uIjoiYWtWS1FreHBjVXBwZFdZMFVsZEdTMkZpVUVseWVWUlpheXN3UVdGQmRXTnFkWFkwZDBORWIwUT…phpbb3_waze_k=; phpbb3_waze_sid=9d0acd222734b3b12373029ca7763b4b; phpbb3_waze_mobile=; _ga=GA1.2.1001843454.1613088801; _gid=GA1.2.988821863.1613374957; GCLB=CL-e1Nmwvtr4eA; mp_8e490967bf2f1b004506e7e1786c60f9_mixpanel=%7B%22distinct_id%22%3A%20%22superdave1426%22%2C%22%24device_id%22%3A%20%22177938b5eb564b-09a5d51d2fc3af8-4c3f217f-1fa400-177938b5eb643a%22%2C%22%24initial_referrer%22%3A%20%22%24direct%22%2C%22%24initial_referring_domain%22%3A%20%22%24direct%22%2C%22%24user_id%22%3A%20%22superdave1426%22%7D
    Host
    	www.waze.com
    Referer
    	https://www.waze.com/en-US/editor/
    Sec-GPC
    	1
    TE
    	Trailers
    User-Agent
    	Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:85.0) Gecko/20100101 Firefox/85.0

GEThttps://www.waze.com/en-US/editor/img/zoom-minus-mini.png
[HTTP/2 404 Not Found 133ms]

	
GET
	https://www.waze.com/en-US/editor/img/zoom-minus-mini.png
Status404
Not Found
VersionHTTP/2
Transferred670 B (313 B size)
Referrer Policyno-referrer-when-downgrade

    	
    alt-svc
    	h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
    content-length
    	313
    content-type
    	text/html; charset=UTF-8
    date
    	Tue, 16 Feb 2021 04:52:54 GMT
    server
    	nginx
    via
    	1.1 google
    x-cloud-trace-context
    	2dd2c7e6b6aee0faec084de6af7ef6fd
    X-Firefox-Spdy
    	h2
    	
    Accept
    	image/webp,*/*
    Accept-Encoding
    	gzip, deflate, br
    Accept-Language
    	en-US,en;q=0.5
    Cache-Control
    	max-age=0
    Connection
    	keep-alive
    Cookie
    	zrKey=806947456; _web_session=Y2QxMWJjZ2hxQm9QdVZvNnA5SS81TkRMRCtRS1dSbkd2T2xzTzhKUFg3SGtUMlhXTlBTU2pLT1VLMjMyL3hmRm9UVDRrazdoVEt5ZmpDd3pLb1Q0TzZPcEFaOVZ5dk1VTUxxeWNyZG92Y3BFZHljYTNhMHpXVlVHWElWNm1ySkMtLVZ5U2xsWmZqSXBuTlhPTU9rMFBFUXc9PQ%3D%3D--7702caae45b049c8f49a94bc1834e115569f3cd7; _csrf_token=KOlaxQWfgAYFsiztdN5COwU5nDuGqzR9sT3DAsa_KVk; G_ENABLED_IDPS=google; _web_visitorid=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ3ZWJTZXNzaW9uIjoiYWtWS1FreHBjVXBwZFdZMFVsZEdTMkZpVUVseWVWUlpheXN3UVdGQmRXTnFkWFkwZDBORWIwUT…phpbb3_waze_k=; phpbb3_waze_sid=9d0acd222734b3b12373029ca7763b4b; phpbb3_waze_mobile=; _ga=GA1.2.1001843454.1613088801; _gid=GA1.2.988821863.1613374957; GCLB=CL-e1Nmwvtr4eA; mp_8e490967bf2f1b004506e7e1786c60f9_mixpanel=%7B%22distinct_id%22%3A%20%22superdave1426%22%2C%22%24device_id%22%3A%20%22177938b5eb564b-09a5d51d2fc3af8-4c3f217f-1fa400-177938b5eb643a%22%2C%22%24initial_referrer%22%3A%20%22%24direct%22%2C%22%24initial_referring_domain%22%3A%20%22%24direct%22%2C%22%24user_id%22%3A%20%22superdave1426%22%7D
    Host
    	www.waze.com
    Referer
    	https://www.waze.com/en-US/editor/
    Sec-GPC
    	1
    TE
    	Trailers
    User-Agent
    	Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:85.0) Gecko/20100101 Firefox/85.0

GEThttps://www.waze.com/en-US/editor/img/zoombar.png
[HTTP/2 404 Not Found 139ms]

	
GET
	https://www.waze.com/en-US/editor/img/zoombar.png
Status404
Not Found
VersionHTTP/2
Transferred662 B (305 B size)
Referrer Policyno-referrer-when-downgrade

    	
    alt-svc
    	h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
    content-length
    	305
    content-type
    	text/html; charset=UTF-8
    date
    	Tue, 16 Feb 2021 04:52:54 GMT
    server
    	nginx
    via
    	1.1 google
    x-cloud-trace-context
    	60e96e572bada20b86f44f1402e57dcb
    X-Firefox-Spdy
    	h2
    	
    Accept
    	image/webp,*/*
    Accept-Encoding
    	gzip, deflate, br
    Accept-Language
    	en-US,en;q=0.5
    Cache-Control
    	max-age=0
    Connection
    	keep-alive
    Cookie
    	zrKey=806947456; _web_session=Y2QxMWJjZ2hxQm9QdVZvNnA5SS81TkRMRCtRS1dSbkd2T2xzTzhKUFg3SGtUMlhXTlBTU2pLT1VLMjMyL3hmRm9UVDRrazdoVEt5ZmpDd3pLb1Q0TzZPcEFaOVZ5dk1VTUxxeWNyZG92Y3BFZHljYTNhMHpXVlVHWElWNm1ySkMtLVZ5U2xsWmZqSXBuTlhPTU9rMFBFUXc9PQ%3D%3D--7702caae45b049c8f49a94bc1834e115569f3cd7; _csrf_token=KOlaxQWfgAYFsiztdN5COwU5nDuGqzR9sT3DAsa_KVk; G_ENABLED_IDPS=google; _web_visitorid=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ3ZWJTZXNzaW9uIjoiYWtWS1FreHBjVXBwZFdZMFVsZEdTMkZpVUVseWVWUlpheXN3UVdGQmRXTnFkWFkwZDBORWIwUT…phpbb3_waze_k=; phpbb3_waze_sid=9d0acd222734b3b12373029ca7763b4b; phpbb3_waze_mobile=; _ga=GA1.2.1001843454.1613088801; _gid=GA1.2.988821863.1613374957; GCLB=CL-e1Nmwvtr4eA; mp_8e490967bf2f1b004506e7e1786c60f9_mixpanel=%7B%22distinct_id%22%3A%20%22superdave1426%22%2C%22%24device_id%22%3A%20%22177938b5eb564b-09a5d51d2fc3af8-4c3f217f-1fa400-177938b5eb643a%22%2C%22%24initial_referrer%22%3A%20%22%24direct%22%2C%22%24initial_referring_domain%22%3A%20%22%24direct%22%2C%22%24user_id%22%3A%20%22superdave1426%22%7D
    Host
    	www.waze.com
    Referer
    	https://www.waze.com/en-US/editor/
    Sec-GPC
    	1
    TE
    	Trailers
    User-Agent
    	Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:85.0) Gecko/20100101 Firefox/85.0

Unchecked lastError value: Error: Could not establish connection. Receiving end does not exist. background.js:63
sendRemoveListener on closed conduit {506e023c-7f2b-40a3-8066-bc5deb40aebe}.2336462209060 ConduitsChild.jsm:108
SecurityError: Permission denied to access property "windowGlobalChild" on cross-origin object ExtensionUtils.jsm:114
SecurityError: Permission denied to access property "removeEventListener" on cross-origin object ExtensionCommon.jsm:414
Unchecked lastError value: Error: Could not establish connection. Receiving end does not exist. background.js:63
Unchecked lastError value: Error: Could not establish connection. Receiving end does not exist. background.js:63
Unchecked lastError value: Error: Could not establish connection. Receiving end does not exist. background.js:63
Any chance this can be fixed?
SuperDave1426
Country Manager
Country Manager
Posts: 1047
Has thanked: 97 times
Been thanked: 325 times
Send a message

Post by SuperDave1426
Well, I don't know what else I can say, other than when the script is active, I get a black screen where SV should be, and when it's turned off, the SV imagery show up fine in Firefox every single time. I even tested it out in Chrome, and Chrome had no problems showing the SV with WMEFU active.

As to the brightness settings in the script, I haven't touched them. In fact, here's what it shows right now as I type this:

https://i.imgur.com/Af64RF3.png

As you can see, both brightness and contrast are set to 100%, so that's not it....
SuperDave1426
Country Manager
Country Manager
Posts: 1047
Has thanked: 97 times
Been thanked: 325 times
Send a message

Post by SuperDave1426
iainhouse wrote:The only other thing I can think of to try is to tell you how to modify the script so it doesn't actually do anything until a couple of minutes after the page has loaded. That way you can test if GSV is working initially, and then stops when the script becomes active.
Ok, let's do that then. 'Cause I did what you said and the screen is still black, but the Network tab showed pretty much what you have in your example, complete with "200" responses. If I hover the mouse over the particular items, I get a little mini popup that shows the image represented by that item. :?

Please note that I'll be working the next three days (Wed-Fri), so I won't be able to further test or reply to you until Saturday. Go ahead and post the information on how to do that delay, and I'll get to it when I'm not on a work day.

Thanks.
SuperDave1426
Country Manager
Country Manager
Posts: 1047
Has thanked: 97 times
Been thanked: 325 times
Send a message

Post by SuperDave1426
As it turns out, I'm off work today, so I was able to do what you suggested.

I edited the script as you noted. Here's what happened:

I started WME. The interface was "normal," as in pre-this-script-doing-its-thing. I pulled over the SV icon to a road and the right side panel that appeared showed the imagery just fine. I happened to have the SV still active when the timeout finally kicked in and the script did its thing - and the right panel went black.

I'll try to capture a video of it in action and figure out somewhere to post it.

Edit: Ok, it turns out that imgur will take videos as well as images, though the quality of the video suffers rather a lot. But it's good enough to see what's happening, so here it is.
SuperDave1426
Country Manager
Country Manager
Posts: 1047
Has thanked: 97 times
Been thanked: 325 times
Send a message

Post by SuperDave1426
Whatever you did, it seems to have worked - GSV is now working again for me. :lol:
SuperDave1426
Country Manager
Country Manager
Posts: 1047
Has thanked: 97 times
Been thanked: 325 times
Send a message

Post by SuperDave1426
Also, if it's just a matter of not wanting to see the polygons for area managers (but you want the AM information available to show), there's an option in URO+ that will suppress them being shown. Just FYI, dchary2418.
SuperDave1426
Country Manager
Country Manager
Posts: 1047
Has thanked: 97 times
Been thanked: 325 times
Send a message

Post by SuperDave1426
Hi, I've noticed a bit of oddness of my own with the interface.

https://i.imgur.com/2oFuqRg.png

You'll need to click that image to see the whole thing, since what I'm noticing isn't visible in what's shown in this posting. Over on the right at the top, it seems that the various buttons located there have shifted to the left from where they usually sit. Was that intentional, or yet another case of the recent WME update somehow moved it and now it needs to be fixed again? :)

Thanks!
SuperDave1426
Country Manager
Country Manager
Posts: 1047
Has thanked: 97 times
Been thanked: 325 times
Send a message