Showing posts with label Apple. Show all posts
Showing posts with label Apple. Show all posts

Oct 21, 2019

Oct 20, 2019

Oct 19, 2019

Oct 18, 2019

Oct 16, 2019

Oct 15, 2019

Oct 14, 2019

Oct 13, 2019

Oct 12, 2019

Oct 11, 2019

Oct 10, 2019

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) })