I need a client side javascript functions which can be included in an html page and executed.
Two tasks:
#1. It should fetch any external css and make it internal (inside <style>) and remove the external link.
Please make sure that you take care of the following:
a) It should resolve the paths for any other linked resource in those external css. background image, fonts, video, @imports & @fonts, etc should work fine and not give a 404 error
b) should preserve the "media" property values and set them as attributes in the <style> tag. (media can be "screen", "print", etc)
#2. It should base64 any background image
I will buy your script only after checking that it actually works and is bug free.
Best of luck!
Hi there
My name is Carlos and I'm an expert in .Net and sql server.
I have been working in software developement for the last 20 years.
I have many experience in desktop and web development.
Regards