Comments (2)
You'd have to recursively inline every asset in the iframe target. Doable, but not so fun! Can't remember what the support for srcDoc is like, might be a cleaner option, but yeah, base64
would do the trick too.
from inliner.
It looks like most browsers support srcDoc (except IE which almost no one uses now). Yeah, it would definitely be a pain to inline all the iframe srcs as well.
from inliner.
Related Issues (20)
- Retrying on 503 errors HOT 3
- Feature: Option to set base url when using static file or string
- Webpack tutorial?
- Why can't I execute multiple lines of instructions in bat file?
- Not inlining <script data-main> HOT 2
- [Bug] Cannot read property 'toFixed' of undefined HOT 3
- looks like inliner ignores td background HOT 2
- Inline anchors referencing other HTML pages
- SVG elements white space getting stripped HOT 3
- active forks
- . HOT 1
- Variable name is not encoded correctly
- Combine html page, js, css in memory to an inline file HOT 1
- Unicode support HOT 1
- Doesn't inline JavaScript with type="module" HOT 2
- Not inlining scripts HOT 1
- Inliner outputs an empty web page when executed under the Node.js `exec` function
- A ReDoS vulnerability exists in css.js
- Documentation, update example? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from inliner.