3 ms·
I wish this meme would die. There's a kernel of truth, that initially Chrome didn't support blocking network requests, but that's because of the tradeoff of ext
by rictic 14y ago
I wish this meme would die. There's a kernel of truth, that initially Chrome didn't support blocking network requests, but that's because of the tradeoff of extension compatibility vs power that Chrome made. Firefox addons (as originally designed at least, I'm not up on their latest efforts) have always been incredibly powerful, but that power comes from calling internal browser APIs that might change from version to version.
Chrome extension apis have to be explicitly designed and developed, and backcompat is taken care of, so your extensions don't all break every six weeks when Chrome updates.
In any case, yes Chrome supports extensions that block or modify network requests before they occur: http://code.google.com/chrome/extensions/stable/webRequest.html http://code.google.com/chrome/extensions/stable/webRequest.h... (and it's been out of experimental for eight months judging by this bug http://code.google.com/p/chromium/issues/detail?id=60101 http://code.google.com/p/chromium/issues/detail?id=60101)
In addition, Adblock for Chrome has been able to prevent requests from loading using a base webkit api for two years now: http://www.theregister.co.uk/2010/07/20/chrome_does_resource_blocking/ http://www.theregister.co.uk/2010/07/20/chrome_does_resource...
(Disclosure, I work for Google, but not on anything related to Chrome. I'm just huge fans of the project and its ideals.)