Skip to content

Instantly share code, notes, and snippets.

@ericlaw1979
Last active August 19, 2016 18:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ericlaw1979/199d1c1fa8fad1cbdde9 to your computer and use it in GitHub Desktop.
Save ericlaw1979/199d1c1fa8fad1cbdde9 to your computer and use it in GitHub Desktop.
Highlight non-HTTP requests in yellow in the Web Sessions list
// 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