Created
March 19, 2020 09:20
-
-
Save outiy5/0451bd0bbf2ef7c3c41b5ff01658f70e to your computer and use it in GitHub Desktop.
[use script to generate image synchronically] 如何在文档流加载的时候自动生成图片? #javascript
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
| // https://stackoverflow.com/questions/22503908/html-is-img-src-scriptsome-javascript-script-allowed | |
| // https://stackoverflow.com/questions/34467135/insert-javascript-code-inside-img-src/34467158 | |
| document.write('<img src=' + someVariable + ' alt="">'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment