Author Archives for hackya

How to force cache flush

July 12, 2016 7:24 am Published by 2 Comments

I’ve updated the icon font & the icon font was not showing properly. To force flush icon fonts after making changes to your icon fonts, you can use applicationCache.swapCache(). https://html.spec.whatwg.org/multipage/browsers.html#dom-appcache-swapcache Below is the code snippet I’ve used to force a.....


jQuery 3.0 no longer supports .load

June 13, 2016 2:02 am Published by Leave your thoughts

I was contacted recently by a past customer whose site was no longer working after upgrading the jQuery to recently released jQuery 3.0. Looking at the source code, I quickly realized that.load function was no longer firing in jQuery 3.0......


Collection of Vanilla js library

June 3, 2016 10:09 pm Published by Leave your thoughts

Don’t get me wrong. I love jQuery. I won’t be able to develop website without jQuery. But jQuery can really slow down a site, especially on mobile platform. I try not to use jQuery on mobile view and I view.....


Jetpack vulnerability exposed!!

May 21, 2016 4:39 am Published by Leave your thoughts

As many of you are well aware, Jetpack is a utility plugin offered by WordPress.com. I personally don’t use it because it’s heavy and I also don’t find functionalities Jetpack offer not very compelling. Sucuri have found a stored cross-site.....


Open new window MS Edge browser bug

May 1, 2016 5:15 pm Published by Leave your thoughts

Couldn’t figure out why Edge browser would not open the new window in size I had set. https://connect.microsoft.com/IE/feedback/details/1400158/microsoft-edge-window-open-not-honoring-width-height-and-opens-in-background It’s a bug.


How to ensure best SSL setting

April 8, 2016 5:14 am Published by Leave your thoughts

By using Mozilla’s SSL Configuration Generator, you can ensure that your SSL is set up according to Mozilla’s recommendation. https://mozilla.github.io/server-side-tls/ssl-config-generator/


He lives on

April 5, 2016 12:22 am Published by Leave your thoughts

Kurt Cobain (February 20, 1967 – April 5, 1994) I was watching the video and this one reply caught my eyes. I wish he (Kurt) was still alive. And the reply was, “He comes alive every time somebody plays this.....


How to load Disqus API conditionally

March 26, 2016 3:14 pm Published by Leave your thoughts

$(document).ready(function() { $('.showDisqus').on('click', function(){ // click 시 disqus 로딩 var disqus_shortname = 'hackyacomkr'; // 본인 disqus shortname // ajax request to load the disqus javascript $.ajax({ type: "GET", url: "http://" + disqus_shortname + ".disqus.com/embed.js", dataType: "script", cache: true }); $(this).fadeOut();.....


Disqus vs. WordPress Comments

March 24, 2016 2:40 am Published by Leave your thoughts

I am a WordPress enthusiast and I am passionate about everything WordPress. Having said that, there are two functionalities I can’t even defend about WordPress. Site search and comment system. These two native WordPress functions are actually horrible. So for.....