Can I distinguish given external web sites have 'service-worker' or not?
My best guess is:
- retrieve all the js files from given URL
- search for string 'sw.js'
(i am unsure how to do this as well)
Given data would be like this:
const sitesToCheck = {
'www.site1.com',
'www.site2.com',
'www.site3.com',
}