Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

this is a public link and share whatever you created #9

Open
lovetingyuan opened this issue Aug 13, 2018 · 0 comments
Open

this is a public link and share whatever you created #9

lovetingyuan opened this issue Aug 13, 2018 · 0 comments

Comments

@lovetingyuan
Copy link

lovetingyuan commented Aug 13, 2018

https://itty.bitty.site/#/data:text/html,%3Cbody%20oninput=%22i.srcdoc=h.value+'%3Cstyle%3E'+c.value+'%3C/style%3E%3Cscript%3E'+j.value+'%3C/script%3E'%22%3E%3Cstyle%3Ehtml,body{height:100%}button{position:fixed;right:0}textarea,iframe{width:100%;height:50%;box-sizing:border-box}body{margin:0}textarea{width:33.33%;font-size:18px}%3C/style%3E%3Ctextarea%20placeholder=HTML%20id=h%3E%3C/textarea%3E%3Ctextarea%20placeholder=CSS%20id=c%3E%3C/textarea%3E%3Ctextarea%20placeholder=JS%20id=j%3E%3C/textarea%3E%3Ciframe%20id=i%3E%3C/iframe%3E%3Cbutton%20onclick=%22prompt('','https://itty.bitty.site/#/data:text/html;charset=utf-8,'+i.srcdoc)%22%3Eshare

<body oninput="i.srcdoc=h.value+'<style>'+c.value+'</style><script>'+j.value+'</script>'"><style>html,body{height:100%}button{position:fixed;right:0}textarea,iframe{width:100%;height:50%;box-sizing:border-box}body{margin:0}textarea{width:33.33%;font-size:18px}</style><textarea placeholder=HTML id=h></textarea><textarea placeholder=CSS id=c></textarea><textarea placeholder=JS id=j></textarea><iframe id=i></iframe><button onclick="prompt('','https://itty.bitty.site/#/data:text/html;charset=utf-8,'+i.srcdoc)">share
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@lovetingyuan and others