User:Jxtreme/monaco.js

var url = window.location.toString; var url = window.location.toString; pos = url.length-15;

if (wgPageName == "Special:Upload" && url.substring(pos, url.length) != '&wpForReUpload=1'){ document.getElementById('uploadtext').style.display = "none"; document.getElementById('wpUploadDescription').innerHTML = ""; document.getElementById('wpUploadDescription').style.height = "136px"; }