title: Chrome extension How to remove a Listener on chrome.webRequest.onBeforeRequest
body: <p>i am trying to remove this Listener in a google chrome extension for blocking urls, but i don't know how!    </p>
  
  <pre><code>chrome.webRequest.onBeforeRequest.addListener(
                function(info) {
                  console.log("Chat intercepted: " + info.url);
                  return {cancel: true}; },
                  {urls: ["https://sampleUrl/*"]},
                  ["blocking"]
      );
  </code></pre>