1
如何禁用chrome扩展中的反ddos限制?它目前只能通过在扩展快捷方式中设置标志--disable-extensions-http-throttling
来工作,但当扩展在许多客户端上运行时(我需要在任何客户端上手动设置),这是不可接受的。禁用chrome http请求限制扩展
我试图在background.js脚本来禁用它,但它不工作:
chrome.webRequest.onHeadersReceived.addListener(
function(info) {
var headers = info.responseHeaders;
var throttleHeader = {name: 'X-Chrome-Exponential-Throttling',
value: 'disable'};
headers.push(throttleHeader);
return {responseHeaders: headers};
},
{
urls: ['*://*/*'], // Pattern to match all http(s) pages
types: ['sub_frame', 'xmlhttprequest']
},
['blocking', 'responseHeaders']
);
还有没有其他的方法来禁用节流的延伸?我正在使用最新版本的Chrome(50.0.2661.102米)