Location Property

Author Message
dave ellis 05/20/2008 03:14 pm
I am downloading a page with several javascript functions on it. The javascript is evaluated but I run into an issue when it tries to use the ''Location'' property. (e.g var query = unescape(location.search.substring(1));)

In the browser setting, the javascript dynamically tailors some of its output based on the data found in the Location (e.g. "parm1=aaa&parm2=bbb" - the part after the ''?'' in the url). In Offline Explorer, the Location property is empty.

Is there some way to make the Location property accessible to the javascript in Offline Explorer? Is there a different way to access the Location data via javascript that works in Offline Explorer?

fyi - am using Offline Explorer Standard Edition for Windows 2000/XP/Vista 5.0.2751
Am evaluating it for purchase.
Oleg Chernavin 05/21/2008 12:31 pm
Yes, I know this problem. Offline Explorer changes ? symbol to @ to make filenames compatible with Windows. However some scripts that expect ? in URL stop working. Frankly, we haven''t found a good solution for this yet. You can only manually change @ to ? in the Internal Browser when browsing offline abd reload the page.

Best regards,
Oleg Chernavin
MP Staff