Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Outlook.com adds "Joyful Animations" #59

Open
hteumeuleu opened this issue Apr 9, 2019 · 0 comments

Comments

@hteumeuleu
Copy link
Owner

commented Apr 9, 2019

About six months ago, Microsoft introduced a new feature in Outlook.com called "Joyful Animations". It is turned on by default but can be turned off per user settings. According to Microsoft:

Outlook automatically shows a celebratory burst of colorful shapes in the reading pane when you open a message that includes words like Happy Birthday and Congratulations.

Screenshot of Outlook.com settings showing the Joyful Animations option

The feature highlights certain keywords with a different background color and text color. When hovering the keywords, a confetti animation appears.

An example of confetti animation in Outlook.com

Based on the owa.ReadingPane.mail.js file on Outlook.com, this only applies to three expressions (not case sensitive):

  • Happy Birthday
  • Congrats
  • Congratulations

The following code in an email:

<h1 class="foo">Congratulations</h1>

…will be transformed by Outlook.com into:

<h1 class="x_foo"><span data-markjs="true" class="markim8ebdahz _2Th5e9ZyZUAFfXZXt-uLkQ">Congratulations</span></h1>

I haven't found a way to prevent this transformation. However, the styles can be overrided by adding the following rule:

<style>
[class="x_foo"] span { background: inherit !important; color:inherit !important; }
</style>

@hteumeuleu hteumeuleu added the feature label Apr 11, 2019

@hteumeuleu hteumeuleu added Outlook and removed feature labels Jul 10, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.