top of page

Updates to iFrames and Custom Elements

2 hours ago
2 min read

Updates to iFrames and Custom Elements


In order to improve the security of apps and components on Wix sites, we're planning to implement sandboxing on January 1st, 2025. This update may affect the function of some code in custom elements and iFrames.


Select a question to learn more about this update.


Sandboxing is a feature that restricts access to content / certain storage areas in an element.

With this update, access to certain storage areas in iFrames and custom elements (e.g. sessionStorage, cookies, cache etc.) will be limited - meaning they won't be as easily accessed by apps. Learn more about the update


The live version of the site will not be affected.

This change will impact the function of apps / components in your editor (Wix Editor or Studio Editor), and in Preview mode.


If any code on the site currently has access to sessionStorage, localStorage, cookies, indexDB, and cache, we recommend updating the code to ensure it keeps functioning as expected.

If you're not using the code, you can still update it to ensure the security of the custom element / iFrame. Otherwise, you can delete the component from the site.

To delete the component:

  1. Go to your editor.

  2. Select the iFrame / custom element.

  3. Press the Delete key on your keyboard.


If you have a site that will be affected by this change, we sent you an email on the 24th of November. This email should advise you of the sites in your account that may be impacted by this update.

You can find the relevant elements / code by using the Layers panel in your editor.


There are a few actions you can take to update the code, including wrapping access to an API. Learn more about ways to update code


Important:


We cannot provide support for codes that were not created or tested by Wix. If you are experiencing an issue or require assistance with coding, please contact the developer or code provider.


Comments


wix experts
Graphic2Traffic web design
©
bottom of page