(function(){
// 0) Quick sanity-check that the snippet loaded:
console.log('🛠 HFCM price-reorder script loaded'); // 1) Try to reorder; return true if we moved it
function tryReorder(){
var parent = document.getElementById('io_all_prices');
if (!parent) return false; var overnight = parent.querySelector('.io_product_cust_price_Overnight_Price');
var price24h = parent.querySelector('.io_product_price_24h_2848553'); if (overnight && price24h){
price24h.parentNode.insertBefore(overnight, price24h.nextSibling);
console.log('✅ Moved Overnight price after 24h price');
return true;
}
return false;
} // 2) Immediately try once in case it’s already there
if (tryReorder()) return; // 3) Otherwise watch the entire document for when it appears
var observer = new MutationObserver(function(mutations, obs){
if (tryReorder()){
obs.disconnect(); // stop observing once we’ve moved it
}
});
observer.observe(document.body, {
childList: true,
subtree: true
});
})();
If you are taking measurements for a structure such as a building or fence, please provide the height of the structure here. If height does not apply to the wash, for instance for a gutter wash, leave this field empty. Please note if you enter a value here after taking measurements, you will need to take measurements again.