https://t.me/AnonymousX5
Server : Apache
System : Linux ls31.server.ly 3.10.0-962.3.2.lve1.5.68.el7.x86_64 #1 SMP Wed Apr 6 11:12:23 UTC 2022 x86_64
User : medchoco ( 2906)
PHP Version : 8.3.16
Disable Function : mail
Directory :  /home/medchoco/www/wp-content/plugins/yith-woocommerce-compare/plugin-fw/assets/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/medchoco/www/wp-content/plugins/yith-woocommerce-compare/plugin-fw/assets/js/yith-promo.js
(function ($) {
    $(document).on('click', '.notice-dismiss', function () {
        var t = $(this),
            promo_wrapper = t.parent('div.yith-notice-is-dismissible'),
            promo_id = promo_wrapper.attr('id');

        if (typeof promo_id != 'undefined') {
            var cname = 'hide_' + promo_id,
                cvalue = 'yes',
                expiry = promo_wrapper.data('expiry'),
                expiry_date = new Date(expiry);

            expiry_date.setUTCHours( 23 );
            expiry_date.setUTCMinutes( 59 );
            expiry_date.setUTCSeconds( 59 );

            document.cookie = cname + "=" + cvalue + ";" + 'expires=' + expiry_date.toUTCString() + ";path=/";
        }
    });
})(jQuery);

https://t.me/AnonymousX5 - 2025