With a chrome extension you can block a request as follows
chrome.webRequest.onBeforeRequest.addListener( function(details) { return { cancel: true };