Skip to content

Toggle Adobe Campaign scripts OFF in browser: inside innerHTML #44

@YodaSpow

Description

@YodaSpow

Toggle Adobe Campaign scripts OFF in browser: inside innerHTML
Have the ability to toggle OFF Adobe Campaign personalization code script that sits in the browser for local testing of rendering

var commentEJS = /(<%).*(%>)/g;
document.body.innerHTML = document.body.innerHTML.replace(commentEJS, "<!-- $&-->");

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions