MediaWiki:Gadget-ezcopy.js: Revision history

Jump to navigation Jump to search
Diff selection: mark the radio boxes of the versions to compare or click on a revision date to view it. (cur) = difference from current version, (prev) = difference from preceding version,  m = minor edit, → = section edit

13 October 2024

  • curprev 02:0202:02, 13 October 2024Alex 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..."