Last active
June 22, 2017 15:16
-
-
Save bfritscher/12434afb6915ee3a35c05f80e9f9af96 to your computer and use it in GitHub Desktop.
Fix JS Bin Embed font-size
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
var fontSize = 20; | |
var style = document.createElement('style'); | |
style.innerText = '#output li, #exec, .fakeInput, .fakeInput:before, #exec:before, #bin .editbox .CodeMirror, .mobile .editbox textarea{ font-size: ' + fontSize + 'px !important; }'; | |
document.head.append(style); |
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
{ | |
"name": "Fix JS Bin Embed font-size", | |
"description": "Set font-size in JS Bin embed", | |
"version": "0.1", | |
"icons": { | |
"64": "favicon.png" | |
}, | |
"content_scripts": [ | |
{ | |
"matches": ["*://jsbin.com/*embed*"], | |
"js": ["fix-jsbin-embed.js"], | |
"all_frames": true | |
} | |
], | |
"manifest_version": 2 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment