Page 18 of 27

Re: WazeBar v0.0.30 - Safari Extension for Waze Map Editor

Posted: Mon Oct 15, 2012 2:08 am
by mike-bronner
AlanOfTheBerg wrote:The native toolbar still shows for me now. Just the search box and Find button.
Probably what's happening here is that waze is preventing the other scripts from loading. This might be random. On my computer it seems to work around it for some reason (maybe my browser cache is kicking in?).

Re: WazeBar v0.0.21 - Safari Extension for Waze Map Editor

Posted: Mon Oct 15, 2012 2:12 am
by mike-bronner
NorfolkMustard wrote:Agreed. I had a go at porting it (WME-to-OS) as a separate Safari extention myself for 5 minutes yesterday but couldn't get it running. Would be good if someone could manage to do it.
Heya NorfolkMustard,
I have been successful in getting URO script to run in WazeBar and load in Safari. But before I include it officially, I am waiting on response from Twister_UK to give me permission to use his script. Once he gives the go-ahead, I'll finish integration and release it.

Re: WazeBar v0.0.30 - Safari Extension for Waze Map Editor

Posted: Mon Oct 15, 2012 2:28 am
by mike-bronner
AlanOfTheBerg wrote:I did a shift-refresh on both and it hides the waze native toolbar now. sweet. I'm curious how you worked through the multiple/identical results in the search box. If you don't mind posting here or just send me an email.
Cool :) Regarding the search box: instead of recreating the entire search functionality from scratch using my own search box and functions, I "kidnapped" the search box from waze and put it in the WazeBar. :)

Re: WazeBar v0.0.30 - Safari Extension for Waze Map Editor

Posted: Tue Oct 16, 2012 1:21 pm
by mike-bronner
I have been getting error reports indicating that WazeBar may be loading before the jQuery is fully loaded. If it appears unresponsive or doesn't show, please reload the page for now. I will try to figure out a way to make sure jQuery has loaded before loading WazeBar.

Thanks!
~Mike

Re: WazeBar v0.0.30 - Safari Extension for Waze Map Editor

Posted: Wed Oct 17, 2012 8:39 pm
by mike-bronner
Patch v0.0.31 contains the following updates:
  • Integration of Twister_UK's UROverview script with the caveat that eventhough the buttons are visible, it won't work in beta.
  • Minor bug-fixes relating to full-screen resizing.
  • Further load-order optimization.
  • Fixed issue where WazeBar would load before jQuery was available.

Re: WazeBar v0.0.31 - Safari Extension for Waze Map Editor

Posted: Wed Oct 17, 2012 8:59 pm
by mike-bronner
Interesting! I'm not seeing any error reports, and it seems to load normally in beta. Do you see any errors in the error console? (OPT-CMD-C)

Re: WazeBar v0.0.31 - Safari Extension for Waze Map Editor

Posted: Wed Oct 17, 2012 9:08 pm
by mike-bronner
It looks like the map hasn't loaded either .... how does WazeBar show up once the map is in place? I'm thinking that your page hasn't loaded jQuery yet? At the bottom the the error console, type in "jQuery" without quotes, and see if it gives you something other than "undefined".

WazeBar v0.0.31 - Safari Extension for Waze Map Editor

Posted: Wed Oct 17, 2012 9:58 pm
by mike-bronner
Interesting, once again. You're both right... JQuery is pulled in from an external script that also isn't on the road layer. What safari version are you using? Any other extensions running that might interfere? Getting stumped... I'll reboot my comp to make sure it's not my cache that is still loading.


Sent from my iPad using Tapatalk HD

Re: WazeBar v0.0.31 - Safari Extension for Waze Map Editor

Posted: Thu Oct 18, 2012 2:37 pm
by mike-bronner
Sorry for the delay in looking into this; I didn't get home last night until around midnight. I have been able to replicate the problem -- I guess it was cached on my end and kept loading. I hope to have this addressed within the next hour. Sorry for the inconvenience.

Re: WazeBar v0.0.31 - Safari Extension for Waze Map Editor

Posted: Thu Oct 18, 2012 2:46 pm
by mike-bronner
I did find a temporary work-around, which I am addressing for an imminent patch:

Open Safari Extension settings: Prefereneces > Extensions > Wazebar.
Make sure that URO is enabled and integrated.
Also make sure that WMECH is enabled and integrated.

There is a use-case that I hand't tested for, causing this issue. It had to do with WazeBar waiting for all required objects to be loaded before moving on, which includes jQuery (hence my initial questions yesterday), WMECH, and URO. I'll be adjusting this check to account for WMECH and URO also being disabled.