As I was playing around with a javascript shortcut action for my ios devices, I thought that it might as well be turned into a pen also :-)
If you also want to experiment with coding javascript on iOS - take a look at this brilliant app: https://scriptable.app/
Click in left side to goto previous quote, click right side to goto next quote. Click the "Random" button for random quote. Click yellow tag to goto first quote with that tag. Click the "Copy" button to copy quote to clipboard,
Keyboard shortcuts: "left arrow" = Previous quote