Last active
February 14, 2017 15:48
-
-
Save kn9ts/8a0d32fece2e963bc2e161b18882ae00 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Hey guys, *would you like to spice up your web whatsapp or slack font*? | |
// => Open the the browser console `CMD + ALT + I`, select the *Console* tab and paste the above snippet. | |
// Have fun. | |
(function() { | |
var link = document.createElement('link'); | |
link.setAttribute('rel', 'stylesheet'); | |
link.setAttribute('href', '//fonts.googleapis.com/css?family=Nova+Oval'); | |
document.head.appendChild(link); | |
link.onload = function() { | |
document.body.style.fontFamily = '\'Nova Oval\', cursive'; | |
var style = document.createElement('style'); | |
style.innerHTML = 'div[class*="message"], div[class*="channel"], div[class*="comment"], span[class*="message"] { font-family: "Nova Oval", cursive; }'; | |
document.head.appendChild(style); | |
} | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment