ModalLogs is a script that shows a modal for the block log and etc links on Special:Contributions pages.
Installation
Configuration
You can set window.ModalLogsCustomSelectors to a jQuery selector object or a string containing one or more selectors to support custom selectors. Note that this will override the default selectors, so you will need also have the block log and etc selectors in your jQuery selector object or string if needed.
Text above can be found here (edit)