Created
August 6, 2021 07:19
-
-
Save bgoonz/fc23cdfc1a266059a7fde3ad963221db to your computer and use it in GitHub Desktop.
inject-iframe.js
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
let iframe = document.createElement('iframe'); | |
iframe.style = | |
"font-family: Arial, Helvetica, sans-serif; color: rgb(136, 247, 221); background-color: whitesmoke; border-radius: 25px; position: absolute; font-size: 8px; bottom: 0px; left: 0; width: 30%; border: 3px solid gold; padding: 0px; margin: 2px; overflow: auto; overflow-y: auto; height: 25%; -webkit-border-radius: 15px; -moz-border-radius: 15px; -ms-border-radius: 15px; -o-border-radius: 15px; overflow-wrap: break-word; zoom: 1.1; resize: both;overflow: auto;z-index: 100;"; | |
iframe.src = "https://replit.com/@bgoonz/medium-sandbox/?lite=true"; | |
document.body.appendChild(iframe); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment