Deactivate Requestly Feature

Sachin Jain bio photo By Sachin Jain Comment

You can Activate/Deactivate requestly with your right click on requestly icon present on Chrome toolbar. If you deactivate Requestly, your rules won’t be affected but they won’t be executed anymore. Similarly, When you activate Requestly, your active rules will get starting to execute.

How to use

You can use Right click on requestly icon in toolbar to see the option to deactivate requestly. When requestly is deactivated, same option converts to activate requestly.

image
Snapshot of right click context menu

How to know if Requestly is Deactivated

You can instantly know the state by looking the color of icon in toolbar menu.

image
Requestly icon has greyish color in deactivated state

Is there any other way to deactivate Requestly

You can disable any extension on your Chrome browser by following steps:

  1. Go to chrome://extensions
  2. UnCheck Enable after Requestly
  3. You can enable it later when you need.

This is a bit longer process. That’s why this feature is introduced with which you can deactivate Requestly with just single click.

Implementation Details

For intercepting network requests, Requestly adds three types of listeners

  1. OnBeforeRequest: Used in Redirect and Replace Rules
  2. OnBeforeSendHeaders: Used to Modify Request Headers
  3. OnHeadersReceived: Used to modify Response Headers

So, when Requestly is deactivated all these listeners are unregistered. These listeners are registered again when user activates requestly. You can find out relevant piece of code in background.js on github

Once User deactivates Requestly, this information is stored inside chrome.sync.storage So if User has deactivated Requestly on one machine, it would automatically deactivate on other synced Chrome browsers.

comments powered by Disqus