document.addEventListener('DOMContentLoaded', function() {
if (window.location.search.includes('status=')) {
// Replace current URL without status parameter
const cleanUrl = window.location.pathname + window.location.search.replace(/[?&]status=[^&]*(&|$)/, '$1').replace(/[?&]$/, '');
history.replaceState({}, document.title, cleanUrl);
}
});