User:Chlod/Scripts/NewTabMMVDetails.js

// New Tab MMV (Multimedia Viewer) Details // Author: Chlod // Version: 1.0.0-REL

// Opens the details page brought up by "More details" in the Multimedia Viewer into a new tab.

$(document).click((function (click_event) { if (click_event.target.classList.contains("mw-mmv-description-page-button")) { click_event.target.setAttribute("target", "_blank"); } }));