Change
|
|
I think your getQueryVariable function can be replaced with mine, it's quicker and one line: String.prototype.getPref = function(s, splitter) {
return this.split(s+"=")[1].split((splitter||"&"))[0];
};var url = window.location.href,
whos = url.getPref('v_user_id'),
vix = url.getPref('idx'),
vidid = url.getPref('v'),
clid = url.getPref('cl');
|
|
|
I'll do that, thanks. Optimizing it wasn't high on my priority list, but I like how you did it. |