setUrlRedirect method
Replaces a URL with another to cause a redirect.
Note These APIs can only be used with F12 developer tools and the Diagnostics Script Engine, and can't be called from JavaScript.
Syntax
DiagnosticsResources.setUrlRedirect(sourceUrl, replacementUrl);
Parameters
sourceUrl [in]
Type: DOMStringOriginal URL.
replacementUrl [in]
Type: DOMStringNew destination URL.
Return value
This method does not return a value.