Created
August 3, 2019 00:07
-
-
Save erayerdin/2a3badd1a1184df60aa06cebec40faf8 to your computer and use it in GitHub Desktop.
Just a better editor for Hashnode.
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
// ==UserScript== | |
// @name Hashnode Better Editor | |
// @namespace https://github.com/erayerdin | |
// @version 0.1 | |
// @description Better editor for hashnode. | |
// @author Eray Erdin | |
// @include https://hashnode.com/draft/* | |
// @include https://hashnode.com/create/story | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
const editor = document.getElementsByName("editor")[0]; | |
editor.style["font-family"] = "Droid Sans Mono"; // you can change this line with any font you'd like | |
// however make sure the font exists on your system | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment