PageSourceSearch

https://www.aver.com/Js/reg-main.min.js

js aver.com collected 2026-09-27 20:55:04 UTC 3,540 bytes, 2 lines download raw bytes

1/* http://mths.be/placeholder v2.0.8 by @mathias */
2(function(p,d,a){var g=Object.prototype.toString.call(p.operamini)=="[object OperaMini]";var f="placeholder" in d.createElement("input")&&!g;var h="placeholder" in d.createElement("textarea")&&!g;var l=a.fn;var o=a.valHooks;var j=a.propHooks;var e;var i;if(f&&h){i=l.placeholder=function(){return this};i.input=i.textarea=true}else{i=l.placeholder=function(){var q=this;q.filter((f?"textarea":":input")+"[placeholder]").not(".placeholder").bind({"focus.placeholder":c,"blur.placeholder":n}).data("placeholder-enabled",true).trigger("blur.placeholder");return q};i.input=f;i.textarea=h;e={get:function(s){var q=a(s);var r=q.data("placeholder-password");if(r){return r[0].value}return q.data("placeholder-enabled")&&q.hasClass("placeholder")?"":s.value},set:function(s,t){var q=a(s);var r=q.data("placeholder-password");if(r){return r[0].value=t}if(!q.data("placeholder-enabled")){return s.value=t}if(t==""){s.value=t;if(s!=m()){n.call(s)}}else{if(q.hasClass("placeholder")){c.call(s,true,t)||(s.value=t)}else{s.value=t}}return q}};if(!f){o.input=e;j.value=e}if(!h){o.textarea=e;j.value=e}a(function(){a(d).delegate("form","submit.placeholder",function(){var q=a(".placeholder",this).each(c);setTimeout(function(){q.each(n)},10)})});a(p).bind("beforeunload.placeholder",function(){a(".placeholder").each(function(){this.value=""})})}function b(q){var r={};var s=/^jQuery\d+$/;a.each(q.attributes,function(u,t){if(t.specified&&!s.test(t.name)){r[t.name]=t.value}});return r}function c(r,t){var s=this;var q=a(s);if(s.value==q.attr("placeholder")&&q.hasClass("placeholder")){if(q.data("placeholder-password")){q=q.hide().next().show().attr("id",q.removeAttr("id").data("placeholder-id"));if(r===true){return q[0].value=t}q.focus()}else{s.value="";q.removeClass("placeholder");s==m()&&s.select()}}}function n(){var r;var u=this;var q=a(u);var t=this.id;if(u.value==""){if(u.type=="password"){if(!q.data("placeholder-textinput")){try{r=q.clone().attr({type:"text"})}catch(s){r=a("<input>").attr(a.extend(b(this),{type:"text"}))}r.removeAttr("name").data({"placeholder-password":q,"placeholder-id":t}).bind("focus.placeholder",c);q.data({"placeholder-textinput":r,"placeholder-id":t}).before(r)}q=q.removeAttr("id").hide().prev().attr("id",t).show()}q.addClass("placeholder");q[0].value=q.attr("placeholder")}else{q.removeClass("placeholder")}}function m(){try{return d.activeElement}catch(q){}}}(this,document,jQuery));$(function(){$("#footer").ready(function(){var a=$("#footer").offset().top+$("#footer").outerHeight(true);if($(window).height()>a){$(".V-Fill").css("height",($(window).height()-a)+"px")}})});$(document).ready(function(){resend_Mail();function a(){sHost=window.location.host.toLowerCase();proto=window.location.protocol.toLowerCase();var b=proto+"//"+sHost;if(sHost.indexOf("localhost")!=-1){b+="/AVIPortal"}b+="/CheckVerificationCode.aspx";return b}$("#checkcontactform").on("click",function(){k=true;var d=true;$(".captcha").hide();if(d){var c=$("#txt_VCode").val();var b=a();$.ajax({url:b+"?sType=ContactForm&sCode="+c,type:"GET",dataType:"json",success:function(e){if(e.result=="1"){RealSubmit()}else{alert(captchaTxt);return false}},error:function(){alert(captchaTxt)}})}})});function RealSubmit(){$("#btn_Submit").click()}function go_Refresh(){var a=Math.floor(Math.random()*100000);$("#img_Captcha").attr("src","UserControl/CaptchaNew.ashx?w=150&h=45&Random="+a)}function resend_Mail(){$("#reg-resend").click(function(){regResend()})}function ResendMail(){regResend()};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.