Skip to content

allenhwkim/style-pirate

Repository files navigation

style-pirate

Steal full html and css from the existing web site section

How To Use It?

Pick an element to steal the html/css

image

Add the script from unpkg.com, or copy/paste it from dist/stylePirate.umd.min.js

> (function(){var el=document.createElement('script');el.src="https://unpkg.com/style-pirate";document.body.appendChild(el); })();

Run command

> var sp = stylePirate.run($0);
> stylePirate.plunker();  // to see it at plunker

image

Limitations

  1. Fonts are not fully reproducible although fonts.css is generated
  2. External css, which is in a different domain, is not reproducible.
  3. Submitting to plunker returns error if the webpage blocks submission.

About

Steal full html and css from the your web site section

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published