Sorry - another minor bug.
If you open a permalink that includes a selected segment(s), the new UI elements do not appear. You have to change the selection for the elements to appear.
If I recall, I encountered the same problem when I added "Hide average speed camera controls" to my script. The way I overcame this was by hooking into the "selectionchanged" event, which triggers during page load:
If you open a permalink that includes a selected segment(s), the new UI elements do not appear. You have to change the selection for the elements to appear.
If I recall, I encountered the same problem when I added "Hide average speed camera controls" to my script. The way I overcame this was by hooking into the "selectionchanged" event, which triggers during page load:
Code: Select all
Waze.selectionManager.events.register("selectionchanged", null, hideAveSpeedControls);
Re: [Script] WME ClickSaver