User:Pcj/hydradark.js

$(function { $("#deleteconfirm").attr("action",location.href); if (mw.config.get("wgAction")=="edit"||mw.config.get("wgAction")=="submit") $("body").dblclick(function  { if(event.target.name=="wpTextbox1") return; $("#wpPreview > input").click; }); });