adds a "Random Work" button (top right corner) when viewing works or bookmarks - shows up in a tag/filter and your Marked For Later list
Takes you to a random work from within your Marked For Later, bookmarks, or a works listing.
This script adds a "Random Work" button (top right of the page, underneath the header)
Clicking the button will redirect you to a random work from the list. If you've used filter criteria, the random work will be selected from within the filter.
The page reloads the current tab with the random work. If you want it to open in a new tab instead, you can replace the line window.location.assign(path); at the end of the code with window.open(path, '_blank').focus();. Fair warning, this might trigger your popup blocker or try to open in a new browser window instead of a tab. That's all down to browser behavior.