javascript document location
I am not a javascript guy, but I do want to play with a Ubiquity command. As I am trying to get the current window location as a String, I always failed, which sounds simple to solve now as I found out this is the root cause for the problem I initially bumped into. But it took me hours.
Also I am guessing the document.location may behave differently under linux and windows, otherwise no other reason for it not working at the first place. But anyway, just remember put a String() around the location. Otherwise, the problem I am having is get the behavior of location.reload() rather than get its value by calling document.location.
Custom Search