Showing posts with label Amazon. Show all posts
Showing posts with label Amazon. Show all posts

May 5, 2019

Apr 29, 2019

Dec 14, 2018

Nov 30, 2018

Nov 9, 2018

Oct 4, 2018

Sep 20, 2018

Sep 4, 2018

Dec 6, 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) })