mirror of
https://github.com/webrecorder/pywb.git
synced 2025-03-15 08:04:49 +01:00
link only, location only, and link + location JS rewriters. location-only rewriter is new js_rewrite_location options: all, location, urls (for now)
15 lines
254 B
HTML
15 lines
254 B
HTML
<html>
|
|
<head>
|
|
<title>Sample Page For Rewrite Test</title>
|
|
</head>
|
|
<body>
|
|
<script>
|
|
var some_val = false;
|
|
if (some_val) {
|
|
window.location = "http:\/\/example.com/dynamic_page.html";
|
|
}
|
|
</script>
|
|
Test Content
|
|
<a href="another.html">Some Link</a>
|
|
</body>
|