Content deleted Content added
Zackmann08 (talk | contribs) test |
Zackmann08 (talk | contribs) No edit summary |
||
Line 2:
// Shamelessly copied from User:Frietjes/addcheckforunknownparameters.js
jQuery(document).ready(function($) {
document.execCommand("copy");▼
if(mw.config.get('wgNamespaceNumber') != -1 && document.getElementsByName('wpTextbox1')[0]) {
mw.loader.using(['mediawiki.util']).done( function() {
Line 146 ⟶ 135:
}
var dummyContent = "this is to be copied to clipboard";
var dummy = $('<input>').val(dummyContent).appendTo('body').select();
// -------------------------------------------------------------------------------- //
});
|