Jefreesujit / CTS - Allow Copy Paste Script

// ==UserScript==
// @name         CTS - Allow Copy Paste Script
// @namespace    http://tampermonkey.net/
// @version      1.0
// @description  Simple script that re enables cut copy paste options in editors.!
// @author       Jefreesujit
// @match        https://ee.cognizant.e-box.co.in/*
// @copyright    Jefreesujit, 2016+
// @grant        none
// ==/UserScript==
/* jshint -W097 */
'use strict';


function eventHandle() {
     showWait();jQuery.ajax({type:'POST',data:jQuery(this).parents('form:first').serialize(), url:'/contestComponent/selectProgramEditor',success:function(data,textStatus){jQuery('#editorbasediv').html(data); document.getElementsByName("disableCopyPaste")[0].setAttribute('value',false); globalComplete(data, textStatus);setTimeout(function() { startEditorTrack(); } , 2000 );initMaximizer('editorbasediv','');;},error:function(XMLHttpRequest,textStatus,errorThrown){errorCall(XMLHttpRequest);}});return false
}
document.querySelector(".form-inline .btn").setAttribute('onclick' , null );
document.querySelector(".form-inline .btn").onclick = function() { eventHandle() };