标签: javascript service-worker
本文self.location
不了解如何从 sw.js?uid = 123&b = y&c = z)获取数据 供服务人员使用,例如:
messaging.setBackgroundMessageHandler(function(payload) { uid = uid_from_url_this_service_worker();