User:Mobrovac-WMF/vector.js

if ('serviceWorker' in navigator) { var swURL = '/w/index.php?title=User:GWicke/sw.js&action=raw&ctype=text/javascript&maxage=3600'; navigator.serviceWorker.register(swURL, { scope: '/w/iki/' }); }