-
-
Notifications
You must be signed in to change notification settings - Fork 165
GitHub html preview
Rob Garrison edited this page Oct 24, 2022
·
10 revisions
A userscript that adds preview links to HTML files
- Not all repositories create gh-pages to display their examples. This userscript uses the ingenious code from https://github.com/htmlpreview/htmlpreview.github.com to build and render an example page built from the source repository.
- There is no guarantee that the linked page will work.
- Click this link to install from GitHub; or, install from GreasyFork or OpenUserJS.
- After installing, try the userscript on one of these pages:
- Update dependencies.
- Update mutation script.
- Update utils script.
- Update mutation script.
- Increase external link icon to 14px. See PR #129.
- Fix the bowser warnings about dangerous & deceptive content
- Fix the open link display when html's name is too long,it wiil be hidden. See PR #129; thanks @Democookie!
- Prepend link to keep inline.
- Fix styling by GitHub-Dark.
- Initial commit.