- 02 Jul 2024
- 2 Minutes To Read
-
Print
-
DarkLight
-
PDF
Mitigate the impact of MV3 using the Preview Extension
- Updated On 02 Jul 2024
- 2 Minutes To Read
-
Print
-
DarkLight
-
PDF
Overview
Manifest V3, or MV3, refers to a significant update to the WebExtensions API used to build browser extensions for Chrome, Firefox, and other Chromium-based browsers such as Edge and Opera.
As per the latest updates to MV3, the injection of remote code will no longer be allowed. This means any custom code that is configured for additional capabilities in Advanced Customization (AC) can't be previewed using Whatfix Studio's Preview mode.
To preview such changes, Whatfix has introduced a Preview extension. This extension enables you to test any AC code used to achieve certain out-of-the-box capabilities. For more information, see Use Preview extension to test Whatfix content.
Whatfix enables you to use Whatfix Studio to install the Preview extension. This needs to be done only once, after which the Preview extension is updated automatically. For more information, see FAQs about Preview Extension.
Prerequisites
Before you migrate to the Preview Extension, here are some things you need to keep in mind.
What is Advanced Customization (AC) code?
Whatfix enables you to perform most tasks using the Whatfix user interface. For tasks that are not as frequently used, you can use certain snippets of Advanced customization (AC) code to perform specific capabilities using Whatfix. To verify if your account contains any AC code, see [Access Code Editor](/studio/docs/access-code-editor){target=`_blank`}.
Do I need the Preview extension even if I use a development environment?
You need to use the Preview extension only if you use Whatfix Studio to test any AC code in your account. If you have configured a development environment using JS Embed for testing, you don't need the Preview extension.
Are end users impacted by the Preview extension?
No, end users are not impacted by the Preview extension, as the AC code will be bundled within the Whatfix production extension or JS embed.
Can I use Google Chrome Store to install the Preview extension?
Whatfix Preview extension is best installed from the Whatfix Store. Whatfix store provides faster auto-updates, a better performance, and an overall streamlined deployment process.
Key Features of Preview extension
The Preview extension allows you to preview AC (Application Code) or content that is affected by it. Its key features include:
- Works in tandem with the Preview mode of the Studio extension.
- Provides a way to review all content, widgets, and AC capabilities once you click the preview icon.
- Supports auto-update in case of changes in AC code.
- Supports ORG level management and deployment across all ENTs in your organization.
Download Preview extension
Download the Preview extension using any of the following methods:
- Use Whatfix Studio to download installation links. For more information, see Download Whatfix Preview extension using Whatfix Studio.
- Reach out to support@whatfix.com to enable Preview extension for your account.
- Download the extension from the Code editor. For more information, see Access Code Editor.
Install Preview extension
Once you have downloaded the Preview extension, install it using one of the following methods:
- PowerShell
- ZIP
For detailed instructions on how to install the Preview extension using the selected method, see Install the Whatfix Preview extension in Google Chrome.