How Bedsonline Helps Travel Agents Promote Sustainable Travel
function changeUrl() { console.log("inside change Url"); jQuery('a[href*="www.bedsonline.com/login"]').each(function(){ var oldUrl = $(this).attr("href"); // Get current url var newUrl = oldUrl.replace("http://www.bedsonline.com/login", "https://app.bedsonline.com/auth/login"); jQuery(this).attr("href", newUrl); }); }; console.log("changeUrl timer"); setTimeout(changeUrl, 5000);