Advertisement
Guest User

Untitled

a guest
Nov 24th, 2017
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.97 KB | None | 0 0
  1.  
  2.  
  3. How does the hack work? It replaces the Gmail images with a glyph version.
  4.  
  5. The classes below need to be added into the HEAD of the email, the classes defined then need to be added as a span (example in the body)
  6.  
  7. --------------------
  8.  
  9. <!DOCTYPE html>
  10. <html lang="en" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">
  11. <head>
  12. <style>
  13. .emoji img{
  14. display:none;
  15. }
  16. .emoji img + u{
  17. background-size:contain;
  18. height: 1em;
  19. width: 1em;
  20. display: inline-block;
  21. }
  22. .t img + u{
  23. background-image: url(http://www.charbase.com/images/glyph/153);
  24. }
  25. .c img + u{
  26. background-image: url(http://www.charbase.com/images/glyph/169);
  27. }
  28. .r img + u{
  29. background-image: url(http://www.charbase.com/images/glyph/174);
  30. }
  31. </style>
  32. </head>
  33. <body>
  34. <p>text<span class="emoji t">™<u></u></span> text text <span class="emoji c">©<u></u></span>2017 text <span class="emoji r">®<u></u></span>text</p>
  35. </body>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement