芝麻web文件管理V1.00
编辑当前文件:/var/www/cognitio.in/wp-content/plugins/popup-maker/assets/js/admin-bar.min.js
!function(){var t,u=[].indexOf||function(t){for(var e=0,n=this.length;e
?@\[\\\]^`{|}~]/.test(t)?"\\"+t:escape(t).replace(/\%/g,"\\")}).join("")},e.prototype.getIdSelector=function(t){var e,n=t.getAttribute("id");return null==n||""===n||/\s/.exec(n)||/^\d/.exec(n)||(e="#"+this.sanitizeItem(n),1!==t.ownerDocument.querySelectorAll(e).length)?null:e},e.prototype.getClassSelectors=function(t){var o,e=[],i=t.getAttribute("class");return e=null!=i&&""!==(i=(i=i.replace(/\s+/g," ")).replace(/^\s|\s$/g,""))?function(){for(var t=i.split(/\s+/),e=[],n=0,r=t.length;n
"),this.testSelector(t,o))return o;return null},e.prototype.getCombinations=function(t){for(var e,n,r,o,i=[[]],s=n=0,l=(t=null==t?[]:t).length-1;0<=l?n<=l:l<=n;s=0<=l?++n:--n)for(e=r=0,o=i.length-1;0<=o?r<=o:o<=r;e=0<=o?++r:--r)i.push(i[e].concat(t[s]));return i.shift(),i=(i=i.sort(function(t,e){return t.length-e.length})).map(function(t){return t.join("")})},t=e,"undefined"!=typeof define&&null!==define&&define.amd?define([],function(){return t}):("undefined"!=typeof exports&&null!==exports?exports:this).CssSelectorGenerator=t}.call(this),function(e){var n=new CssSelectorGenerator,r={instructions:"After clicking ok, click the element you want a selector for.",results:"Selector"};e(document).on("click","#wp-admin-bar-pum-get-selector",function(t){alert(r.instructions),t.preventDefault(),t.stopPropagation(),e(document).one("click",function(t){var e=t.target,e=n.getSelector(e);alert(r.results+": "+e),t.preventDefault(),t.stopPropagation()})})}(jQuery);