magento2 – How to disable showing popup on any pages?

Hi I have fancybox popup which show it on any pages, and I want it only on home page. Doesn’t understood js. Please help me….

My code

<script type="text/javascript">
require((
    'jquery',
    'mage/cookies',
    'jqueryfancyboxpack'
), function ($) {
    var check_cookie = jQuery.cookie('newsletter_popup');
    if (check_cookie == null || check_cookie == 'shown') {
        popupNewsletter();
    }
    jQuery('#newsletter-popup .subscribe-bottom input').on('click', function () {
        if (jQuery(this).parent().find('input:checked').length) {
            var check_cookie = jQuery.cookie('newsletter_popup');
            if (check_cookie == null || check_cookie == 'shown') {
                jQuery.cookie('newsletter_popup', 'dontshowitagain');
            } else {
                jQuery.cookie('newsletter_popup', 'shown');
                popupNewsletter();
            }
        } else {
            jQuery.cookie('newsletter_popup', 'shown');
        }
    });
});

function popupNewsletter() {
    jQuery(document).ready(function ($) {
        $.fancybox.open('#newsletter-popup');
    });
}
;

Any help is important to me, thank you in advance.

Best Regards