LiveDiffLink adds a live-generated diff link next to each "Compare" button on History pages that updates dynamically every time you switch selected revisions. A shortened diff link is also added dynamically in each chosen revision line, so you don't have to scroll all the way to the top or bottom of the page to click/copy the link.
To use this script: Copy the line below, then click here, paste the line, and hit the save button.
importScript('User:Equazcion/LiveDiffLink.js'); //Linkback: [[User:Equazcion/LiveDiffLink]]