Title: Lottie javascript
Last modified: February 20, 2025

---

# Lottie javascript

 *  Resolved [savingyourtail](https://wordpress.org/support/users/savingyourtail/)
 * (@savingyourtail)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/lottie-javascript/)
 * I’m having a problem with my site’s functionality and believe I’ve traced it 
   to a javascript file within premium addons for wordpress conflicting with my 
   site’s content security policy. The lottie.js file appears to use an eval() function
   which I understand is a security risk, and that file gets run when my site is
   accessed.
 * I have two questions 1) what setting within premium addons controls usage of 
   this file? I’d like to turn it off if I can And 2) are there any plans to replace
   this javascript library with a more secure one?

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

 *  Plugin Support [abanobakram](https://wordpress.org/support/users/abanobakram/)
 * (@abanobakram)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/lottie-javascript/#post-18320564)
 * Hi [@savingyourtail](https://wordpress.org/support/users/savingyourtail/)
 * Could you please share the page link that you are checking so I can check what
   elements are being used and let you know which one is using lottie.js file.
 * I have also sent this to our devs to check the eval() function
 * Regards
 *  Thread Starter [savingyourtail](https://wordpress.org/support/users/savingyourtail/)
 * (@savingyourtail)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/lottie-javascript/#post-18320604)
 * Thank you. Here is a page link:
 * [https://savingyourtail.com/how-we-saved-on-tax-preparation-fees/](https://savingyourtail.com/how-we-saved-on-tax-preparation-fees/)
 *  Plugin Support [abanobakram](https://wordpress.org/support/users/abanobakram/)
 * (@abanobakram)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/lottie-javascript/#post-18329467)
 * [@savingyourtail](https://wordpress.org/support/users/savingyourtail/) We have
   removed the eval() usage from the file and it will be included in the next version.
 * To unload the lottie.js file, you can use the following code:
 *     ```wp-block-code
       add_action( 'wp_enqueue_scripts', function() {   wp_deregister_script( 'lottie-js' );   wp_dequeue_script( 'lottie-js' );}, 1000 );
       ```
   
 *  Thread Starter [savingyourtail](https://wordpress.org/support/users/savingyourtail/)
 * (@savingyourtail)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/lottie-javascript/#post-18329799)
 * Ok great – thank you

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

The topic ‘Lottie javascript’ is closed to new replies.

 * ![](https://ps.w.org/premium-addons-for-elementor/assets/icon-128x128.gif?rev
   =3495451)
 * [Premium Addons for Elementor - Powerful Elementor Templates & Widgets](https://wordpress.org/plugins/premium-addons-for-elementor/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/premium-addons-for-elementor/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/premium-addons-for-elementor/)
 * [Active Topics](https://wordpress.org/support/plugin/premium-addons-for-elementor/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/premium-addons-for-elementor/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/premium-addons-for-elementor/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [savingyourtail](https://wordpress.org/support/users/savingyourtail/)
 * Last activity: [1 year, 3 months ago](https://wordpress.org/support/topic/lottie-javascript/#post-18329799)
 * Status: resolved