How-to instructions you can trust

[]
wikiHow: How-to instructions you can trust. =g||g>b?(c&&(clearTimeout(c),c=null),d=f,a.apply()):c||(c=setTimeout(e,g))}}function w(){var a=!1,b=window.innerHeight||document.documentElement.clientHeight,c;for(c in g){var d=g[c];if(!d.isLoaded){a=d;var e=a.element.getBoundingClientRect(),f={top:e.top,bottom:e.bottom};0==a.lastTop-e.top&&window.scrollY!=a.lastY&&(f.top-=window.scrollY,f.bottom-=window.scrollY);a.lastTop=e.top;a.lastY=window.scrollY;a=f;e=b;f=52;var h=2*e;f-=h;e+=h;(0==a.top&&0==a.bottom?0:a.top>=f&&a.top=f&&a.bottom<=e||a.top=e)&&d.load();a=!0}}!a&&g.length&&(window.removeEventListener("scroll",l),l=null) }function r(a){if(a&&a.element){var b=!0;a.element.className||(b=!1);-1==a.element.className.indexOf("content-fill")&&(b=!1);if(b&&document.addEventListener&&a.finishedLoadingEvent){a.loaderRemoved=!1;b=document.createElement("div");b.className="loader";for(var c=0;3>c;c++){var d=document.createElement(“div”);d.className=”loader-dot”;b.appendChild(d)}var e=document.createElement(“div”);e.className=”loading-container”;e.appendChild(b);a.element.parentElement.insertAdjacentElement(“afterbegin”,e);a.element.addEventListener(a.finishedLoadingEvent,function(){a.loadedCallback&&a.loadedCallback();0==a.loaderRemoved&&(this.parentElement.removeChild(e),a.loaderRemoved=!0,”undefined”!==typeof a.element.classList&&a.element.classList.remove(“img-loading-hide”));a.alt&&(a.element.alt=a.alt,”undefined”!==typeof a.element.classList&&a.element.classList.remove(“img-loading-alt”))});a.errorEvent&&a.element.addEventListener(a.errorEvent,function(){a.alt&&(a.element.alt=a.alt)})}else a.alt&&(a.element. alt=a.alt),”undefined”!==typeof a.element.classList&&a.element.classList.remove(“img-loading-hide”)}}function x(a){if(!a)return””;if(!h)return a;var b=a.split(“.”).pop();”jpg”!==b&&”png”!==b||!a.match(/images(_[a-z]{2})?/thumb//)||a.match(/(.[a-zA-Z]+){2}$/)||(a+=”.webp”);return a}function L(a){this.isLoaded=!1;this.element=a;k||(this.lastY=window.scrollY,this.lastTop=a.getBoundingClientRect().top);this.src=a.getAttribute(“data-src”);this.load=function(){this.element.setAttribute(“src”,this.src);this.isLoaded=!0;this.finishedLoadingEvent=”loadeddata”;r(this)}}function D(a){this.isLoaded=!1;this.element=a;k||m||(this.lastTop=a.getBoundingClientRect().top,this.lastY=window.scrollY);this.alt=a.alt;a.alt=””;this.finishedLoadingEvent=”load”;this.errorEvent=”error”;if(n){var b=a.getAttribute(“data-srclarge”);null!=b&&(this.src=b)}this.src||(this.src=a.getAttribute(“data-src”));1!=a.getAttribute(“data-nowebp”)&&(this.src=x(this.src));a&&void 0!==a.classList&&a.classList.add( “img-loading-hide”);this.load=function(){this.element.setAttribute(“src”,this.src);this.isLoaded=!0;r(this)}}function M(a){this.isLoaded=!1;this.element=a;k||(this.lastTop=a.getBoundingClientRect().top,this.lastY=window.scrollY);this.finishedLoadingEvent=”loadeddata”;this.isPlaying=!1;this.src=”https://www.wikihow.com/video”+this.element.getAttribute(“data-src”);this.poster=this.element.getAttribute(“data-poster”);(this.poster=x(this.poster))&&”jpg”==this.poster.split(“.”).pop()&&h&&(this.poster+=”.webp”);this.noAutoplay=this.element.getAttribute(“data-noautoplay”);this.play=function(){this.element.play();this.isPlaying=!0};this.pause=function(){this.element.pause();this.isPlaying=!1};this.load=function(){this.element.setAttribute(“poster”,this.poster);!E||this.noAutoplay||!n&&!0!==window.wgIsMainPage?this.finishedLoadingEvent=null:(this.element.setAttribute(“src”,this.src),this.play());this.isLoaded=!0;this.noAutoplay||r(this)}}function t(a){var b=document.getElementById(a);if(b)if(h ||F){a=!1;var c=null,d=b.nodeName.toLowerCase();if(“img”===d)c=new D(b),m?(d=c,d.element.classList.remove(“img-loading-hide”),d.element.classList.add(“img-loading-alt”),d.element.setAttribute(“loading”,”lazy”),d.load()):k?p(c.element):a=!0;else if(“video”===d)c=new M(b),k?p(c.element):a=!0;else if(“iframe”===d)c=new L(b),k?p(c.element):a=!0;else if(“picture”===d)if(d=b.getElementsByTagName(“img”)[0],m){u?(d.width=d.dataset.width,d.height=d.dataset.height):(d.width=d.dataset.widthlarge,d.height=d.dataset.heightlarge);d.src=d.dataset.src;d=b.getElementsByTagName(“source”);for(var e=0;e=WH.largeScreenMinWidth?”large”:a>=WH.mediumScreenMinWidth?”medium”:”small”},throttle:C,TOP_MENU_HEIGHT:52,autoPlayVideo:E,webpSupport:h,addScrollLoadItem:t,addLazyImage:function(a){var b=document.getElementById(a),c=1==b.getAttribute(“data-desktopok”),d=1==b.getAttribute(“data-nowebp”);!c&&n||!h||!m||d?(c=b.getAttribute(“data-src-nowebp”),c||(c=b.getAttribute( “data-src”),5 =0){return true;}return false;}function hasCookiePolicyPageOptOut(){var hasCookie=document.cookie.indexOf(‘gdpr_cpp_opt_out=1’);if(hasCookie>=0){return true;}return false;}function hasEUQueryParam(){var url=window.location.href;if(url.indexOf(‘?EUtest=’)!=-1){return true;}else if(url.indexOf(‘&EUtest=’)!=-1){return true;}return false;}function isEULocation(){var value=”; “+document.cookie;var parts=value.split(“; vi=”);var res=null;if(parts.length==2){res=parts.pop().split(“;”).shift();}if(hasEUQueryParam()){res=”EU”;}if(res==”EU”){return true;}return false;}function popupClosed(){createCookie(“gdpr_accept”,1,365);createCookie(“gdpr_decline”,””,-1);gdpr.style.display=”none”;}function createCookie(name,value,days){var expires=”; expires=”+new Date(2147483647*1000).toUTCString();if(days){var date=new Date();date.setTime(date.getTime()+(days* 24*60*60*1000));expires=”; expires=”+date.toGMTString();}document.cookie=name+”=”+value+expires+”; path=/”;}function declinePage(){var decline=document.getElementById(‘gdpr_decline’);if(decline){decline.style.display=”block”;decline.addEventListener(“click”,function(){var cookies=document.cookie.split(“;”);for(var i=0;i =u+250&&(u=b,K())}var c=q();b=c-L;L=c;if(!(0>=b)){var d=window.scrollY||window.pageYOffset;c=d+(window.innerHeight||document.documentElement.clientHeight);if(!(d>z||c

=e))for(d=Math.floor(128*(1*d-p)/e),0>d&&(d=0),c=Math.ceil(128*(1*c-p)/e),127=d[0]||0>=d[1]?””:d.join(“x”)}function r(b){var c=W();250>c&&(c=1500);var f={gg:y,to:Math.round((+new Date-v)/1E3),ac:Math.round(q()/1E3),pg:h.pageID,ns:h.pageNamespace,ra:S,cv:X,cl:T,cm:D(),dl:location.href,b:”6″};f=R(b,f);0===h.pageNamespace&&(B=c/1500*180,A=B/3,b=Math.round(100*M/A),0>b&&(b=0),100c;c++)b+=”abcdefghijklmnopqrstuvwxyz0123456789″.charAt(Math.floor(36*Math.random()));S=b;y=(“string”===typeof document.referrer?document.referrer:””).match(/^[a-z]*://[^/]*google/i)?1:0;k=v=”number”==typeof h.timeStart&&0549

You May Also Like

답글 남기기

이메일 주소는 공개되지 않습니다. 필수 필드는 *로 표시됩니다