javascript - Embed only used scripts and styles in HTML file -


does know of tool can @ webpage styles , scripts , images, , create html file has styles , scripts , images embedded, only ones used page?

i have typical "this site offline maintenance" page, entire website in own right, based on bootstrap 3. want reduce whole website single file images, css , js required display page.

update

using typical browser save file functionality not achieve want, firstly not embed css/js resources in page, saves them in subfolder , references them there; , secondly, not appear strip out styles , scripts not directly referenced page, rather saving files in entirety.

i believe snappysnippet help. extracts html & css element , sends e.g. jsfiddle review. you'd extract html element, should work.

regrettably, doesn't js, maintenance page should work fine.

some details creator on so , here on youtube.


Comments

Popular posts from this blog

sql - VB.NET Operand type clash: date is incompatible with int error -

SVG stroke-linecap doesn't work for circles in Firefox? -

python - TypeError: Scalar value for argument 'color' is not numeric in openCV -