FacetWP – disable permalink / hash

<script>
    
(function($) {
    $(document).on('facetwp-refresh', function() {
        if (! FWP.loaded) {
            FWP.set_hash = function() { /* empty function */ }
        }
    });
})(jQuery);

</script>