I have a page (shown in part below) whose purpose is to provide a
level of indirection so I can have something to bookmark, but can
still use to address different servers.
With Firebug enabled, the bookmark
file:///C:/etc/wqaRedirect.html?/wwqa/wwqades.nsf/WWQASDisplay?OpenForm&u=${u}
works, but
file:///C:/etc/wqaRedirect.html?/wwqa/wwqades.nsf/wwqaHome?OpenForm&u=${u}
doesn't, it just goes off into some weird unterminating state even if
I've coded say window.location.replace("file:///C:/etc"). Changing
the /wwqa/ to /xxqa/ causes it to work again (but of course has
problems being dispatched in the target server).
If I disable Firebug, both bookmarks work as expected.
I'm running FireFox 3.6.3 and Firebug 1.5.3.
Any thoughts?
-----------------------------------------------------
...
var WWQA_U = "user.identifier";
var WWQA_HOST = "w26.mycompany.com";
var DEBUG = 0;
function redirect() {
var href = "http://" + WWQA_HOST + window.location.search.substr(1);
href = href.replace(/\${u}/, WWQA_U);
if (DEBUG) return href;
window.location.replace(href);
return "";
}
...
document.writeln(redirect());
...
--
You received this message because you are subscribed to the Google Groups
"Firebug" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/firebug?hl=en.