SyntaxFix
Write A Post
Hire A Developer
Questions
var singleText = "single"; var s = window.location.search; if (s.indexOf(singleText) == -1) { window.location.href += (s.substring(0,1) == "?") ? "&" : "?" + singleText; }