This file contains hidden or 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
/* Change font (most of admin) */ | |
.wp-admin { | |
font-family: 'Courier New',Courier,monospace; | |
text-rendering: optimizeLegibility; | |
} | |
/* Change font (top bar) */ | |
#wpadminbar * { | |
font-family: 'Courier New',Courier,monospace!important; | |
text-rendering: optimizeLegibility; |
This file contains hidden or 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
<html> | |
<head></head> | |
<body> | |
<textarea id="typewriter"></textarea> | |
<label for="soundToggle">Sound</label> | |
<input type="checkbox" id="soundToggle"> | |
<script> | |
const textarea = document.getElementById('typewriter'); | |
const soundToggle = document.getElementById('soundToggle'); |
This file contains hidden or 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
javascript:(function() { | |
function copyToClipboard(text) { | |
if (window.clipboardData && window.clipboardData.setData) { | |
/*IE specific code path to prevent textarea being shown while dialog is visible.*/ | |
return clipboardData.setData("Text", text); | |
} else if (document.queryCommandSupported && document.queryCommandSupported("copy")) { | |
var textarea = document.createElement("textarea"); | |
textarea.textContent = text; |