Skip to content

Instantly share code, notes, and snippets.

@JustDravee
Created December 31, 2020 13:57
Show Gist options
  • Save JustDravee/30b92587433a5608240b4958c83ece75 to your computer and use it in GitHub Desktop.
Save JustDravee/30b92587433a5608240b4958c83ece75 to your computer and use it in GitHub Desktop.
popup.html de l'extension Medium ReStyle
<!DOCTYPE html>
<html>
<head>
<title>Medium ReStyle</title>
<script src="lib/jquery/jquery-3.2.1.min.js"></script>
<script src="lib/jscolor/jscolor.min.js"></script>
<script src="popup.js"></script>
<!-- Ce style est nécessaire afin de pouvoir afficher le color picker -->
<style>
body {
min-width: 250px;
min-height: 150px;
}
</style>
</head>
<body>
<input type="text" id="fontColor" class="jscolor" value="f00" />
<input type="submit" id="btnChange" value="Change" />
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment