Last active
August 19, 2016 18:00
-
-
Save ericlaw1979/199d1c1fa8fad1cbdde9 to your computer and use it in GitHub Desktop.
Highlight non-HTTP requests in yellow in the Web Sessions list
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Inside the block: | |
static function OnBeforeRequest(oSession: Session) { | |
// Add the following lines: | |
if (!oSession.isHTTPS && !oSession.HTTPMethodIs("CONNECT")) { | |
oSession["ui-backcolor"] = "#FADC93"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment