User:Codehydro/Auto CSS image crop/script.js: Difference between revisions

Content deleted Content added
Created page with 'function showAutoCrop () { load = importScript('User:Codehydro/Auto CSS image crop/functions.js'); document.body.appendChild(document.createElement("div")).id...'
 
mNo edit summary
Line 3:
document.body.appendChild(document.createElement("div")).id = "autotemp";
autotemp.style.cssText = "position:fixed;top:25vh;width:50%;height:50vh;";
load.onload = initAutoCrop();
}
if(window[".autocrop"]) {
load = importScript('User:Codehydro/Auto CSS image crop/functions.js');
load.onload = initAutoCrop();
} else if (!window[".DisableAutoCropEverywhere"]) {
//(userUL = window["p-personal"].getElementsByTagName("ul")[0]).insertBefore(CropPanel = document.createElement("li"), userUL.childNodes[window["AutoCropPos"] || -1]).innerHTML = "<a href='javascript:showAutoCrop();'>CSS image crop</a>";
}