Home Resources Blog

If you love working with email templates, but feel the template tags get in the way when previewing your design in a browser window, then the cm-preview bookmarklet by Alex Dunae at Dialect (the creators of Premailer) is for you. By keeping it handy in your bookmarks bar, you can replace all Campaign Monitor template tags with their fallback defaults in a click.

To get started, simply drag the bookmarklet below into your browser’s bookmarks bar…

a.bookmarklet, a:visited.bookmarklet {
padding: 2px 4px 3px 4px;
color: #373737;
font-family: “Helvetica Neue”, Helvetica, Arial, sans-serif;
background-color: #C2C2C2;
border-radius: 5px;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
font-size: 11px;
text-decoration: none;
font-weight: 500;
text-shadow: 0px 1px 1px #eee;
-moz-box-shadow: 1px 1px 2px #888;
-webkit-box-shadow: 1px 1px 2px #888;
box-shadow: 1px 1px 2px #888;
}

cm–preview bookmarklet

… then when you’re viewing a design, give it a click to transform a tag-riddled design…

Without bookmarklet

… into something a bit closer to what’s intended.

With bookmarklet

This is particularly good for viewing default images within a template, testing a personalization fallback, or simply making your design look more true to life.

Many thanks again to gentleman-developer Alex for this super-handy bookmarklet. To get hands-on with this code, check out the cm-preview page on Github.

This blog provides general information and discussion about email marketing and related subjects. The content provided in this blog ("Content”), should not be construed as and is not intended to constitute financial, legal or tax advice. You should seek the advice of professionals prior to acting upon any information contained in the Content. All Content is provided strictly “as is” and we make no warranty or representation of any kind regarding the Content.
Straight to your inbox

Get the best email and digital marketing content delivered.

Join 250,000 in-the-know marketers and get the latest marketing tips, tactics, and news right in your inbox.

Subscribe

See why 200,000 companies worldwide love Campaign Monitor.

From Australia to Zimbabwe, and everywhere in between, companies count on Campaign Monitor for email campaigns that boost the bottom line.

Get started for free