Skip to content
This repository was archived by the owner on Nov 6, 2023. It is now read-only.
This repository was archived by the owner on Nov 6, 2023. It is now read-only.

Chrome: switch to declarativeWebRequest #132

Closed

Description

@semenko

[For issue #12, though that's doing pretty well now :) ]

Chome's beta channel now supports declarativeWebRequests: http://developer.chrome.com/extensions/declarativeWebRequest.html

This is a high-performance way to use blocking webRequests without triggering our slow JS code on every request. Plus, it's designed to easily support the declaration of "hundreds of thousands of URLs."

I'll integrate & test, hopefully we can merge after this makes it into stable (M33 at the earliest).

This'll probably work like:

  • Keep the current webRequest handler (to catch tabs opening on start)
  • Build & invoke the declarativeWebRequest list
  • Drop the webRequest handler (removeListener)

Activity

  1. semenko commented on May 20, 2015

    @semenko
    ContributorAuthor

    Closing since this API seems ~abandoned by Google :/

  2. pipboy96 commented on Mar 31, 2019

    @pipboy96
    Contributor

    @semenko Google resurrected this API and is now going to force everyone to use it (which would seriously cripple our extension in current form). See #17268.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions