Star us on GitHub
Star
Welcome to Highlight
Company
Open Source
Mission & Values
Getting Started
Overview
Fullstack Mapping
Backend / Server
Frontend / Client
Fullstack Frameworks
Session Replay
Console Messages
HTML iframe Recording
Identifying Users
Live Mode
Network DevTools
Privacy
Rage Clicks
Recording Network Requests and Responses
Session Sharing
Session Shortcut
Tracking Events
Versioning Sessions
Error Monitoring
Error Sharing
Grouping Errors
Sourcemaps
Versioning Errors
Product Features
Alerts
Analytics
Canvas
Comments
Cross Origin Iframe Recording
Digests
Environments
Frontend Observability
Keyboard Shortcuts
Performance Data
Segments
Session Search
Team Management
User Feedback
Web Vitals
WebGL
Integrations
Amplitude Integration
Clearbit Integration
ClickUp Integration
Discord Integration
Electron Support
Front Plugin
Height Integration
Intercom Integration
Linear Integration
Mixpanel Integration
React.js Integration
Segment Integration
Sentry Integration
Slack Integration
Vercel Integration
highlight.run Changelog
5.0.0
5.0.1
5.1.0
5.1.1
5.1.2
5.1.3
5.1.4
5.1.5
5.1.6
5.1.7
5.1.8
5.2.0
5.2.1
5.2.2
5.2.3
Tips
Content-Security-Policy
Local Development
Monkey Patches
Performance Impact
Proxying Highlight
Session Search Deep Linking
Troubleshooting
Upgrading Highlight
Menu

Monkey Patches

All the data that Highlight collects is provded by running the Highlight snippet on your app. When the Highlight snippet runs, it monkey patches browser APIs in order to record things like:

  • Errors

  • Console messages

  • Network requests

  • Changes on the page

Here is a list of all the browser APIs that Highlight monkey patches

  • window.sessionStorage.setItem

  • window.sessionStorage.getItem

  • window.sessionStorage.removeItem

  • window.onerror

  • window.fetch

  • window.FontFace

  • window.scroll

  • window.scrollTo

  • window.scrollBy

  • window.scrollIntoView

  • window.WebGLRenderingContext

  • window.WebGL2RenderingContext

  • window.CanvasRenderingContext2D

  • window.HTMLCanvasElement

  • window.CSSStyleSheet.prototype.insertRule

  • window.CSSStyleSheet.prototype.deleteRule

  • window.CSSGroupingRule

  • window.CSSMediaRule

  • window.CSSConditionRule

  • window.CSSSuportsRule

  • window.CSSStyleDeclaration.prototype.setProperty

  • window.CSSStyleDeclaration.prototype.removeProperty

  • history.pushState

  • history.replaceState

  • XMLHttpRequest.prototype.open

  • XMLHttpRequest.prototype.setRequestHeader

  • XMLHttpRequest.prototype.send

  • console.assert

  • console.clear

  • console.count

  • console.countReset

  • console.debug

  • console.dir

  • console.dirxml

  • console.error

  • console.group

  • console.groupCollapsed

  • console.groupEnd

  • console.info

  • console.log

  • console.table

  • console.time

  • console.timeEnd

  • console.timeLog

  • console.trace

  • console.warn