-
-
Notifications
You must be signed in to change notification settings - Fork 166
GitHub image preview
Rob Garrison edited this page Oct 24, 2022
·
47 revisions
A userscript that allows the previewing of repository images.
- This script adds the ability to preview images (png, jpg, jpeg, gif, tif, tiff, bmp, webp and svg).
- There are two preview modes:
- Mini preview where the image maximum size is around 180 pixels x 130 pixels in size.
- Full height image preview (870 pixels maximum width with proportional height).
- Click this link to install from GitHub; or, install from GreasyFork or OpenUserJS.
- Update dependencies.
- Better compatibility with other extensions. Thanks @kidonng!
- Fix colors.
- Update mutation script.
- Update mutation script.
- Prevent JS error.
- Remove optional chaining.
- Fix non-image alignment.
- Fix preview target. Closes issue #116
- Update to match repo files grid.
- Remove console error & cleanup.
- Update loading icon.
- Update GitHub icon.
- Update mutation script.
- Switch to lazy loading of SVG images.
- Update mutation script.
- Maintain view state more reliably & code clean up.
- Add title tooltips & more clean up.
- Add class to up tree link; needed so files-filter doesn't hide it.
- Use button element for accessibility.
- Update mutation script.
- Update mutation script.
- Update mutation script url.
- Update assets.
- Update mutation script url.
- Handle symlink directories.
- Add a class for folder tiles.
- Change license to MIT.
- Update mutation url.
- Switch to using mutations.js.
- Use pjax event & fix linting.
- Reduce image tile margin.
- Adjust preview card size after GitHub changes.
- Change "btn-group" to "BtnGroup" (GitHub update).
- Beautify.
- One more button class tweak.
- Fixed a selector, then went crazy (converted to ES6).
- Style tweaks.
- Ignore case on image types.
- Support submodules & non-links.
- Add link colors to non-image files.
- Move file extension text over the file icon.
- Fix file extension display:
- Ignore extensionless files (e.g. "LICENSE").
- Ignore files starting with a period (e.g. ".gitignore").
- Add
@connect
setting to prevent popup warnings.
- Show file extension for non-image files.
- Increase check display mode delay on init.
- Initial commit