(New: video pausing fixed, and randoms memory added. Works with GreaseMonkey 4.)
This script improves apina.biz in a few different ways:
Displays the full image or video instead of a medium-sized preview, and lets it fill the available space if it's big enough. Shows the zoom percentage for shrunken images (and it's aware of HiDPI pixels).
Clicking on videos pauses them, because they are no longer links. The video playback controls work, too.
Removes the annoying popup when hovering on the image.
When you click to zoom an image, you get just the raw image, not the annoying "Back to image and comments" page.
When you go back to a previous image, you see the same set of randoms in the sidebar that were there previously. The memory is kept for 7 days.
Removes the "?ref=randoms" garbage from the URL, for when you want to share it.