NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript==
// @name SICEUDO Script Toolkit
// @namespace http://use.i.E.your.homepage/
// @version 0.3
// @description enter something useful
// @match http://*/*
// @copyright 2012+, You
// ==/UserScript==
(function() {
if(location.hostname !== 'ccaanz.udo.edu.ve') {
return;
}
window.addEventListener('load', function() {
console.log('window.onload');
document.oncontextmenu = undefined;
document.querySelector('body').addEventListener('click', function(event) {
console.log(event.target.tagName.toLowerCase());
if (event.target.tagName.toLowerCase() === 'input' || event.target.tagName.toLowerCase() === 'select') {
event.target.removeAttribute('readonly');
event.target.removeAttribute('disabled');
if(event.target.type && event.target.type.toLowerCase() === 'password') {
event.target.type = 'text';
}
}
});
});
})();