作者:Ran
2020-10-16 Ran
以WhatsApp网页版为例。
报错:
Refused to load the script ‘https://xxx/xxx.js’ because it violates the following Content Security Policy directive: “script-src ‘self’ data: blob: ‘unsafe-eval’ ‘unsafe-inline’ https://ajax.googleapis.com https://api.search.live.net https://maps.googleapis.com https://www.youtube.com https://s.ytimg.com”. Note that ‘script-src-elem’ was not explicitly set, so ‘script-src’ is used as a fallback.
破解:
chrome.webRequest.onHeadersReceived.addListener(
function (details) {
console.log(‘Disabled CSP’, details)
for (var i = 0; i < details.responseHeaders.length; i++) {
if (details.responseHeaders[i].name.toLowerCase() === ‘content-security-policy’) {
details.responseHeaders[i].value = ”
}
}
return {
responseHeaders: details.responseHeaders
}
},
{
urls: [
‘*://*.whatsapp.com/*’
]
},
[‘blocking’, ‘responseHeaders’]
)

系统是基于WhatsApp底层协议开发的WS云控系统,是一个集合云控群控、多方式引流获客、精细化营销的自动化营销工具。
接码注册WS、养号、接粉、打粉、群发、拉群炒群、高效筛出活跃/意向粉、自带好友计数、聊天翻译等


一键群发
WhatsApp全球批量群发
精准获客
WhatsApp筛选功能
批量管理
WhatsApp群控营销
聚合聊天
WhatsApp云控坐席