MediaWiki:Gadget-ezcopy.js: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

    3 October 2022

    • curprev 18:2518:25, 3 October 2022Jacmob talk contribs 2,470 bytes +2,470 Created page with "$(function () { function try_copy(x, $el) { var txt = document.createElement('textarea'), $txt = $(txt); $txt.text(x).css({ position: 'fixed', top: 0, left: 0, width: '2em', heigh: '2em', padding: 0, border: 'none', outline: 'none', boxShadow: 'none', background: 'transparent' }).appendTo('body'); txt.select(); try { document.execCommand('copy'); //mw.notify('Copied "'+x+'" to the clipboard', {tag: 'ezcopy'}); $el.addClas..."