Target - How to use a browser extension to remove x-frame-options console error
Last update: Mon Apr 21 2025 00:00:00 GMT+0000 (Coordinated Universal Time)
Explore how to tackle the X-Frame-Options console error hindering your Visual Experience Composer (VEC).
Description
Environment
- Adobe Target v17.1.1
- Google Chrome - 55.0.2883.87
- Firefox - 50.1.0
Issue/Symptoms
An ‘X-Frame-Options’ console error shows up when loading URLs in the Visual Experience Composer (VEC).
Resolution
Chrome: Install and configure the Requestly extension
-
Turn off the Enhanced Experienced Composer.
-
Install the Requestly browser extension on Chrome.
-
Open the extension and select Modify headers. Enter the following:
- Rule name
- Modification rules
- Toggle Add to Remove.
- Toggle Request to Response.
- Enter X-Frame-Options as the header name.
- Change Equals to Contains as the condition for the source URL and enter the URL of the activity that you are trying to load in the VEC.
- Click Save.
Firefox: Install and configure the Modify Response Headers extension
- Install the Modify Response Headers extension on Firefox and restart the browser.
- From your Firefox extensions, select the Modify Response Headers extension.
- Click Preferences.
- Select Filter from the Action drop-down menu.
- In the Header Name field, enter: X-Frame-Options
- Click Add.
- Click Start.
recommendation-more-help
3d58f420-19b5-47a0-a122-5c9dab55ec7f