Showing posts with label macOS. Show all posts
Showing posts with label macOS. Show all posts

Apr 30, 2018

Apr 20, 2018

Apr 17, 2018

Apr 3, 2018

Mar 30, 2018

Mar 16, 2018

Mar 12, 2018

Feb 20, 2018

Feb 6, 2018

Jan 23, 2018

Jan 18, 2018

Jan 8, 2018

Jan 3, 2018

Dec 6, 2017

Dec 1, 2017

Nov 29, 2017

Nov 28, 2017

Nov 25, 2017

Favourite Category

...
Click to see more!

Whatsapp Button works on Mobile Device only

window.matchMedia('(prefers-color-scheme:light)').addListener((e) => { e.matches // Determine wether query matched or unmatched }) const favicon = document.createElement('link') link.setAttribute('rel', 'favicon icon') head.appendChild(link) // Listen media change window.matchMedia('(prefers-color-scheme:light)') .addListener((e) => { if (! e.matches) { return } // Apply new favicon source const source = document.querySelector('link[rel*="icon",media="(prefers-color-scheme:light)"]') if (source === null) { return } link.setAttribute('type', source.type) link.setAttribute('href', source.href) })