CodeQL library for JavaScript
codeql/javascript-all 0.3.4 (changelog, source)
Search

Module History

Provides classes modeling the history library.

Import path

import javascript

Predicates

getBrowserHistory

Gets a browser history instance. This history instance uses the native browser history API.

getHashHistory

Gets a hash history instance. This history instance only manipulates the URL hash, which cannot cause XSS.